Make an API call

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

# Copy the cURL request below into your Terminal.
# Replace **<INSERT_ACCESS_TOKEN_HERE>** with your Access Token from Step 3.
# Run the query to see a response with all your admins listed.

$ curl \
-H 'Authorization:Bearer <INSERT_ACCESS_TOKEN_HERE>' \
-H 'Accept: application/json'

Find details on how to find your Access Token here.

We also have a Postman collection for sending requests to Intercom API.