https://github.com/intercom/intercom-api-postman-collection
https://github.com/intercom/intercom-api-postman-collection
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/intercom/intercom-api-postman-collection
- Owner: intercom
- Created: 2021-01-15T17:33:05.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-26T15:16:40.000Z (over 4 years ago)
- Last Synced: 2024-04-15T00:05:15.599Z (almost 2 years ago)
- Size: 401 KB
- Stars: 10
- Watchers: 7
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Intercom Postman Collection
- A Postman Collection file for the [Intercom API](http://developers.intercom.com/reference)
- Will allow you to make requests to the Intercom API
- Based on curl samples on http://developers.intercom.com/reference
- Compatible with [Postman](https://www.getpostman.com/) and [Insomnia](https://insomnia.rest/)
# Setup
## 1. Importing
- Use the `intercom-postman-collection.json` listed in the repository
### Postman
- Import > Import File

### Insomnia
- Main Menu > Import/Export > Import Data

## 2. Getting Access Token
- Get your Intercom Access Token from the [Developer Hub](https://app.intercom.io/developers/_)

- Note: some API endpoints require an [Extended Access Token](https://developers.intercom.com/docs/personal-access-tokens#section-extended-scopes)
- If you try to access these endpoints with a Standard Token you will get a `Not authorized to access resource` error (full error details shown below)
- Ensure to apply for an extended access token
```
"errors": [
{
"code": "token_unauthorized",
"message": "Not authorized to access resource"
}
]
```
## 3. Configure your environment variables
- Create an `AccessToken` variable with the value of your access token obtained in the previous step
### Postman
- Environment Options > Manage Environments > Add

### Insomnia
- Environments dropdown > Manage Environments > +
