Lista todos os atendimentos
GET
/pipeline/attendancesRecupera uma lista de todos os atendimentos registrados no sistema CRM.
Request
Parâmetros Bodyapplication/json
document
string
opcional
CPF
phone
string
opcional
Telefone
Exemplo
{
"document": "331.248.480-47",
"phone": "(11) 93566-9897"
}
Request samples
Respostas
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Lista de atendimentos recuperada com sucesso.
Esquema de Dados
data
array [object]
opcional
ExemploSucesso
{
"current_page": 1,
"data": [
{
"id": 1,
"user_name": "John",
"user_image": "https://example.com/image.jpg",
"value": 10000,
"stage_id": 2,
"customer_cpf": "12345678900",
"customer_name": "Customer Name",
"customer_phones": [],
"tags": [],
"tag_name": "New",
"tag_color": "#FF5733",
"status": "Active",
"sla_chat": 120,
"sla_attendance": 300,
"movement_blocked_by": "Admin",
"has_proposals": true,
"has_pendencies": false,
"simulation_banks": [],
"origin_name": "Website",
"qty_unread_messages": 3,
"organ_name": "Organization",
"created_at": "2024-01-01T12:00:00Z",
"status_date": "2024-01-02T15:00:00Z",
"pabx_campaign_name": "Campaign"
},
{
"id": 2,
"user_name": "Jane",
"user_image": "https://example.com/image2.jpg",
"value": 5000,
"stage_id": 3,
"customer_cpf": "09876543210",
"customer_name": "Another Customer",
"customer_phones": [],
"tags": [],
"tag_name": "Priority",
"tag_color": "#33FF57",
"status": "Pending",
"sla_chat": 60,
"sla_attendance": 120,
"movement_blocked_by": null,
"has_proposals": false,
"has_pendencies": true,
"simulation_banks": [],
"origin_name": "App",
"qty_unread_messages": 1,
"organ_name": "Organization 2",
"created_at": "2024-01-02T14:00:00Z",
"status_date": "2024-01-03T10:00:00Z",
"pabx_campaign_name": "Campaign"
}
],
"first_page_url": "http://localhost:8000/pipeline/1/attendances?page=1",
"from": null,
"next_page_url": null,
"path": "http://localhost:8000/pipeline/1/attendances",
"per_page": 20,
"prev_page_url": null,
"to": null,
"totalSum": null,
"total": 100
}
Last modified: 19 days ago