Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer

Path Parameters

orgId
string
required

Organization identifier (from the URL path)

messageId
string
required

Message identifier requiring approval

Body

application/json

Input for approving or rejecting a pending message

action
enum<string>
required

Approval decision for the message

Available options:
approve,
reject
reason
string

Optional justification for the approval decision

Response

200 - application/json

OK

Result of a message approval or rejection action

messageId
string
required

Identifier of the processed message

status
enum<string>
required

Resulting status after the approval action

Available options:
SENT,
REJECTED,
FAILED
message
string
required

Human-readable result description