# Get a single on-call schedule event

Get a single event from an on-call schedule.

[endpoint]
base_url = "https://uptime.betterstack.com"
path = "/api/v2/on-calls/{schedule_id}/events/{event_id}"
method = "GET"

[[path_param]]
name = "schedule_id"
description = "The ID of the on-call schedule you want to get events for. Use `default` to refer to the default on-call schedule for the team."
required = true
type = "string"

[[path_param]]
name = "event_id"
description = "The ID of the event to return."
required = true
type = "string"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 200
description = '''Returns a single event.'''
body = '''{
  "id": 12345,
  "users": ["tomas@betterstack.com"],
  "starts_at": "2024-09-04T22:00:00Z",
  "ends_at": "2024-09-05T22:00:00Z",
  "override": false
}'''

[/responses]

#### Example cURL

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