Skip to main content
POST
/
webhook
/
subscribe
Subscribe to events
curl --request POST \
  --url https://api.orafi.app/v1/webhook/subscribe \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "events": [
    "<string>"
  ]
}
'
{
  "success": true,
  "message": "<string>"
}

Authorizations

x-api-key
string
header
required

Body

application/json
events
string[]

Response

200 - application/json

Subscribed

success
boolean
message
string