Skip to main content

Authentication

All API requests require authentication using your API key in the Authorization header:

Base URL

Endpoints

Get Conversations

Retrieve all conversations for a customer session.
GET {api_base_url}/api/v1/helpdesk/customer/{session_id}/conversations/

Parameters

string
required
Unique identifier for the customer session

Query Parameters

boolean
Filter conversations by status. Accepts: true, t, yes, 1 (true), anything else is false

Response

array
Array of conversation objects
Conversation Object:
string
Unique conversation identifier
string
ISO timestamp of creation
string
ISO timestamp of last update
boolean
Whether the conversation is closed
boolean
Whether support closure was requested
boolean
Customer read status
boolean
Agent read status
string
Current responder: "agent" or "sate"
string
Ticket identifier
string
Ticket slug for URLs
object
Most recent message in the conversation

Example Response

Status Codes

Success
Conversations retrieved successfully
Bad Request
Invalid parameters or malformed request
Unauthorized
Invalid or missing API key
Forbidden
Access denied for this resource

Get Conversation Messages

Retrieve all messages for a specific conversation.
GET {api_base_url}/api/v1/helpdesk/customer/{session_id}/conversations/{conversation_id}/messages/

Parameters

string
required
Unique identifier for the customer session
string
required
Unique identifier for the conversation

Response

string
Conversation identifier
string
ISO timestamp of creation
string
ISO timestamp of last update
boolean
Whether the conversation is closed
boolean
Whether support closure was requested
boolean
Customer read status
boolean
Agent read status
string
Current responder: "agent" or "sate"
string
Ticket identifier
array
Array of message objects in chronological order
Message Object:
string
Unique message identifier
string
ISO timestamp of creation
string
ISO timestamp of last update
string
Message content
string
Message sender: "sate", "agent", or "customer"
boolean
Whether this message contains an attachment
object
Attachment details (if is_attachment is true)
string
Associated conversation ID

Example Response

Status Codes

Success
Messages retrieved successfully
Bad Request
Invalid parameters or malformed request
Unauthorized
Invalid or missing API key
Forbidden
Access denied for this resource

Error Responses

All error responses follow this format:

Next Steps