Skip to content

Documentation

Send a test event

POST/v1/webhooks/{webhook}/testWebhooks

Sends a signed ping event now, paused or not, and answers with what the endpoint said.

Parameters

ParameterTypeRequiredDescription
webhookstring, in the pathrequiredThe endpoint's id.

Example request

curl -s -X POST "https://snip.link/v1/webhooks/webhook/test" \
  -H "Authorization: Bearer $SNIP_KEY"

Response fields

FieldTypeDescription
resultobject
result.okboolean
result.statusinteger, null
result.msinteger
result.errorstring, null

Errors

StatusMeaning
401The API key is missing, malformed or revoked.
404No webhook endpoint by that id in this account.
429Either the key exceeded its requests-per-second limit (honor Retry-After), or a daily or plan quota is used up (details.reason).

Back to getting started