Pular para o conteúdo principal
GET
/
v1
/
contacts
Listar contatos
curl --request GET \
  --url https://api.timelyai.com.br/v1/contacts \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "customer_name": "<string>",
      "customer_email": "jsmith@example.com",
      "customer_phone": "<string>",
      "tags": [
        "<string>"
      ],
      "custom_fields": {},
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "page": 123,
    "limit": 123,
    "total": 123,
    "total_pages": 123
  }
}

Autorizações

x-api-key
string
header
obrigatório

Chave de API obtida no dashboard

Parâmetros de consulta

page
integer
padrão:1

Número da página

Intervalo obrigatório: x >= 1
limit
integer
padrão:20

Itens por página

Intervalo obrigatório: 1 <= x <= 100
order
enum<string>
padrão:desc

Direção da ordenação

Opções disponíveis:
asc,
desc

Termo de busca

status
enum<string>
Opções disponíveis:
active,
inactive,
blocked

Resposta

Lista de contatos

data
object[]
pagination
object