Webhook endpoints
Send a test delivery
POST
/v1/webhooks/{endpoint_id}/pingQueues a signed ping delivery through the real pipeline (same worker, signature and egress IP as production events).
Required scope
write:webhooksRate limit10 requests per minute
curl -X POST 'https://api.fansquare.so/v1/webhooks/67a55c69-e54b-4b90-a9f9-e000f12eb3fd/ping' \
-H "Authorization: Bearer $API_KEY" \
-H "Fansquare-Version: Amethyste"{
"status": "queued",
"event_id": "4117a4c7-1ff6-4b33-a952-dd5ad1b2a4ad"
}Parameters
Headers
Fansquare-VersionstringrequiredAPI version to pin. Accepts the mineral name or the release date of a version.
Path
endpoint_idstringrequiredWebhook endpoint id (the
idfield of endpoint items).format uuid
Response
Accepted, application/json
status"queued"requiredThe delivery is queued.
event_idstringrequiredidof thepingevent, as it will appear in the delivered envelope.
curl -X POST 'https://api.fansquare.so/v1/webhooks/67a55c69-e54b-4b90-a9f9-e000f12eb3fd/ping' \
-H "Authorization: Bearer $API_KEY" \
-H "Fansquare-Version: Amethyste"{
"status": "queued",
"event_id": "4117a4c7-1ff6-4b33-a952-dd5ad1b2a4ad"
}