Saltar al contenido principal
GET
/
{slug}
/
conversations
Listar conversaciones
curl --request GET \
  --url https://app.1to1.ai/api/v1/public/{slug}/conversations \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "contact": {
        "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>",
        "profile_name": "<string>",
        "phone": "<string>"
      },
      "last_message_at": "2023-11-07T05:31:56Z",
      "last_message_preview": {
        "body": "sí, te mando el documento",
        "content_type": "text",
        "is_from_customer": true
      },
      "unread_count": 1,
      "mailbox": {
        "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>"
      },
      "ai_employee": {
        "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "<string>"
      },
      "tags": [
        {
          "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>",
          "color": "<string>"
        }
      ],
      "messaging_window_expires_at": "2023-11-07T05:31:56Z",
      "is_tester": true
    }
  ],
  "next_cursor": "<string>",
  "has_more": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.1to1ai.com/llms.txt

Use this file to discover all available pages before exploring further.

Autorizaciones

Authorization
string
header
requerido

API token emitido desde Settings → API Token del dashboard 1TO1 AI. Enviar en header Authorization: Bearer sk_1to1_...

Parámetros de ruta

slug
string
requerido

Slug del business, case-insensitive. Debe coincidir con el business del token.

Ejemplo:

"acme"

Parámetros de consulta

cursor
string

Cursor opaco devuelto por la página anterior. No reutilizar cursors entre endpoints distintos — aunque el formato sea idéntico, cada endpoint lo interpreta en su propio dataset.

Required string length: 1 - 512
limit
integer

Items por página. Default 50.

Rango requerido: 1 <= x <= 100
Ejemplo:

50

order
enum<string>

desc (más recientes primero, default) o asc.

Opciones disponibles:
asc,
desc

Respuesta

Página de conversaciones

items
object[]
requerido
next_cursor
string | null
requerido
has_more
boolean
requerido