Contact

List a contact's WhatsApp conversations

The WhatsApp numbers this contact has a conversation on, newest first, with the conversation id to open in Spur Embed. Only numbers with messages are listed unless include=all. Read-only: no token is minted. An Instagram or Facebook conversation is a separate contact and is not listed.

get/contacts/{contactId}/conversations

Request

  • Base URL
    https://api.spurnow.com
  • Auth
    HTTP bearer

Path parameters

contactIdnumber required

Query parameters

include'all'

Default lists only numbers the contact has messages on. all also lists every other WhatsApp number in the workspace (hasMessages: false).

Response

contactIdnumber required

Example response

{
  "contactId": 9812,
  "conversations": [
    {
      "conversationId": 49205067,
      "channelId": 1042,
      "type": "wa",
      "number": "+911234567890",
      "name": "Acme Support"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.