cURL
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>" }
This endpoint updates the webhook URL for events.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The URL of the create webhook, set this to null to disable the webhook
The URL of the update webhook, set this to null to disable the webhook
OK