Respond to Approval Request

POST https://api.sfox.com/v1/approvals/:request_id

Approve or deny a request.

Path Parameters

ParameterTypeDescription

request_id required

int

ID of the approval request generated by sFOX you wish to respond to

Body Parameters

ParameterTypeDescription

approve required

boolean

Approves the request if true, denies the request if false

Example Requests

curl -X POST \
  -H 'Content-type: application/json' \
  -H 'Authorization: Bearer <API_TOKEN>' \
  --data '{ "approve": true}'  \
  'https://api.sfox.com/v1/approvals/1'

Last updated