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 users in your developer workspace (which probably won't return any users at this stage):

# 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 users listed.

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

What's Next

Take a look at our next guide whereby you'll build an app in the Messenger within 30 minutes, or explore other API calls you can make with our REST API Reference.

Build your first Messenger app
REST API Reference

Make an API call


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.