Skip to main content
GET
/
v1
/
lexi
/
conversations
List Lexi Conversations
curl --request GET \
  --url https://api.example.com/v1/lexi/conversations
{
  "data": {
    "conversations": [
      {
        "id": "<string>",
        "title": "<string>",
        "message_count": 123,
        "last_message_at": "<string>",
        "context": {},
        "archived": true,
        "created_at": "<string>"
      }
    ]
  },
  "meta": {}
}

Request

Query Parameters

page
integer
default:"1"
Page number.
per_page
integer
default:"25"
Results per page. Maximum 100.
Optional full-text search against conversation titles and message content.
user_id
string
Filter by the user who owns the conversation. When omitted, returns conversations for the current API key’s user.
contact_id
string
Filter to conversations tied to the given contact context.
deal_id
string
Filter to conversations tied to the given deal context.
archived
boolean
default:"false"
When true, includes archived conversations.

Headers

Authorization: Bearer wbk_your_api_key_here

Response

data
object
meta
object
Pagination metadata: page, per_page, total.
Responses include X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and X-Request-ID.
curl "https://data.leadlex.com/functions/v1/api-gateway/v1/lexi/conversations?per_page=50" \
  -H "Authorization: Bearer wbk_your_api_key_here"

Example Response

{
  "data": {
    "conversations": [
      {
        "id": "conv_01HY1",
        "title": "Series B research for Acme Corp",
        "message_count": 14,
        "last_message_at": "2026-04-17T10:30:00Z",
        "context": { "contact_id": "123e4567-e89b-12d3-a456-426614174000" },
        "archived": false,
        "created_at": "2026-04-15T09:00:00Z"
      }
    ]
  },
  "meta": { "page": 1, "per_page": 50, "total": 27 }
}

Errors

StatusCodeDescription
401invalid_keyInvalid or expired API key
403insufficient_permissionsMissing read:ai permission
429rate_limitedRate limit exceeded