Search code examples
postmanintercom

Intercom API (v2.0) search conversation not working


I tried to search conversation from Intercom API using Postman but it always return server error message. I just followed their API docs.

request url: POST https://api.intercom.io/conversations/search?query=updated_at>1590278400


Solution

  • The query should be in JSON format in the Body, not in the querystring like you do in your example:

    {
     "query":  {
        "field": "updated_at",
        "operator": ">",
        "value": 1590278400
      }
    }
    

    In Postman it looks like this (note: don't forget to add your authentication)

    enter image description here