Technology Partners Webhooks

GET Webhook Topic Subscription

Changed on

Use this GET method to return subscription information for a certain topic_id. Possible topic_id values include:

  • 1 - Billing tier upgrade.
  • 2 - Billing tier downgrade.
  • 3 - Account cancelled.
  • 4 - Account disabled.
get/partner/webhooks/subscriptions/{topic_id}

Request

  • Base URL
    https://api.cc.email/v3
  • URL
    https://api.cc.email/v3/partner/webhooks/subscriptions/{topic_id}
  • Auth
    OAuth 2 and API key in header x-api-key
    Implicit: https://v3api-partner.auth.us-east-1.amazoncognito.com/oauth2/token

Path parameters

topic_idstring required

Identifies a webhook topic.

Response

Request successful

topic_idinteger

Identifies the topic using an integer to indicate the type of topic.

hook_uristring

Your webhook callback URI. Constant Contact automatically sends POST requests to this URI to notify you about the topic.

topic_namestring

The name of the topic.

topic_descriptionstring

A description of what the topic is and when Constant Contact notifies you concerning it.

Example response

{
  "topic_id": 2,
  "hook_uri": "https://www.examplename.com/webhooks/billingTier",
  "topic_name": "Billing Tier Downgrade",
  "topic_description": "Executes when an account's billing tier is downgraded."
}

Changes

    • info

      the endpoint scheme security ctctPartnerAuthorizer AND api_key was added to the API

    • info

      the endpoint scheme security api_key was removed from the API

    • info

      the endpoint scheme security ctctPartnerAuthorizer was removed from the API

    • info

      api tag Technology Partners Webhooks added

    • info

      api tag Technology Partners removed