Technology Partners Webhooks
PUT Webhook Topic Subscription
Use this PUT method to subscribe your application to a topic_id or to update the callback URI for an existing subscription. Possible topic_id values include:
- 1 - Billing tier upgrade.
- 2 - Billing tier downgrade.
- 3 - Account cancelled.
- 4 - Account disabled.
After you subscribe your application, Constant Contact will automatically start sending POST notifications for your chosen topic to your application's callback URI. This is an example of the POST notification request body:
{"url":"https://api.cc.email/v3/partner/accounts/a07e1my9tbw0/plan",
"api_key":"90ed8738-5190-44a3-bc12-c172930db12c",
"event_type":"tier.increase"}
</br>
If your application does not return a success response after receiving a notification, Constant Contact will retry sending the POST notification at 1 minute intervals for up to an hour.put/partner/webhooks/subscriptions/{topic_id}
Path parameters
topic_idstring required
Identifies a webhook topic.
Request body
Example request
{
"hook_uri": "https://www.examplename.com/webhooks/billingTier"
}Response
Request successful.
Example response
{
"topic_id": 1,
"hook_uri": "https://www.examplename.com/webhooks/billingTier"
}