Saltar al contenido principal
GET
/
{slug}
/
conversations
/
{uuid}
/
messages
Listar mensajes de una conversación
curl --request GET \
  --url https://app.1to1.ai/api/v1/public/{slug}/conversations/{uuid}/messages \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "conversation_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "is_from_customer": true,
      "body": "<string>",
      "author": {
        "name": "<string>"
      },
      "external_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "sent_at": "2023-11-07T05:31:56Z",
      "event_type": null
    }
  ],
  "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"

uuid
string<uuid>
requerido

UUID de la conversación

Ejemplo:

"550e8400-e29b-41d4-a716-446655440000"

Parámetros de consulta

cursor
string

Cursor opaco devuelto por la página anterior.

Required string length: 1 - 512
limit
integer

Items por página. Default 50.

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

50

Respuesta

Página de mensajes

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