Skip to main content
POST
/
api
/
webhook
Set Webhook URL
curl --request POST \
  --url https://api.mayerex.com/api/webhook \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "createURL": "<string>",
  "updateURL": "<string>"
}'
{
  "createURL": "<string>",
  "updateURL": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

createURL
string | null

The URL of the create webhook, set this to null to disable the webhook

updateURL
string | null

The URL of the update webhook, set this to null to disable the webhook

Response

OK

createURL
string | null

The URL of the create webhook, set this to null to disable the webhook

updateURL
string | null

The URL of the update webhook, set this to null to disable the webhook

I