post/orgs/{orgId}/messages/{messageId}/approve

Request

  • Base URL: https://api.useanima.sh/v1
  • URL: https://api.useanima.sh/v1/orgs/{orgId}/messages/{messageId}/approve
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

orgIdstring required

Organization identifier (from the URL path)

messageIdstring required

Message identifier requiring approval

Request body

action'approve' | 'reject' required

Approval decision for the message

reasonstring

Optional justification for the approval decision

Response

OK

messageIdstring required

Identifier of the processed message

status'SENT' | 'REJECTED' | 'FAILED' required

Resulting status after the approval action

messagestring required

Human-readable result description

Changes

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