Explore documentation

Get a single on-call calendar event

Get a single event from an on-call calendar.

GET https://uptime.betterstack.com/api/v2/on-calls/{calendar_id}/events/{event_id}

URL parameters

calendar_id
required string
event_id
required string

Headers

Authorization
required string
200

Response body

{
  "id": 12345,
  "users": ["tomas@betterstack.com"],
  "starts_at": "2024-09-04T22:00:00Z",
  "ends_at": "2024-09-05T22:00:00Z",
}

Example cURL

Example
curl --request GET \
  --url "https://uptime.betterstack.com/api/v2/on-calls/default/events/12345" \
  --header "Authorization: Bearer $TOKEN"