Retrieve a webhook subscription for a campaign.
GET /v1/campaigns/{campaignId}/subscriptions/{subscriptionId}
Authorization: Bearer <access_token> or Authorization: Basic <encodedString> where <encodedString> is your <api-key>:<api-secret> string encoded using Base64 encoding
campaignId REQUIRED
string (UUID)
Unique ID assigned to the campaign in RocketCOMS.
subscriptionId REQUIRED
string (UUID)
Unique ID assigned to the webhook subscription in RocketCOMS.
None
Returns the Campaign Subscription object. This object contains the subscription details including the event types for which the subscription receives notifications.
SAMPLE RESPONSE
{
"status": "string",
"result": {
"id": "991d95fb-1723-4b00-b5ab-ab05eccc0fcd",
"campaignId": "d341ae75-d236-4240-b653-ce10f54b1e55",
"url": "https://mycompany.com/webhook/listener",
"eventTypes": [
"message.status",
"message.replies",
"batch.status"
]
},
"message": "string"
}
RocketCOMs is a powerful SMS marketing platform that empowers businesses with seamless support for multiple brands, intuitive campaign management, real-time analytics, and advanced formatting options for successful text message campaigns.