Skip to main content
GET
/
conversations
/
{conversationId}
/
audit-logs
Fetch Conversation Audit Logs
curl --request GET \
  --url https://api.chat-dash.com/v1/public/conversations/{conversationId}/audit-logs \
  --header 'Authorization: <authorization>'
{
  "success": true,
  "data": [
    {
      "_id": "<string>",
      "conversationId": "<string>",
      "agentId": "<string>",
      "timestamp": "2023-11-07T05:31:56Z",
      "eventType": "ASSIGNMENT",
      "user": {
        "id": "<string>",
        "userType": "MEMBER",
        "name": "<string>"
      },
      "eventDetails": {}
    }
  ],
  "pagination": {
    "limit": 123,
    "skip": 123,
    "count": 123
  }
}

Headers

Authorization
string
required

All requests to the ChatDash API must be validated with the agency API Key found on your agency profile

Path Parameters

conversationId
string
required

The ID of the conversation

Query Parameters

eventType
enum<string>

Filter logs by event type

Available options:
ASSIGNMENT,
TAG_UPDATE
limit
integer

Maximum number of logs to return (default: 50)

Required range: x >= 1
skip
integer

Number of logs to skip for pagination (default: 0)

Required range: x >= 0

Response

OK

success
boolean
Example:

true

data
object[]
pagination
object