On-Call API › Message templates
List status-update templates
GET/api/v1/update-templates
The organization's default texts for status updates, one per lifecycle
status that has one: incident statuses investigating, identified,
monitoring, resolved, and maintenance statuses scheduled,
in_progress, completed.
Permission: none — any valid API key or signed-in member of the organization.
Authorization
Responses
200
The templates.
dataarray of UpdateTemplate requiredShow UpdateTemplate properties
idstringorg_idstringkindstringstatusstringbodystringupdated_atstring (date-time)
successboolean required
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
429
Too many requests (RATE_LIMITED). Wait Retry-After seconds.
Retry-AfterintegerSeconds to wait.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
Example request
curl -X GET 'https://evohub.io/api/v1/update-templates' \
-H 'Authorization: Bearer <TOKEN>'