curl --request GET \
--url https://api.ziala.com.br/v1/stage_events \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ziala.com.br/v1/stage_events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ziala.com.br/v1/stage_events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "5b8e3f20-6c1d-4a7e-9f0b-2c3d4e5f6a7b",
"contact_id": "3f6c2a9e-8b1d-4c7e-9a52-1e0d6b7f4a10",
"pipeline_id": "e2a9f4c1-7b3d-4f6e-a1c8-9d0b5e2f7a33",
"agent_id": "b7e1c0d2-5a4f-4e3b-8c9d-2f1a0e6d3c55",
"from_stage_id": "8b0a1c2d-3e4f-4a5b-9c6d-7e8f9a0b1c2d",
"from_stage_key": "novo",
"to_stage_id": "9a1b2c3d-4e5f-4a6b-8c7d-0e1f2a3b4c5d",
"to_stage_key": "qualificando",
"created_at": "2026-10-13T14:02:11.000Z"
}
],
"next_cursor": "eyJ0IjoiM2Y2YzJhOWUiLCJ0cyI6IjIwMjYtMTEtMDNUMTQ6MzE6MDIuMDAwWiJ9",
"has_more": true,
"sync_watermark": "2026-10-13T14:29:00.000Z"
}{
"type": "about:blank",
"title": "Requisição inválida",
"status": 400,
"detail": "limit deve ser um número inteiro de 1 a 200.",
"request_id": "req-3f2a"
}{
"type": "about:blank",
"title": "Requisição inválida",
"status": 400,
"detail": "limit deve ser um número inteiro de 1 a 200.",
"request_id": "req-3f2a"
}{
"type": "about:blank",
"title": "Requisição inválida",
"status": 400,
"detail": "limit deve ser um número inteiro de 1 a 200.",
"request_id": "req-3f2a"
}{
"type": "about:blank",
"title": "Requisição inválida",
"status": 400,
"detail": "limit deve ser um número inteiro de 1 a 200.",
"request_id": "req-3f2a"
}{
"type": "about:blank",
"title": "Requisição inválida",
"status": 400,
"detail": "limit deve ser um número inteiro de 1 a 200.",
"request_id": "req-3f2a"
}{
"type": "about:blank",
"title": "Requisição inválida",
"status": 400,
"detail": "limit deve ser um número inteiro de 1 a 200.",
"request_id": "req-3f2a"
}Listar mudanças de etapa
Lista o histórico de mudanças de etapa dos contatos. Os registros são imutáveis e filtrados pela data de criação.
curl --request GET \
--url https://api.ziala.com.br/v1/stage_events \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.ziala.com.br/v1/stage_events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ziala.com.br/v1/stage_events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "5b8e3f20-6c1d-4a7e-9f0b-2c3d4e5f6a7b",
"contact_id": "3f6c2a9e-8b1d-4c7e-9a52-1e0d6b7f4a10",
"pipeline_id": "e2a9f4c1-7b3d-4f6e-a1c8-9d0b5e2f7a33",
"agent_id": "b7e1c0d2-5a4f-4e3b-8c9d-2f1a0e6d3c55",
"from_stage_id": "8b0a1c2d-3e4f-4a5b-9c6d-7e8f9a0b1c2d",
"from_stage_key": "novo",
"to_stage_id": "9a1b2c3d-4e5f-4a6b-8c7d-0e1f2a3b4c5d",
"to_stage_key": "qualificando",
"created_at": "2026-10-13T14:02:11.000Z"
}
],
"next_cursor": "eyJ0IjoiM2Y2YzJhOWUiLCJ0cyI6IjIwMjYtMTEtMDNUMTQ6MzE6MDIuMDAwWiJ9",
"has_more": true,
"sync_watermark": "2026-10-13T14:29:00.000Z"
}{
"type": "about:blank",
"title": "Requisição inválida",
"status": 400,
"detail": "limit deve ser um número inteiro de 1 a 200.",
"request_id": "req-3f2a"
}{
"type": "about:blank",
"title": "Requisição inválida",
"status": 400,
"detail": "limit deve ser um número inteiro de 1 a 200.",
"request_id": "req-3f2a"
}{
"type": "about:blank",
"title": "Requisição inválida",
"status": 400,
"detail": "limit deve ser um número inteiro de 1 a 200.",
"request_id": "req-3f2a"
}{
"type": "about:blank",
"title": "Requisição inválida",
"status": 400,
"detail": "limit deve ser um número inteiro de 1 a 200.",
"request_id": "req-3f2a"
}{
"type": "about:blank",
"title": "Requisição inválida",
"status": 400,
"detail": "limit deve ser um número inteiro de 1 a 200.",
"request_id": "req-3f2a"
}{
"type": "about:blank",
"title": "Requisição inválida",
"status": 400,
"detail": "limit deve ser um número inteiro de 1 a 200.",
"request_id": "req-3f2a"
}Autorizações
Chave da API da conta, no formato zk_live_….
Parâmetros de consulta
Retorna só registros criados a partir deste instante: data e hora ISO 8601 com fuso, ou só a data (AAAA-MM-DD, meia-noite UTC). A busca recua 5 minutos para cobrir diferenças de relógio, então grave pela chave primária (id).
Sinônimo de updated_since.
Valor de next_cursor da página anterior.
Itens por página.
1 <= x <= 200Resposta
Página de mudanças de etapa.
Show child attributes
Show child attributes
Cursor da próxima página, para enviar em cursor. null na última página.
"eyJ0IjoiM2Y2YzJhOWUiLCJ0cyI6IjIwMjYtMTEtMDNUMTQ6MzE6MDIuMDAwWiJ9"
true se há mais páginas.
true
Instante até o qual esta leitura está completa, igual em todas as páginas. Envie como updated_since na próxima sincronização.
"2026-10-13T14:29:00.000Z"