Skip to main content
POST
/
api
/
v1
/
automation
/
webhook
Create webhook.
curl --request POST \
  --url https://api.revong.com/api/v1/automation/webhook \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customId": "<string>",
  "saveDetails": true,
  "maxAttempts": 123,
  "request": {
    "url": "<string>",
    "method": "POST",
    "body": {},
    "headers": {}
  },
  "maskDetails": [
    "<string>"
  ]
}'

Authorizations

Authorization
string
header
required

Bearer token with Platform JWT token or API Key.

Body

application/json
customId
string

Optional Id of webhook.

saveDetails
boolean

Save entire request.

maxAttempts
number

Max attempts.

request
object

Provide data

maskDetails
string[]

Mask request details.

Response

Job scheduled.