Intercom Postman Collection

Setup

1. Importing

  • Use the intercom-postman-collection.json listed in the repository

Postman

  • Import > Import File

import - Postman

Insomnia

  • Main Menu > Import/Export > Import Data

import - Insomnia

2. Getting Access Token

Intercom access token

  • Note: some API endpoints require an Extended Access Token
    • 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

configuration - Postman

Insomnia

  • Environments dropdown > Manage Environments > +

configuration - Insomnia