cURL
curl --request POST \ --url https://api.fyatu.com/api/v2/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Business-ID: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "webhookUrl": "https://api.yourcompany.com/webhooks/fyatu" } '
{ "status": "success", "statusCode": 200, "errors": false, "message": "<string>", "data": { "webhookUrl": "<string>", "encryptionKey": "<string>", "status": "<string>" } }
Your unique business identifier. Find this in your Business Settings.
Your API key as a Bearer token. Example: Bearer sk_live_xxxxxxxxxxxxx
Bearer sk_live_xxxxxxxxxxxxx
Your webhook endpoint URL (must return HTTP 200)
Webhook URL updated
"success"
200
false
Show child attributes