/
Send a test webhook
Sends a test webhook.
Security
SecretApiKey or JWT
Webhook to create or update.
Event types that trigger the webhook. If empty, all event types trigger the webhook.
Default:[]
Webhook request body. If this value is null, the default payload for the specified event is used. Template placeholders are permitted.
Invalid placeholders render as empty strings. For example, Hello {{invalid.placeholder}}! is rendered as Hello !.
For more information, see Placeholders.
Filter that determines whether to send the webhook. This field requires a special format. Use , for multiple allowed values. Use ; for multiple fields.
For more information, see Using filters.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/previews/webhooks
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/previews/webhooks
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/previews/webhooks
- SecretApiKey
- JWT
curl -i -X POST \
https://www.rebilly.com/_mock/catalog/all/previews/webhooks \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"eventsFilter": [],
"status": "active",
"method": "GET",
"url": "http://example.com",
"headers": [
{
"name": "string",
"status": "active",
"value": "value1"
}
],
"credentialHash": "string",
"body": "string",
"filter": "string"
}'Test webhook sent.
Headers
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
Example:3600
Response
No content