Inbox
Query Chats
Query chats with structured filters, sorting, and pagination. Supports the same data as GET /chats but using the registry-based filter builder pattern for richer filtering capabilities.
AuthorizationBearer <token>
In: header
Header Parameters
x-tenant-id?string|null
filters?
Default
[]search?string|null
sort_by?string
All sortable fields on a Chat.
Default
"last_message_timestamp"Value in
"last_message_timestamp" | "created_at" | "attendee_name" | "archived" | "starred" | "unread" | "muted" | "unread_count" | "content_type" | "classification" | "campaign_name" | "linkedin_account_id"sort_dir?string
Default
"desc"Value in
"asc" | "desc"page?integer
Default
1Range
1 <= valuepage_size?integer
Default
50Range
1 <= value <= 200linkedin_account_id?string|null
Response Body
application/json
application/json
curl -X POST "https://api.obert.io/api/inbox/chats/query" \ -H "Content-Type: application/json" \ -d '{}'{
"data": [
{
"id": "string",
"provider_id": "string",
"attendee": {
"provider_id": "string",
"name": "string",
"headline": "string",
"profile_picture_url": "string",
"lead_id": "string",
"contact_id": "string"
},
"attendees": [],
"is_group": false,
"timestamp": "2019-08-24T14:15:22Z",
"last_message_text": "string",
"unread": false,
"unread_count": 0,
"is_archived": false,
"is_starred": false,
"is_muted": false,
"content_type": "string",
"labels": [],
"campaigns": [],
"campaign_name": "string",
"campaign_id": "string",
"classification": "string",
"is_campaign_chat": false,
"linkedin_account_id": "string",
"linkedin_account_display_name": "string",
"linkedin_account_avatar_url": "string"
}
],
"total": 0,
"has_more": false,
"page": 1,
"page_size": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}GETProxy Message Attachment
Stream a Unipile message attachment via a short-lived signed URL. Browsers can't attach Bearer auth to <video>/<img> requests, so this endpoint authenticates via an HMAC-signed token in the query string instead. The signed URL is generated by ``_serialize_message`` and is only valid for 24h.
DELRemove Message Reaction
Next Page