PUT
/
v1
/
api
/
config
/
webhook
Update the webhook URL for receiving message events
curl --request PUT \
  --url https://backend.blooio.com/v1/api/config/webhook \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "webhook_url": "https://example.com/mywebhook"
}'
{
  "status": "success",
  "message": "Webhook URL updated successfully"
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header as Bearer YOUR_API_KEY.

Body

application/json
webhook_url
string<uri>
required
Example:

"https://example.com/mywebhook"

Response

Webhook URL updated.

status
string
Example:

"success"

message
string
Example:

"Webhook URL updated successfully"