Skip to main content
Send a test webhook notification for an alert
curl --request POST \
  --url https://api.campflare.com/v2/alert/:id/test
{
  "webhook_status": "delivered",
  "webhook_http_response_code": "<string>"
}
This endpoint is for testing only.
Sends a simulated webhook notification for an existing alert, using real campground and campsite data when available. Useful for verifying your webhook setup before waiting for a real match. By default the notification is not saved. Pass save=true to persist it to the alert’s notification history.
POST /alert/:id/test
POST /alert/:id/test?save=true

Query Parameters

save
boolean
default:false

Whether to save the test notification to the alert's notification history. Defaults to false.

Response

Test result

webhook_status
enum<string>
required

The result of the webhook delivery attempt

Available options:
delivered,
error,
no-webhook,
missing-jwt-secret-key
webhook_http_response_code
string

The HTTP status code returned by your webhook endpoint