Update a webhook subscription for a campaign.
PATCH /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.
eventTypes
array
List of events for which the subscription receives notifications. Possible values are:
url
string
Webhook subscription URL endpoint.
If successful, returns 200 Subscription created successfully.
SAMPLE REQUEST
{
"eventTypes": [
"message.status",
"message.replies",
"batch.status"
],
"url": "https://mycompany.com/webhook/listener"
}
SAMPLE RESPONSE
{
200 Subscription created successfully
}
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.