GET
/
leads
curl --request GET \
  --url https://api.meuassistente.rdstationmentoria.com.br/rest/leads \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "agentId": "<string>",
      "name": null,
      "email": null,
      "phone": null,
      "company": null,
      "site": null,
      "custom": {},
      "utm": {},
      "capture": "completed",
      "workspaceId": "<string>",
      "createdAt": "2025-07-04T18:19:22.557Z",
      "updatedAt": "2025-07-04T18:19:22.558Z"
    }
  ],
  "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
Required range: x >= 1
size
number
default:20
Required range: 1 <= x <= 100
name
string
email
string
phone
string
orderBy
createdAtStart
string
agentId
string
capture
enum<string>
Available options:
completed,
partial

Response

200
application/json

Successful response

The response is of type object.

GET
/
leads
curl --request GET \
  --url https://api.meuassistente.rdstationmentoria.com.br/rest/leads \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "agentId": "<string>",
      "name": null,
      "email": null,
      "phone": null,
      "company": null,
      "site": null,
      "custom": {},
      "utm": {},
      "capture": "completed",
      "workspaceId": "<string>",
      "createdAt": "2025-07-04T18:19:22.557Z",
      "updatedAt": "2025-07-04T18:19:22.558Z"
    }
  ],
  "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
Required range: x >= 1
size
number
default:20
Required range: 1 <= x <= 100
name
string
email
string
phone
string
orderBy
createdAtStart
string
agentId
string
capture
enum<string>
Available options:
completed,
partial

Response

200
application/json

Successful response

The response is of type object.