Approval

Approve a request

Approves a request using its ID.

:::note This endpoint is executed according to the URL you received in the approval notification. :::

post/approval/{id}/approve

Path parameters

idinteger required

The ID of the approval.

Query parameters

tokenstring required

The authentication token provided in the approval notification.

Request body

messagestring

An optional message explaining the approver's decision.

detailsobject

Additional structured metadata related to the approver's decision.

Example request

{
  "reviewer": {
    "name": "Alex Manager",
    "email": "alex.mgr@crypto-inc.com",
    "nullplatform_user_id": null
  },
  "message": "Approved due to emergency deployment requirements.",
  "details": {}
}

Response

The operation was successful.

successboolean

Indicates whether the operation was successful.

Example response

{
  "success": true
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.