Skip to content

Get webhook configuration

Request

Get the current webhook configuration for this sponsor.

Note: The webhook secret is NOT included in this response for security reasons.

Security
APIKeyHeader
curl -i -X GET \
  https://pdp.seqino.dev/api/webhooks \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successful Response

Bodyapplication/json
webhook_idstring(Webhook Id)required

Unique webhook identifier

urlstring(Url)required

Webhook endpoint URL

eventsArray of strings(Events)required

Subscribed event types

is_activeboolean(Is Active)required

Whether the webhook is active

created_atstring, (date-time)(Created At)required

Creation timestamp

last_triggered_atstring or null(Last Triggered At)
Any of:

Last time the webhook was triggered

string (date-time)
Response
{ "webhook_id": "string", "url": "string", "events": [ "string" ], "is_active": true, "created_at": "2019-08-24T14:15:22Z", "last_triggered_at": "2019-08-24T14:15:22Z" }