Skip to content

List the caller's webhook subscriptions

Request

🔐 Required role: EVNT_SUB

📖 Data dictionary: Event subscription

List the caller's webhook subscriptions

Returns the caller's subscriptions, active and deactivated, one page at a time. The signing secret is never included.

Query Parameters (all optional):

  • entityType — only subscriptions for this entity (a catalog entity value, e.g. RequestItem)
  • operation — only subscriptions for this operation (a catalog operation value, e.g. SENT)
  • page, limit — zero-based page number and page size; see Webhook subscriptions and delivery history

Response: data is a page whose content items have the same fields as the subscription returned by PATCH /api/v1/event-subscriptions/{id}.

Business Applications:

  • Find subscription ids to update or deactivate
  • Audit webhook integrations
Security
(BearerAuth and CfAccessClientId and CfAccessClientSecret) or BearerAuth
Query
entityTypestring
operationstring
pageinteger, (int32)
Default:0
limitinteger, (int32)
Default:50
curl -i -X GET \
  'https://api.sandbox.aiwyn.app/api/v1/event-subscriptions?entityType=string&operation=string&page=0&limit=50' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'CF-Access-Client-Id: YOUR_API_KEY_HERE' \
  -H 'CF-Access-Client-Secret: YOUR_API_KEY_HERE'

Responses

Subscriptions retrieved successfully

Bodyapplication/json
dataobject
errorobject or null
metaobject
Response
{ "data": { "content": [ … ], "totalElements": 0, "totalPages": 0, "currentPage": 0, "hasNext": true, "hasPrevious": true }, "error": {}, "meta": { "success": true, "message": "string", "timestamp": "2019-08-24T14:15:22Z", "version": "string" } }