Skip to main content
GET
/
api
/
v1
/
public
/
clients
/
{client_id}
/
timeline
Timeline do cliente
curl --request GET \
  --url https://api.indiqai.com/api/v1/public/clients/{client_id}/timeline \
  --header 'X-API-Key: <x-api-key>'
[
  {
    "id": "<string>",
    "amount": 123,
    "category": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "empresa_id": "<string>",
    "event_type": "<string>",
    "kind": "<string>"
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.indiqai.com/llms.txt

Use this file to discover all available pages before exploring further.

Timeline do Cliente

Retorna os eventos do cliente em ordem temporal, sempre filtrados pela empresa da API Key.

Filtros

  • limit e offset para paginação simples
  • kind e category para recortes de evento

Status comuns

  • 200 timeline retornada
  • 401 API Key inválida ou revogada
  • 403 plano sem api_access
  • 404 cliente não encontrado na empresa da key

Headers

X-API-Key
string
required

Chave de API

Path Parameters

client_id
string
required

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0
kind
string | null
category
string | null

Response

Successful Response

id
string
required
amount
number | null
category
string | null
created_at
string<date-time> | null
description
string | null
empresa_id
string | null
event_type
string | null
kind
string | null