Technology Partners Webhooks
PUT Webhook Topic Subscription
Changed onUse 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}
Request
- Base URLhttps://api.cc.email/v3
- URLhttps://api.cc.email/v3/partner/webhooks/subscriptions/{topic_id}
- AuthOAuth 2 and API key in header x-api-keyImplicit: https://v3api-partner.auth.us-east-1.amazoncognito.com/oauth2/token
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"
}Changes
- info
the endpoint scheme security
ctctPartnerAuthorizer AND api_keywas added to the API - info
the endpoint scheme security
api_keywas removed from the API - info
the endpoint scheme security
ctctPartnerAuthorizerwas removed from the API
- info
- info
api tag
Technology Partners Webhooksadded - info
api tag
Technology Partnersremoved
- info