Skip to main content
POST
Get recent chats
Get recent chats for a customer in the authenticated workspace.

Required access

Body

string
required
Customer UUID to fetch chats for. Open a customer in the Customer module and use the last UUID in the URL: /dashboard/[workspace_id]/customers/[customer_id]. See Resource IDs.
string
Optional workspace UUID. The authenticated workspace is used by default. Find the current workspace ID in Settings > API Details > Channels. See Resource IDs.
boolean
default:"false"
Include chats from linked contacts.

Query parameters

integer
default:"1"
Page number.
integer
default:"20"
Records per page. Maximum value is 200.

Response

object[]
required
Recent chat records for the customer.