Skip to Content
Docs

POST /api/approvals/{token}

POST
/api/approvals/{token}

Decide an approval link: {decision, comment?}, where decision is one of its options. The first decision wins and resumes the conversation that asked; later ones get 409. 404 for an unknown, expired or revoked link, 400 for an option it doesn't offer, 429 when rate limited.

Public: the token in the path authorizes the request, so it needs no sign-in or other credential.

Path Parameters

token*string

The link's token.

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/approvals/string'
Example Response200
Empty