Menu
Attach Subscription Type To Contact
Add subscription to a contact
POST
/contacts/{contact_id}/subscriptionsUse it in a workflow
- Add a step and choose the Intercom connector.
- Pick the Attach Subscription Type To Contact action (under Subscription Types).
- Fill in the fields below, then reference the result from later steps as
{{attachSubscriptionTypeToContact.response.data}}.
Request
Path parameters
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"id": "37846",
"consent_type": "opt_in"
}
Response
Returns 200 with an object. Read it in later steps with {{attachSubscriptionTypeToContact.response.data.<field>}}.
{
"type": "subscription",
"id": "123456",
"state": "live",
"default_translation": {
"name": "Announcements",
"description": "Offers, product and feature announcements",
"locale": "en"
},
"translations": [
{
"name": "Announcements",
"description": "Offers, product and feature announcements",
"locale": "en"
}
],
"consent_type": "opt_in",
"content_types": [
"email"
]
}
Need more? See the Intercom guide for connection setup and behaviour shared by every action.
Was this page helpful?