Saltar al contenido principal
GET
/
{slug}
/
conversations
/
{uuid}
Detalle de conversación
curl --request GET \
  --url https://app.1to1.ai/api/v1/public/{slug}/conversations/{uuid} \
  --header 'Authorization: Bearer <token>'
{
  "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
}

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"

Respuesta

Conversación encontrada

uuid
string<uuid>
requerido
contact
object
requerido
last_message_at
string<date-time> | null
requerido
last_message_preview
object
requerido
inbox_status
enum<string>
requerido
Opciones disponibles:
pending,
resolved
response_status
enum<string>
requerido
Opciones disponibles:
unread,
pending,
responded
unread_count
integer
requerido
Rango requerido: x >= 0
mailbox
object
requerido
ai_employee
object
requerido
tags
object[]
requerido
messaging_window_expires_at
string<date-time> | null
requerido
is_tester
boolean
requerido

Indica si la conversación fue creada desde el módulo tester del dashboard (feature donde el usuario prueba flujos con conversaciones ficticias). El listado devuelve reales y tester mezclados; filtrar por este campo si el cliente solo necesita uno de los dos. Para solo-tester existe /tester/conversations.