On-Call
Get team on-call users
Get a team's on-call users at a given time
get/api/v2/on-call/teams/{team_id}/on-call
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/on-call/teams/{team_id}/on-call
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token
Path parameters
team_idstring required
Example:27590dae-47be-4a7d-9abf-8f4e45124020
The team ID
Query parameters
includestring
Comma-separated list of included relationships to be returned. Allowed values: responders, escalations, escalations.responders.
Response
OK
Example response
{
"data": {
"id": "111ee23r-aaaaa-aaaa-aaww-1234wertsd23",
"relationships": {
"escalations": {
"data": [
{
"id": "111ee23r-aaaaa-aaaa-aaww-1234wertsd23",
"type": "escalation_policy_steps"
}
]
},
"responders": {
"data": [
{
"id": "111ee23r-aaaaa-aaaa-aaww-1234wertsd23",
"type": "users"
}
]
}
},
"type": "team_oncall_responders"
},
"included": [
{
"attributes": {
"email": "test@test.com",
"name": "Test User",
"status": "active"
},
"id": "111ee23r-aaaaa-aaaa-aaww-1234wertsd23",
"type": "users"
},
{
"id": "111ee23r-aaaaa-aaaa-aaww-1234wertsd23",
"relationships": {
"responders": {
"data": [
{
"id": "111ee23r-aaaaa-aaaa-aaww-1234wertsd23",
"type": "users"
}
]
}
},
"type": "escalation_policy_steps"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.