Synq Docs
Management APIWebhooks

Send a test event

A `webhook.test` event, sent now, once, signed like any other; the answer says how the receiver took it. Needs `org.webhooks.edit`.

POST/v1/orgs/{org}/webhooks/{webhook}/test

A webhook.test event, sent now, once, signed like any other; the answer says how the receiver took it. Needs org.webhooks.edit.

Authorization

bearer
AuthorizationBearer <token>

An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.

In: header

Path Parameters

org*string
webhook*string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/orgs/string/webhooks/string/test"
{  "id": "string",  "event_type": "string",  "status": "pending",  "attempts": 0,  "last_status_code": 0,  "last_error": "string",  "delivered_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z"}