Skip to main content
POST
Submit a contact approval/rejection from the webchat widget

Body

application/json
approvalRequestId
string
required

Approval row _id returned in the pending-approvals list.

webchatId
string
required

Webchat session id used to authenticate the responder (when responding via the webchat surface).

response
enum<string>
required

approved or rejected.

Available options:
approved,
rejected

Response

Approval response processed

success
enum<boolean>
required
Available options:
true
status
enum<string>
required
Available options:
approved,
rejected,
failed
result
any
failureReason
string