Make an API call

You can use your Access Token to make your first call to our REST API. Here's a sample code snippet that you can run in your terminal to fetch a list of all the admins in your workspace:

# Copy the cURL request below into your Terminal.
# Replace **<INSERT_ACCESS_TOKEN_HERE>** with your Access Token.

$ curl https://api.intercom.io/admins \
-H 'Authorization:Bearer <INSERT_ACCESS_TOKEN_HERE>' \
-H 'Accept: application/json'

Alternatively, you can make the same API call directly from our API reference documentation.

We also have Postman collections that are auto generated from our OpenAPI specification for the following Intercom API versions: 2.7, 2.8 and Unstable.