GET
/
leads
Listar leads
curl --request GET \
  --url https://api.meuassistente.rdstationmentoria.com.br/rest/leads \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "agentId": null,
      "name": null,
      "email": null,
      "phone": null,
      "company": null,
      "site": null,
      "custom": {},
      "utm": {},
      "capture": "completed",
      "workspaceId": "<string>",
      "createdAt": "2025-07-21T17:52:50.029Z",
      "updatedAt": "2025-07-21T17:52:50.029Z"
    }
  ],
  "meta": {
    "total": 123,
    "page": 123,
    "size": 123,
    "first": 123,
    "last": 123,
    "next": 123,
    "previous": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
number
default:1

Número da página

Required range: x >= 1
size
number
default:20

Tamanho da página

Required range: 1 <= x <= 100

Termo de pesquisa (full-text search)

name
string

Nome

email
string

Email

phone
string

Telefone

orderBy

Ordenação da lista de leads

createdAtStart
string

Data de criação

agentId
string

Identificador do assistente

capture
enum<string>

Status da captura de dados do lead

Available options:
completed,
partial

Response

200
application/json

Successful response

Página de registros