On Call Overrides

Get all overrides

get
Authorizations
x-api-keystringRequired

Your API key. You can find this in your Spike dashboard under Settings > API.

Path parameters
oncall_idstringRequired

oncall_id parameter

Query parameters
fromstringRequiredExample: <iso timestamp>
tostringRequiredExample: <iso timestamp>
Responses
chevron-right
200

Successful response

application/json
objectOptional
get
/oncalls/{oncall_id}/overrides

Delete an override

delete
Authorizations
x-api-keystringRequired

Your API key. You can find this in your Spike dashboard under Settings > API.

Path parameters
oncall_idstringRequired

oncall_id parameter

override_idstringRequired

override_id parameter

Responses
chevron-right
200

Successful response

application/json
objectOptional
delete
/on-calls/{oncall_id}/overrides/{override_id}/remove

Add an override

post

Add a temporary override to an on-call schedule. Overrides allow you to temporarily assign a different user to cover an on-call shift.

All timestamps should be in ISO 8601 format (e.g., 2025-01-24T00:00:00.000Z).

Authorizations
x-api-keystringRequired

Your API key. You can find this in your Spike dashboard under Settings > API.

Path parameters
oncall_idstringRequired

oncall_id parameter

Body
userstringOptional
startstringOptional
endstringOptional
descstringOptional
timezonestringOptional
Responses
chevron-right
200

Successful response

application/json
objectOptional
post
/on-calls/{oncall_id}/overrides/add

Last updated