Skip to main content
GET
/
v1
/
conversation
/
{id}
/
context
Get conversation context
curl --request GET \
  --url https://connect.provisionapp.io/v1/conversation/{id}/context \
  --header 'x-api-key: <api-key>'
{
  "subject": "<string>",
  "messages": [
    {
      "author": "<string>",
      "role": "<string>",
      "createdAt": "<string>",
      "text": "<string>",
      "isInternal": true,
      "rawBody": "<string>",
      "attachments": [
        {
          "type": "<string>",
          "title": "<string>",
          "content": "<string>",
          "transcriptionId": "<string>"
        }
      ]
    }
  ],
  "status": "<string>",
  "type": "<string>",
  "urgency": "<string>",
  "labels": [
    "<string>"
  ],
  "requester": "<string>",
  "participants": {
    "agents": [
      "<string>"
    ],
    "clients": [
      {
        "name": "<string>",
        "primaryPhoneNumber": "<string>",
        "primaryEmail": "<string>"
      }
    ]
  },
  "sites": [
    {
      "address": "<string>",
      "serviceLevel": "<string>",
      "id": "<string>",
      "associatedConversations": [
        {
          "friendlyId": "<string>",
          "subject": "<string>",
          "status": "<string>",
          "statusLastUpdatedAt": "<string>",
          "issue": "<string>",
          "resolution": "<string>",
          "shortSummary": "<string>"
        }
      ]
    }
  ]
}

Authorizations

x-api-key
string
header
required

Send the API key in the x-api-key header.

Path Parameters

id
string<uuid>
required
Example:

"57f2d879-20f8-4106-9abb-44fa099e0448"

Response

Conversation context

subject
string
messages
object[]
status
string
type
string
urgency
string
labels
string[]
requester
string
participants
object
sites
object[]