curl --location -g --request GET 'https://Example-Server.com/be/v1/subscriptions?offset=0&limit=1&order[]=[-name]' \
--header 'x-rockit-beauth-token: eyjhvcIhvds;huVODV...' \
--header 'x-rockit-orgname: ExampleOrg' \
--header 'x-rockit-username: adminPrincipal' \
--header 'x-rockit-api-key: {{_adminPrincipal_apiKey}}'
{
"status": "success",
"subscriptions": [
{
"event": "end",
"orgName": "someOrg",
"type": "slack",
"sender": "deploy",
"name": "deploySlack",
"slack": {
"channelId": "#rockitplay-events"
}
},
{
"event": "error",
"orgName": "someOrg",
"type": "webhook",
"sender": "dltar",
"name": "dltarWebhook",
"webhook": {
"url": "http://example.com/webhook"
}
},
{
"orgName": "someOrg",
"event": "exception",
"sender": "dltar",
"type": "webhook",
"name": "dltarWebhook",
"webhook": {
"url": "http://example.com/webhook"
}
},
{
"orgName": "someOrg",
"sender": "deploy",
"event": "end",
"type": "webhook",
"name": "deployWebhook",
"webhook": {
"url": "http://example.com/webhook"
}
},
{
"orgName": "densowOrg",
"sender": "deploy",
"event": "error",
"type": "webhook",
"name": "deployWebhook",
"webhook": {
"url": "http://example.com/webhook"
}
}
],
"totalCount": 5
}