how to use api "List all conversations" | Community
Skip to main content
Answered

how to use api "List all conversations"

  • July 8, 2025
  • 2 replies
  • 75 views

i catn’t use the demo。 https://developers.intercom.com/docs/references/rest-api/api.intercom.io/conversations/listconversations

 

MyTEST:

curl -i -X GET \

  'https://api.intercom.io/conversations?per_page=20&starting_after=string' \

  -H 'Authorization: <my token>' \ 

  -H 'Intercom-Version: 2.13'

 

curl -i -X GET \

  'https://api.intercom.io/conversations?per_page=20&starting_after=string' \

  -H 'Authorization: <name> <my token>' \ 

  -H 'Intercom-Version: 2.13'

 

curl -i -X GET \

  'https://api.intercom.io/conversations?per_page=20&starting_after=string' \

  -H 'Authorization: Bearer <my token>' \ 

  -H 'Intercom-Version: 2.13'

 

<name> <toke> from 

ALL get the ERROR INFO:

{

"type": "error.list",

"request_id": "004d2a15vsgn3sc1e320",

"errors": [

{

"code": "unauthorized",

"message": "Access Token Invalid"

}

]

}

 

Question: what’s the right way to get conversation list ?

Best answer by Steeve Cayla

curl --location 'https://api.intercom.io/conversations?per_page=20' \
--header 'Authorization: Bearer YOURBEARERTOKEN' \
--header 'Intercom-Version: 2.13'

This is how you get it. 

Obviously this is for the first request. Then you’ll get a pagination string that you will need to add like written: starting_after=string (where the string is what you’ll get in the answer of the first request).  

2 replies

  • Author
  • New Participant
  • 1 reply
  • July 8, 2025

The DEMO 

 


Steeve Cayla
Innovator ✨
Forum|alt.badge.img+5
  • Innovator ✨
  • 63 replies
  • Answer
  • July 9, 2025
curl --location 'https://api.intercom.io/conversations?per_page=20' \
--header 'Authorization: Bearer YOURBEARERTOKEN' \
--header 'Intercom-Version: 2.13'

This is how you get it. 

Obviously this is for the first request. Then you’ll get a pagination string that you will need to add like written: starting_after=string (where the string is what you’ll get in the answer of the first request).