Skip to content

Events

The Events API provides direct access to calendar events without calendar context.

Get Event

Retrieve a specific event by ID.

Endpoint

http
GET /events/{event_id}

URL Parameters

ParameterTypeRequiredDescription
event_idintegerYesThe event ID

Query Parameters

ParameterTypeRequiredDescription
event_hashstringNoEvent hash as fallback identifier. If event_id does not match, the API attempts to find the event by this hash

Response

Returns complete event details.

json
{
    "calendar_event": {
        "id": 2,
        "hash": "bd009d55f750026d3879cde67a7feebb",
        "user_id": "1",
        "calendar_id": "1",
        "duration": "30",
        "title": "30 Minute Consultation",
        "slug": "30min",
        "description": "",
        "settings": {
            "schedule_type": "weekly_schedules",
            "weekly_schedules": {
                "mon": {
                    "enabled": true,
                    "slots": [
                        {
                            "start": "09:00",
                            "end": "17:00"
                        }
                    ]
                }
            }
        },
        "availability_type": "existing_schedule",
        "availability_id": "1",
        "status": "active",
        "type": "paid",
        "color_schema": "#0099ff",
        "location_settings": [
            {
                "type": "phone_guest",
                "title": "Attendee Phone Number"
            }
        ],
        "event_type": "single",
        "short_description": "",
        "author_profile": {
            "ID": 1,
            "name": "Jane Smith",
            "avatar": "https://example.com/avatar.jpg"
        },
        "calendar": {
            "id": 1,
            "title": "Jane Smith",
            "slug": "jane-smith",
            "type": "simple",
            "author_timezone": "UTC",
            "status": "active",
            "author_profile": {
                "ID": 1,
                "name": "Jane Smith",
                "author_slug": "jane-smith",
                "first_name": "Jane",
                "last_name": "Smith",
                "avatar": "https://example.com/avatar.jpg",
                "phone": "+1234567890",
                "featured_image": "https://example.com/banner.jpg"
            }
        }
    }
}