Intercom API (2.9)
The intercom API reference.
Download OpenAPI description
Overview
URL
License
Languages
Servers
The production API server
https://api.intercom.io/
The european API server
https://api.eu.intercom.io/
The australian API server
https://api.au.intercom.io/
- The production API server
https://api.intercom.io/contacts/{contact_id}/subscriptions/{id}
- The european API server
https://api.eu.intercom.io/contacts/{contact_id}/subscriptions/{id}
- The australian API server
https://api.au.intercom.io/contacts/{contact_id}/subscriptions/{id}
- curl
- Node.js
- Ruby
- PHP
- Python
- Java
- Go
- C#
- R
curl -i -X DELETE \
https://api.intercom.io/contacts/63a07ddf05a32042dffac965/subscriptions/37846 \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.9'
Response
application/json
{ "type": "subscription", "id": "124", "state": "live", "consent_type": "opt_in", "default_translation": { "name": "Newsletters", "description": "Lorem ipsum dolor sit amet", "locale": "en" }, "translations": [ { … } ], "content_types": [ "sms_message" ] }
- The production API server
https://api.intercom.io/contacts/{contact_id}/tags
- The european API server
https://api.eu.intercom.io/contacts/{contact_id}/tags
- The australian API server
https://api.au.intercom.io/contacts/{contact_id}/tags
- curl
- Node.js
- Ruby
- PHP
- Python
- Java
- Go
- C#
- R
curl -i -X POST \
https://api.intercom.io/contacts/63a07ddf05a32042dffac965/tags \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: 2.9' \
-d '{
"id": 84
}'
Response
application/json
{ "type": "tag", "id": "84", "name": "Manual tag" }