Get conversation

Get detailed information about a specific conversation, including participant details and unread count.

Get detailed information about a specific conversation, including participant details and unread count.

GET/v1/conversations/{id}

Path Parameters

idstring

Response Body

fetch("https://api.outstand.so/v1/conversations/string", {  method: "GET"})
{
  "success": true,
  "conversation": {
    "id": "9dyJS",
    "orgId": "string",
    "socialAccountId": "string",
    "network": "instagram",
    "platformConversationId": "string",
    "participantId": "string",
    "participantDisplayName": "string",
    "participantProfilePicture": "string",
    "lastMessageAt": "2019-08-24T14:15:22Z",
    "lastInboundAt": "2019-08-24T14:15:22Z",
    "unreadCount": 0,
    "status": "active",
    "metadata": {
      "property1": null,
      "property2": null
    },
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  }
}
{
  "success": false,
  "error": "Conversation not found"
}
{
  "success": false,
  "error": "Internal server error"
}