Run a Teams action link
Takes the link's action on the alert as the caller and notes it on the
alert's timeline. Each link works once. result is done, or already when
the alert was already in that state. No request body.
Permission (API-key scope): oncall:alert:respond.
Authorization
bearerAuth(oncall:alert:respond)apiKeyHeader(oncall:alert:respond)
Parameters
Path parameters
tokenstring requiredThe signed token from the action link on a Microsoft Teams card.
Responses
200
The outcome.
dataChatActionResult requiredShow ChatActionResult properties
actionstringresultstringalertActionAlertShow ActionAlert properties
idstringtitlestringstatusAlertStatusseverityAlertSeverity
successboolean required
400
The link is invalid or has expired (INVALID_ACTION_LINK).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThe request'sX-Request-ID. Quote it to support.
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.request_idstringThe request'sX-Request-ID. Quote it to support.
403
The caller lacks the permission (FORBIDDEN), the link belongs to another organization (WRONG_ORG), or the alert belongs to a team the caller is not in and is not assigned to them (NOT_IN_TEAM).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThe request'sX-Request-ID. Quote it to support.
404
No alert with this id in your organization (NOT_FOUND).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThe request'sX-Request-ID. Quote it to support.
409
The link was already used (ACTION_LINK_USED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThe request'sX-Request-ID. Quote it to support.
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.request_idstringThe request'sX-Request-ID. Quote it to support.
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThe request'sX-Request-ID. Quote it to support.
Example request
curl -X POST 'https://evohub.io/api/v1/chat/actions/string' \
-H 'Authorization: Bearer <TOKEN>'
