Send a test event

Overview

Send a test event to a subscription so you can check your endpoint receives it and your signature check passes.

Use this right after creating a subscription, and after any change to your receiving code.

You'll need the subscription id. The subscription must be active.

A webhook.test event is delivered through the same path as real ones, signed with the subscription's secret. Check See recent deliveries for the result, within about a minute.

Prerequisites

Base URL

EnvironmentURL
Productionhttps://production-api.shoutaboutus.com
Developmenthttps://development-api.shoutaboutus.com

Endpoint

POST /api/v1/partner/webhooks/{webhookSubscriptionId}/test

Authentication

Partner token

  • Only partner users can call it; other tokens get 403.
  • Only your own partner's subscriptions: any other id, including another partner's, gets 404.

Rate limit

60 requests per minute, counted per user (the token’s user). See Rate limits.

Request parameters

ParameterInTypeRequiredDescription
webhookSubscriptionIdpathintegerYesThe subscription's id, from List your webhooks.

Request body

None.

Request payload

None. Send no body.

Response body

The payload is inside data.

FieldTypeDescription
dataobjectThe queued test.
data.subscription_idintegerThe subscription's id.
data.statusstringqueued.
data.notestringWhere to check the result.

Response payload

{
  "data": {
    "data": {
      "subscription_id": 3,
      "status": "queued",
      "note": "Test event queued — check /partner/webhooks/3/deliveries within ~60s."
    }
  }
}

Examples

Success payload

See Response payload.

Error payload

400 Subscription is inactive

{
  "message": "Subscription is inactive — re-enable before testing.",
  "status": "error",
  "errors": {
    "subscription_id": 3
  }
}

403 Not a Partner token

{
  "message": "Only partner-admin users can manage webhook subscriptions.",
  "status": "error",
  "errors": []
}

404 Subscription not found

{
  "message": "Subscription not found.",
  "status": "error",
  "errors": []
}

429 Too many requests

{
  "message": "Too Many Attempts."
}
StatusMeaning
200The test event was queued.
400The subscription is inactive; turn it on with Update a webhook first.
401The token is missing, expired or invalid.
403The token isn't a Partner token.
404No subscription with this id belongs to your partner.
429More than 60 requests in a minute from this user.
500Unexpected server error.

Example request

curl --request POST \
  --url "https://production-api.shoutaboutus.com/api/v1/partner/webhooks/3/test" \
  --header 'Authorization: Bearer <bearer-token>' \
  --header 'Accept: application/json'

Did this page help you?