Skip to main content
GET
/
conversations
Listar conversas
curl --request GET \
  --url https://juiywycqytekaffjcbfa.supabase.co/functions/v1/api-v1/conversations \
  --header 'x-api-key: <api-key>'
{
  "success": true,
  "data": {
    "conversations": [
      {
        "id": "<string>",
        "customer_name": "<string>",
        "customer_phone": "<string>",
        "customer_email": "<string>",
        "channel": "<string>",
        "status": "<string>",
        "ai_mode": "<string>",
        "agent_id": "<string>",
        "created_at": "<string>",
        "updated_at": "<string>"
      }
    ],
    "pagination": {
      "page": 123,
      "limit": 123,
      "total": 123,
      "total_pages": 123
    }
  }
}

Authorizations

x-api-key
string
header
required

Autenticação por chave de API.

Query Parameters

page
integer
default:1

Número da página

Required range: x >= 1
limit
integer
default:20

Itens por página

Required range: 1 <= x <= 100
channel
string
status
string

Response

200 - application/json

Lista de conversas

success
boolean
data
object