List Subscriptions

GET https://{{axpAPIDomain}}/api/digital/webhook/v1/accounts/:accountId/subscriptions?channelProviderId={{digitalChannelProviderId}}

Lists the existing webhook subscriptions.

Request Params

KeyDatatypeRequiredDescription
channelProviderIdstringThe unique id that represents the channel provider

HEADERS

KeyDatatypeRequiredDescription
appkeystring
Acceptstring

RESPONSES

status: OK

[{"subscriptionId":"2581e39b-fe84-4e38-87f4-63a1d037f39a","channelProviderId":"ChatProvider01","callbackUrl":"https://www.example.com/send/callback/here","eventTypes":["MESSAGES"]},{"subscriptionId":"e9871f9a-1111-41e4-ac9b-a817016577a0","channelProviderId":"ChatProvider01","callbackUrl":"https://www.example.com/send/other/callback/here","eventTypes":["ALL"]}]