Documentação de integração com a API Pipelead
Esta documentação fornece todas as informações necessárias para integrar com a API do Pipelead.
To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".
All authenticated endpoints are marked with a requires authentication badge in the documentation below.
Você pode gerar seu token de autenticação na seção de integrações, dentro de API em seu projeto no Pipelead. O token deve ser enviado no header Authorization como Bearer Token.
Endpoints para gerenciar agendamentos
curl --request GET \
--get "https://app.pipelead.to/api/v1/appointments?sort=-when&filter%5Bwhen%5D=2024-01-01&filter%5Bstatus%5D=scheduled&filter%5Bcalendar_id%5D=1&filter%5Bcreated_at%5D=%3E%3D2024-01-01%2C%3C2024-02-01&page=1&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 213123,
"description": "Autem quidem itaque enim expedita eius. Iste esse rerum aut. Non ut quod quia ipsa. Non dolor nihil qui modi est.",
"starts_at": "2026-12-06T19:21:10+00:00",
"ends_at": "2026-12-06T20:21:10+00:00",
"status_code": "scheduled",
"when": "2026-12-06 16:21:10",
"calendar_id": 1575,
"status": "Agendado",
"attended_at": null,
"absent_at": null,
"canceled_at": null,
"rescheduled_to": null,
"created_at": "2026-11-24 16:21:10",
"updated_at": "2026-11-24 16:21:10"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=2",
"prev": null,
"next": "/?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Anterior",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": "/?page=2",
"label": "2",
"page": 2,
"active": false
},
{
"url": "/?page=2",
"label": "Próximo »",
"page": 2,
"active": false
}
],
"path": "/",
"per_page": 1,
"to": 1,
"total": 2
}
}
curl --request POST \
"https://app.pipelead.to/api/v1/appointments" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"lead_id\": \"f7b1f1b0-5b1b-4b3b-8b1b-1b1b1b1b1b1b\",
\"description\": \"Reunião inicial\",
\"when\": \"2024-01-30 14:30:00\",
\"starts_at\": \"2024-01-30 17:30:00\",
\"ends_at\": \"2024-01-30 18:30:00\",
\"reminder_at\": \"2024-01-30 14:00:00\",
\"calendar_id\": 1
}"
The ID of the appointment.
curl --request GET \
--get "https://app.pipelead.to/api/v1/appointments/10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 213125,
"description": "Voluptatibus omnis libero eos qui. Voluptate nam reiciendis impedit laboriosam dolore. Id aut numquam ipsa quas iusto est quam aut. Adipisci numquam mollitia minima quasi excepturi dignissimos.",
"starts_at": "2026-12-22T19:21:10+00:00",
"ends_at": "2026-12-22T20:21:10+00:00",
"status_code": "scheduled",
"when": "2026-12-22 16:21:10",
"calendar_id": 1579,
"status": "Agendado",
"attended_at": null,
"absent_at": null,
"canceled_at": null,
"rescheduled_to": null,
"created_at": "2026-11-24 16:21:10",
"updated_at": "2026-11-24 16:21:10"
}
}
The ID of the appointment.
curl --request PUT \
"https://app.pipelead.to/api/v1/appointments/10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"description\": \"Reunião de follow-up\",
\"when\": \"2024-01-30 14:30:00\",
\"reminder_at\": \"2024-01-30 14:00:00\",
\"attended_at\": \"2024-01-30 14:30:00\",
\"absent_at\": \"2024-01-30 14:30:00\",
\"canceled_at\": \"2024-01-30 14:30:00\",
\"rescheduled_to\": \"2024-01-30 16:30:00\",
\"calendar_id\": 1
}"
{
"data": {
"id": 213126,
"description": "Sed reprehenderit non expedita quis voluptas distinctio. Molestias quae voluptatem ex eos minus enim amet. Beatae dolores alias cupiditate culpa.",
"starts_at": "2026-12-07T19:21:10+00:00",
"ends_at": "2026-12-07T20:21:10+00:00",
"status_code": "scheduled",
"when": "2026-12-07 16:21:10",
"calendar_id": 1581,
"status": "Agendado",
"attended_at": null,
"absent_at": null,
"canceled_at": null,
"rescheduled_to": null,
"created_at": "2026-11-24 16:21:10",
"updated_at": "2026-11-24 16:21:10"
}
}
The ID of the appointment.
curl --request DELETE \
"https://app.pipelead.to/api/v1/appointments/10" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
The ID of the appointment.
curl --request POST \
"https://app.pipelead.to/api/v1/appointments/10/confirm" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
The ID of the appointment.
curl --request POST \
"https://app.pipelead.to/api/v1/appointments/10/cancel" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reason\": \"Cliente solicitou cancelamento\"
}"
The ID of the appointment.
curl --request POST \
"https://app.pipelead.to/api/v1/appointments/10/reschedule" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"new_date\": \"2024-02-15 15:00:00\",
\"starts_at\": \"2048-07-15\",
\"ends_at\": \"2097-10-16\",
\"reason\": \"Cliente solicitou nova data\"
}"
The ID of the appointment.
curl --request POST \
"https://app.pipelead.to/api/v1/appointments/10/mark-attended" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"notes\": \"Cliente compareceu pontualmente\"
}"
The ID of the appointment.
curl --request POST \
"https://app.pipelead.to/api/v1/appointments/10/mark-absent" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"notes\": \"Cliente não compareceu sem aviso prévio\"
}"
Endpoints para gerenciar bloqueios de calendário
curl --request GET \
--get "https://app.pipelead.to/api/v1/calendar-blocks?sort=-starts_at&filter%5Bcalendar_id%5D=1&filter%5Bstarts_at%5D=2024-01-01+00%3A00%3A00&filter%5Bends_at%5D=2024-12-31+23%3A59%3A59&page=1&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 81501,
"title": "Ipsa voluptas quod.",
"starts_at": "2026-12-07 14:00:00",
"ends_at": "2026-12-07 15:00:00",
"all_day": false,
"calendar_id": 1648,
"canceled_at": null,
"created_at": "2026-11-24 16:21:13",
"updated_at": "2026-11-24 16:21:13"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=2",
"prev": null,
"next": "/?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Anterior",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": "/?page=2",
"label": "2",
"page": 2,
"active": false
},
{
"url": "/?page=2",
"label": "Próximo »",
"page": 2,
"active": false
}
],
"path": "/",
"per_page": 1,
"to": 1,
"total": 2
}
}
curl --request POST \
"https://app.pipelead.to/api/v1/calendar-blocks" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"title\": \"Férias\",
\"starts_at\": \"2024-01-30 08:00:00\",
\"ends_at\": \"2024-01-30 18:00:00\",
\"calendar_id\": 1,
\"all_day\": false
}"
The ID of the calendar block.
curl --request GET \
--get "https://app.pipelead.to/api/v1/calendar-blocks/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 81503,
"title": "Deleniti delectus qui eveniet.",
"starts_at": "2026-11-25 16:00:00",
"ends_at": "2026-11-25 17:00:00",
"all_day": false,
"calendar_id": 1654,
"canceled_at": null,
"created_at": "2026-11-24 16:21:13",
"updated_at": "2026-11-24 16:21:13"
}
}
The ID of the calendar block.
curl --request DELETE \
"https://app.pipelead.to/api/v1/calendar-blocks/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
Endpoints para listar calendários
curl --request GET \
--get "https://app.pipelead.to/api/v1/calendars?sort=-name&filter%5Bis_default%5D=true&page=1&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 1642,
"name": "aut",
"color": "#159495",
"is_default": false,
"settings": {
"slot_duration": 60,
"allow_conflicts": true
},
"created_at": "2026-11-24 16:21:13",
"updated_at": "2026-11-24 16:21:13"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=2",
"prev": null,
"next": "/?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Anterior",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": "/?page=2",
"label": "2",
"page": 2,
"active": false
},
{
"url": "/?page=2",
"label": "Próximo »",
"page": 2,
"active": false
}
],
"path": "/",
"per_page": 1,
"to": 1,
"total": 2
}
}
The ID of the calendar.
curl --request GET \
--get "https://app.pipelead.to/api/v1/calendars/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 1646,
"name": "iure",
"color": "#159495",
"is_default": false,
"settings": {
"slot_duration": 60,
"allow_conflicts": true
},
"created_at": "2026-11-24 16:21:13",
"updated_at": "2026-11-24 16:21:13"
}
}
The ID of the calendar.
curl --request GET \
--get "https://app.pipelead.to/api/v1/calendars/1/availability?date=2025-11-17" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"date\": \"2025-11-17\"
}"
{
"data": [
{
"start": "08:00",
"end": "09:00",
"datetime": "2025-11-17 08:00:00"
},
{
"start": "09:00",
"end": "10:00",
"datetime": "2025-11-17 09:00:00"
}
]
}
Endpoints para gerenciar campanhas
curl --request GET \
--get "https://app.pipelead.to/api/v1/campaigns?filter%5Bname%5D=Black+Friday&sort=-created_at&page=1&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 4366,
"name": "Kelly Kovacek",
"created_at": "2021-11-15T08:53:29.000000Z",
"updated_at": "1987-01-12T21:07:47.000000Z"
},
{
"id": 4367,
"name": "Clement Greenholt II",
"created_at": "2003-06-21T11:28:07.000000Z",
"updated_at": "2021-05-04T09:07:51.000000Z"
}
]
}
The ID of the campaign.
curl --request GET \
--get "https://app.pipelead.to/api/v1/campaigns/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 4368,
"name": "Cindy Green",
"created_at": "1988-02-25T22:03:23.000000Z",
"updated_at": "2026-10-22T16:51:38.000000Z"
}
}
Endpoints para gerenciar origens dos leads
curl --request GET \
--get "https://app.pipelead.to/api/v1/sources?filter%5Bname%5D=Google&filter%5Btype%5D=facebook&filter%5Bis_active%5D=1&sort=-created_at&page=1&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 9272,
"name": "esse suscipit",
"type": "custom",
"is_active": true,
"priority": 1,
"created_at": "2026-11-24T16:21:13.000000Z",
"updated_at": "2026-11-24T16:21:13.000000Z"
},
{
"id": 9273,
"name": "qui dignissimos",
"type": "custom",
"is_active": true,
"priority": 7,
"created_at": "2026-11-24T16:21:13.000000Z",
"updated_at": "2026-11-24T16:21:13.000000Z"
}
]
}
The ID of the source.
curl --request GET \
--get "https://app.pipelead.to/api/v1/sources/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 9274,
"name": "quibusdam cumque",
"type": "custom",
"is_active": true,
"priority": 9,
"created_at": "2026-11-24T16:21:13.000000Z",
"updated_at": "2026-11-24T16:21:13.000000Z"
}
}
Endpoints para gerenciar comentários em leads
curl --request GET \
--get "https://app.pipelead.to/api/v1/leads/325/comments?sort=-created_at&filter%5Bcomment%5D=follow+up&filter%5Bcreated_at%5D=2024-01-01&page=1&per_page=15&include=user" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://app.pipelead.to/api/v1/leads/325/comments" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"Cliente interessado no produto X\",
\"user_id\": \"iusto\"
}"
{
"data": {
"id": 636446,
"comment": "Eum aut dolore nostrum corrupti velit eligendi pariatur. Voluptatem eaque veritatis ullam facilis voluptates aut recusandae. Mollitia aut omnis sint dolorum alias.",
"comment_formatted": "<p>Eum aut dolore nostrum corrupti velit eligendi pariatur. Voluptatem eaque veritatis ullam facilis voluptates aut recusandae. Mollitia aut omnis sint dolorum alias.</p>\n",
"user_id": 4794,
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
}
}
The ID of the comment.
curl --request GET \
--get "https://app.pipelead.to/api/v1/leads/325/comments/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 636447,
"comment": "Eius fugiat alias ut corrupti enim. Nisi similique voluptatum maiores nihil atque dolorum.",
"comment_formatted": "<p>Eius fugiat alias ut corrupti enim. Nisi similique voluptatum maiores nihil atque dolorum.</p>\n",
"user_id": 4795,
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
}
}
The ID of the comment.
curl --request PUT \
"https://app.pipelead.to/api/v1/leads/325/comments/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"comment\": \"Cliente confirmou interesse no produto X\"
}"
{
"data": {
"id": 636448,
"comment": "Sed asperiores aut ea possimus. Sed id nulla et. Odit maxime consequatur tempore aut explicabo praesentium.",
"comment_formatted": "<p>Sed asperiores aut ea possimus. Sed id nulla et. Odit maxime consequatur tempore aut explicabo praesentium.</p>\n",
"user_id": 4796,
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
}
}
The ID of the comment.
curl --request DELETE \
"https://app.pipelead.to/api/v1/leads/325/comments/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
curl --request GET \
--get "https://app.pipelead.to/api/v1/mcp/projects" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
x-robots-tag: noindex
{
"message": "Unauthenticated."
}
curl --request GET \
--get "https://app.pipelead.to/api/v1/mcp/context" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
x-robots-tag: noindex
{
"message": "Unauthenticated."
}
The ID of the operation.
curl --request GET \
--get "https://app.pipelead.to/api/v1/mcp/operations/repudiandae" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
x-robots-tag: noindex
{
"message": "The route api/v1/mcp/operations/repudiandae could not be found."
}
curl --request GET \
--get "https://app.pipelead.to/api/v1/custom-fields" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
x-robots-tag: noindex
{
"message": "Unauthenticated."
}
curl --request POST \
"https://app.pipelead.to/api/v1/leads/325/status" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"label_id\": 16
}"
curl --request POST \
"https://app.pipelead.to/api/v1/leads/325/manager" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"managed_by\": 13
}"
curl --request POST \
"https://app.pipelead.to/api/v1/conversations/291b1939-d8a7-314c-9701-d90a2868e364/messages" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"message\": \"iiqpkqpgricdrvbej\"
}"
Endpoints para gerenciar formulários
curl --request GET \
--get "https://app.pipelead.to/api/v1/forms?filter%5Bname%5D=Contato&filter%5Bcampaign_id%5D=1&sort=-created_at&page=1&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 10934,
"name": "Mertie Ebert PhD",
"campaign_id": 4363,
"created_at": "2026-11-24T16:21:12.000000Z",
"updated_at": "2026-11-24T16:21:12.000000Z"
},
{
"id": 10935,
"name": "Greta Kulas",
"campaign_id": 4364,
"created_at": "2026-11-24T16:21:12.000000Z",
"updated_at": "2026-11-24T16:21:12.000000Z"
}
]
}
The ID of the form.
curl --request GET \
--get "https://app.pipelead.to/api/v1/forms/2001" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 10936,
"name": "Adah Hoeger",
"campaign_id": 4365,
"created_at": "2026-11-24T16:21:12.000000Z",
"updated_at": "2026-11-24T16:21:12.000000Z"
}
}
Endpoints para consultar o histórico de mudanças de status dos leads
curl --request GET \
--get "https://app.pipelead.to/api/v1/leads/325/label-histories?sort=-created_at&filter%5Blabel_id%5D=5&filter%5Bcreated_at%5D=2024-01-01&page=1&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 3322883,
"label": {
"id": 25909,
"name": "a",
"type": "acquired",
"color": "#284ca3"
},
"last_label": {
"id": 25910,
"name": "ipsa",
"type": "lost",
"color": "#a2abc4"
},
"created_by": {
"id": 4797,
"name": "Magnus Bartoletti",
"email": "nwilliamson@example.org"
},
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
},
{
"id": 3322884,
"label": {
"id": 25911,
"name": "officiis",
"type": "acquired",
"color": "#047d4c"
},
"last_label": {
"id": 25912,
"name": "molestiae",
"type": "evaluated",
"color": "#5b6e71"
},
"created_by": {
"id": 4798,
"name": "Tremaine Windler",
"email": "block.terrell@example.org"
},
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
}
]
}
Endpoints para gerenciar leads
curl --request GET \
--get "https://app.pipelead.to/api/v1/leads?sort=-created_at&filter%5Buuid%5D=9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d%2C1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed&filter%5Bname%5D=Jo%C3%A3o&filter%5Bemail%5D=joao%40&filter%5Bphone%5D=999999999&filter%5Bstatus%5D=1&filter%5Bmanager%5D=1&filter%5Bcampaign_id%5D=1&filter%5Bcampaign%5D=Campanha+de+Natal&filter%5Bform_id%5D=1&filter%5Bform%5D=Formul%C3%A1rio+de+Contato&filter%5Bsource_id%5D=1&filter%5Bsource%5D=Google&filter%5Bcreated_at%5D=%3E%3D2024-01-01%2C%3C2024-02-01&filter%5Bupdated_at%5D=%3E%3D2024-01-01&page=1&per_page=15&include=quotes%2Csales" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"filter\": {
\"uuid\": \"01fEA984-751E-caed-d930-81d7DcCcf70E,4D92AE6A-Df04,ca7f9992-C43C,A81B45f9-91A8-85A9b3eb125E)))\",
\"phone\": \",,,\"
}
}"
{
"data": [
{
"uuid": "4b7f9530-61e0-402f-a633-0ef7d15128f4",
"name": "Ms. Beaulah Konopelski",
"email": "jromaguera@example.org",
"phone": "+55 (80) 91019-9062",
"phone_normalized": "+5580910199062",
"metadata": null,
"form": null,
"source_id": null,
"extra": null,
"custom_fields": [],
"created_at": "2026-11-24 16:21:11",
"updated_at": "2026-11-24 16:21:11"
},
{
"uuid": "ed9b9ed2-916c-44dc-a7b0-c8b43571fa07",
"name": "Mr. Percy Reichel",
"email": "hintz.king@example.org",
"phone": "+55 (70) 92164-9260",
"phone_normalized": "+5570921649260",
"metadata": null,
"form": null,
"source_id": null,
"extra": null,
"custom_fields": [],
"created_at": "2026-11-24 16:21:11",
"updated_at": "2026-11-24 16:21:11"
}
]
}
curl --request POST \
"https://app.pipelead.to/api/v1/leads" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"João Silva\",
\"phone\": \"(11) 99999-9999\",
\"email\": \"joao@email.com\",
\"extra\": [
{
\"key\": \"idade\",
\"value\": \"30\"
},
{
\"key\": \"profissao\",
\"value\": \"Desenvolvedor\"
}
],
\"custom_fields\": {
\"nome_empresa\": \"João Silva\",
\"idade\": \"30\",
\"profissao\": \"Desenvolvedor\"
},
\"label_id\": 1,
\"managed_by\": 1,
\"tags\": [
15
],
\"source_id\": 1,
\"form_id\": 1,
\"created_at\": \"2024-01-15 10:30:00\",
\"metadata\": {
\"utm_source\": \"google\",
\"utm_medium\": \"cpc\",
\"utm_campaign\": \"verao-2026\",
\"gclid\": \"Cj0KCQjw...\",
\"referrer_uri\": \"https:\\/\\/www.google.com\\/\",
\"referral\": {
\"source_url\": \"https:\\/\\/fb.me\\/71IYlQfmk\",
\"source_id\": \"120246739410120481\",
\"source_type\": \"ad\",
\"ctwa_clid\": \"AfiYyI5oOMzSeXAyGJC_bJERrl0279w27ZNppOWmz7KTgBjNzJAZKo53xg0kNLFNcEjKe8Kt\"
}
}
}"
{
"data": {
"uuid": "848fd3ac-695d-4266-8118-d32a8d4e2ec4",
"name": "Antonietta Welch",
"email": "feest.emmanuel@example.com",
"phone": "+55 (45) 96789-9430",
"phone_normalized": "+5545967899430",
"metadata": null,
"form": null,
"source_id": null,
"extra": null,
"custom_fields": [],
"created_at": "2026-11-24 16:21:11",
"updated_at": "2026-11-24 16:21:11"
}
}
curl --request GET \
--get "https://app.pipelead.to/api/v1/leads/325" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"uuid": "19c32860-602c-49b4-99ce-3c61c54dc2cc",
"name": "Ike Welch",
"email": "jeramie.kutch@example.com",
"phone": "+55 (56) 95444-9732",
"phone_normalized": "+5556954449732",
"metadata": null,
"form": null,
"source_id": null,
"extra": null,
"custom_fields": [],
"created_at": "2026-11-24 16:21:11",
"updated_at": "2026-11-24 16:21:11"
}
}
curl --request PUT \
"https://app.pipelead.to/api/v1/leads/325" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"João Silva\",
\"phone\": \"(11) 99999-9999\",
\"email\": \"joao@email.com\",
\"extra\": [
{
\"key\": \"idade\",
\"value\": \"30\"
},
{
\"key\": \"profissao\",
\"value\": \"Desenvolvedor\"
}
],
\"custom_fields\": {
\"nome_empresa\": \"João Silva\",
\"idade\": \"30\",
\"profissao\": \"Desenvolvedor\"
},
\"label_id\": 1,
\"managed_by\": 1,
\"tags\": [
10
],
\"source_id\": 1,
\"form_id\": 1,
\"created_at\": \"2024-01-15 10:30:00\",
\"metadata\": {
\"utm_source\": \"facebook\",
\"referral\": {
\"source_url\": \"https:\\/\\/fb.me\\/71IYlQfmk\",
\"source_id\": \"120246739410120481\",
\"source_type\": \"ad\",
\"ctwa_clid\": \"AfiYyI5oOMzSeXAyGJC_bJERrl0279w27ZNppOWmz7KTgBjNzJAZKo53xg0kNLFNcEjKe8Kt\"
}
}
}"
{
"data": {
"uuid": "d4e70755-081d-406f-bcd7-cfc9f0ac5a68",
"name": "Dr. Maye Kris I",
"email": "meta.beahan@example.org",
"phone": "+55 (52) 94662-9851",
"phone_normalized": "+5552946629851",
"metadata": null,
"form": null,
"source_id": null,
"extra": null,
"custom_fields": [],
"created_at": "2026-11-24 16:21:11",
"updated_at": "2026-11-24 16:21:11"
}
}
curl --request DELETE \
"https://app.pipelead.to/api/v1/leads/325" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
Envio de mensagens e canais de mensageria (WhatsApp) do projeto. Use o id do canal para enviar mensagens.
curl --request GET \
--get "https://app.pipelead.to/api/v1/channels?filter%5Bchannel_type%5D=whatsapp&filter%5Bdriver%5D=meta_whatsapp&filter%5Bstatus%5D=active&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": "2245a12b-e0ab-4eb4-bc72-19d77f3a4b7f",
"name": "WhatsApp quo",
"channel_type": "whatsapp",
"driver": "evolution",
"status": "active",
"created_at": "2026-11-24T16:21:13+00:00"
},
{
"id": "e3f028ef-2db8-41a1-a57b-f1942e498f7c",
"name": "WhatsApp similique",
"channel_type": "whatsapp",
"driver": "evolution",
"status": "active",
"created_at": "2026-11-24T16:21:13+00:00"
}
]
}
curl --request GET \
--get "https://app.pipelead.to/api/v1/channels/bccd53a1-4597-376f-8c98-6ac3cb0555e4" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": "926d7568-7fab-46d5-ab4d-d50638834fad",
"name": "WhatsApp laudantium",
"channel_type": "whatsapp",
"driver": "evolution",
"status": "active",
"created_at": "2026-11-24T16:21:13+00:00"
}
}
curl --request GET \
--get "https://app.pipelead.to/api/v1/conversations?filter%5Blast_message_at%5D=%3E%3D2026-07-01&filter%5Bunread%5D=true&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": "01a20e5c-8242-71d6-a034-9d929e757fbc",
"status": "open",
"unread_count": 0,
"last_message_at": null
},
{
"id": "01a20e5c-8256-71e9-8d2e-0e9f9862a6d1",
"status": "open",
"unread_count": 0,
"last_message_at": null
}
]
}
curl --request GET \
--get "https://app.pipelead.to/api/v1/conversations/086dec13-1b9f-3122-8af4-42c268a573a5" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": "01a20e5c-826d-707a-a542-ab8dd4a5b9c6",
"status": "open",
"unread_count": 0,
"last_message_at": null
}
}
curl --request GET \
--get "https://app.pipelead.to/api/v1/conversations/972e2f71-1508-34ba-8901-370850010ee4/messages?filter%5Bcreated_at%5D=%3E%3D2026-07-01&filter%5Bdirection%5D=inbound&sort=created_at&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request GET \
--get "https://app.pipelead.to/api/v1/conversations/bdf04402-deb2-3911-89a7-2cff6c8f19d8/notes?filter%5Bcreated_at%5D=%3E%3D2026-07-01&sort=created_at&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 2981607,
"message": "Dolorem cum numquam laboriosam eligendi vel expedita nobis eos.",
"user_id": null,
"created_at": "2026-11-24T16:21:13+00:00"
},
{
"id": 2981608,
"message": "Itaque et repellat quo.",
"user_id": null,
"created_at": "2026-11-24T16:21:13+00:00"
}
]
}
curl --request POST \
"https://app.pipelead.to/api/v1/conversations/7cbff9d8-1937-38ff-aaf9-7c7db2227499/notes" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"message\": \"Cliente prefere ser contatado após as 14h.\"
}"
{
"data": {
"id": 2981609,
"message": "Sapiente qui nobis earum fugiat esse.",
"user_id": null,
"created_at": "2026-11-24T16:21:13+00:00"
}
}
curl --request POST \
"https://app.pipelead.to/api/v1/messages" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"channel_id\": \"9b1d8e0a-4c2f-4a7e-9f3b-2c1d6e5f4a3b\",
\"to\": \"5585999999999\",
\"type\": \"text\",
\"content\": {
\"text\": \"Olá! Como posso ajudar?\",
\"media_url\": \"https:\\/\\/example.com\\/arquivo.pdf\",
\"caption\": \"Segue o documento solicitado.\",
\"filename\": \"proposta.pdf\",
\"template_id\": 1,
\"variables\": [
\"João\",
\"R$ 1.500,00\"
]
}
}"
Endpoints para gerenciar orçamentos
curl --request GET \
--get "https://app.pipelead.to/api/v1/quotes?sort=-amount&filter%5Bamount%5D=5000&filter%5Bcreated_at%5D=%3E%3D2024-01-01%2C%3C2024-02-01&filter%5Breference_date%5D=2024-01-01&filter%5Bstatus%5D=open&page=1&per_page=15&include=sales" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 88078,
"amount": 260368.32,
"deal_potential": "medium",
"description": "Non cumque eligendi fugit ut illum fugit omnis in. Non veniam quia sit harum et esse libero. Quidem voluptas aperiam eos molestiae earum.",
"status": "open",
"quoted_at": "2026-11-24",
"reference_date": "2026-11-24",
"created_at": "2026-11-24 16:21:10"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=2",
"prev": null,
"next": "/?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Anterior",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": "/?page=2",
"label": "2",
"page": 2,
"active": false
},
{
"url": "/?page=2",
"label": "Próximo »",
"page": 2,
"active": false
}
],
"path": "/",
"per_page": 1,
"to": 1,
"total": 2
}
}
curl --request POST \
"https://app.pipelead.to/api/v1/quotes" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount\": 500000,
\"lead_id\": \"f7b1f1b0-5b1b-4b3b-8b1b-1b1b1b1b1b1b\",
\"status\": \"open\",
\"tags\": [
16.898960076
],
\"created_by\": 1,
\"products\": [
{
\"product_id\": 1,
\"amount\": 10000,
\"quantity\": 2
},
{
\"product_id\": 2,
\"amount\": 5000,
\"quantity\": 1
}
],
\"quoted_at\": \"2025-01-15\"
}"
The ID of the quote.
curl --request GET \
--get "https://app.pipelead.to/api/v1/quotes/9" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 88080,
"amount": 7354330,
"deal_potential": "high",
"description": "Eos libero hic velit aliquam asperiores. Aut nesciunt qui repellat. Voluptatum et saepe quasi molestiae quod asperiores sed rem.",
"status": "open",
"quoted_at": "2026-11-24",
"reference_date": "2026-11-24",
"created_at": "2026-11-24 16:21:10"
}
}
The ID of the quote.
curl --request PUT \
"https://app.pipelead.to/api/v1/quotes/9" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount\": 500000,
\"status\": \"won\",
\"tags\": [
155661336.700329
],
\"created_by\": 1,
\"products\": [
{
\"product_id\": 1,
\"amount\": 10000,
\"quantity\": 2,
\"billing_cycles\": 12
},
{
\"product_id\": 2,
\"amount\": 5000,
\"quantity\": 1
}
],
\"quoted_at\": \"2025-01-15\"
}"
{
"data": {
"id": 88081,
"amount": 33135941.52,
"deal_potential": "low",
"description": "Asperiores autem maiores rem minus. Quam suscipit nemo ut in dignissimos. Temporibus quidem enim eaque nobis facilis. Repudiandae officia odio sequi quis soluta.",
"status": "open",
"quoted_at": "2026-11-24",
"reference_date": "2026-11-24",
"created_at": "2026-11-24 16:21:10"
}
}
The ID of the quote.
curl --request DELETE \
"https://app.pipelead.to/api/v1/quotes/9" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
Endpoints para gerenciar pipelines de vendas
curl --request GET \
--get "https://app.pipelead.to/api/v1/pipelines?sort=name&filter%5Bis_default%5D=1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 1925,
"name": "vero eos perspiciatis",
"slug": "vero-eos-perspiciatis",
"description": "Voluptate ipsum adipisci incidunt qui nihil.",
"is_default": false,
"labels": [
{
"id": 25916,
"name": "et",
"type": "lost",
"color": "#00d7cf",
"order": 6,
"is_default": false,
"pipeline_id": 1925,
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
}
],
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
},
{
"id": 1926,
"name": "omnis est doloremque",
"slug": "omnis-est-doloremque",
"description": "Voluptas et dignissimos cupiditate molestiae nemo molestiae perspiciatis mollitia.",
"is_default": false,
"labels": [
{
"id": 25917,
"name": "facilis",
"type": "pending",
"color": "#34d681",
"order": 7,
"is_default": false,
"pipeline_id": 1926,
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
}
],
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
}
]
}
curl --request POST \
"https://app.pipelead.to/api/v1/pipelines" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Sales Pipeline\",
\"description\": \"Main sales pipeline for lead conversion\",
\"is_default\": false
}"
{
"data": {
"id": 1927,
"name": "dolorem dolor atque",
"slug": "dolorem-dolor-atque",
"description": "Minus excepturi sed odit voluptates eius quod est.",
"is_default": false,
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
}
}
The ID of the pipeline.
curl --request GET \
--get "https://app.pipelead.to/api/v1/pipelines/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 1928,
"name": "et distinctio et",
"slug": "et-distinctio-et",
"description": "Architecto velit cum qui qui.",
"is_default": false,
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
}
}
The ID of the pipeline.
curl --request PUT \
"https://app.pipelead.to/api/v1/pipelines/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Updated Sales Pipeline\",
\"description\": \"Updated description for the main sales pipeline\",
\"is_default\": true
}"
{
"data": {
"id": 1929,
"name": "dicta numquam aut",
"slug": "dicta-numquam-aut",
"description": "Quisquam iure rerum optio rerum magnam sunt.",
"is_default": false,
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
}
}
The ID of the pipeline.
curl --request DELETE \
"https://app.pipelead.to/api/v1/pipelines/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Endpoints para gerenciar produtos
curl --request GET \
--get "https://app.pipelead.to/api/v1/products?sort=-created_at&filter%5Bname%5D=Consultoria&filter%5Btype%5D=one_time&filter%5Bcategory_id%5D=1&page=1&per_page=15&include=category" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 11877,
"name": "maxime quisquam rerum",
"description": "Voluptas omnis nisi maxime ipsam consequuntur. At labore quae fuga sit est. Quo nisi doloribus sint doloremque laudantium aut.",
"amount": 156761,
"type": "single",
"billing_interval": null,
"created_at": "2026-11-24 16:21:13",
"updated_at": "2026-11-24 16:21:13"
},
{
"id": 11878,
"name": "quod velit aut",
"description": "Magni rerum eaque sit autem architecto. Maxime laborum reprehenderit fugiat ut. Et inventore mollitia eligendi enim.",
"amount": 303820,
"type": "recurring",
"billing_interval": "year",
"created_at": "2026-11-24 16:21:13",
"updated_at": "2026-11-24 16:21:13"
}
]
}
curl --request POST \
"https://app.pipelead.to/api/v1/products" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Produto Exemplo\",
\"description\": \"Descrição detalhada do produto.\",
\"amount\": 10000,
\"type\": \"single\",
\"billing_interval\": \"month\",
\"product_category_id\": 1
}"
{
"data": {
"id": 11879,
"name": "culpa minima et",
"description": "Dolorum tempora numquam totam iusto culpa unde consequatur. Et non corrupti vitae qui recusandae officia. Dolorem sit earum explicabo repudiandae error molestiae. Omnis fugit dolores in qui sit saepe tenetur.",
"amount": 973029,
"type": "recurring",
"billing_interval": "year",
"created_at": "2026-11-24 16:21:13",
"updated_at": "2026-11-24 16:21:13"
}
}
The ID of the product.
curl --request GET \
--get "https://app.pipelead.to/api/v1/products/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 11880,
"name": "expedita voluptatem eveniet",
"description": "Similique autem eius ipsa enim velit. Molestiae suscipit repudiandae nisi quo perferendis similique. Culpa molestiae reiciendis sapiente alias dicta illo quia.",
"amount": 965796,
"type": "recurring",
"billing_interval": "year",
"created_at": "2026-11-24 16:21:13",
"updated_at": "2026-11-24 16:21:13"
}
}
The ID of the product.
curl --request PUT \
"https://app.pipelead.to/api/v1/products/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Produto Exemplo\",
\"description\": \"Descrição detalhada do produto.\",
\"amount\": 10000,
\"type\": \"single\",
\"billing_interval\": \"month\",
\"product_category_id\": 1
}"
{
"data": {
"id": 11881,
"name": "veritatis eaque dignissimos",
"description": "Harum minus deserunt mollitia quia et sed natus temporibus. Molestias quia at error. Quaerat quo ad molestiae delectus exercitationem consequatur est.",
"amount": 620347,
"type": "single",
"billing_interval": "year",
"created_at": "2026-11-24 16:21:13",
"updated_at": "2026-11-24 16:21:13"
}
}
The ID of the product.
curl --request DELETE \
"https://app.pipelead.to/api/v1/products/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
Endpoints para consultar status disponíveis
curl --request GET \
--get "https://app.pipelead.to/api/v1/labels?sort=order&filter%5Btype%5D=qualified&include=pipeline" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 25913,
"name": "numquam",
"type": "qualified",
"color": "#52e221",
"order": 2,
"is_default": false,
"pipeline_id": null,
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
},
{
"id": 25914,
"name": "molestiae",
"type": "unqualified",
"color": "#ce5978",
"order": 11,
"is_default": false,
"pipeline_id": null,
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
}
]
}
The ID of the label.
curl --request GET \
--get "https://app.pipelead.to/api/v1/labels/8922" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 25915,
"name": "neque",
"type": "qualified",
"color": "#46bc5f",
"order": 16,
"is_default": false,
"pipeline_id": null,
"created_at": "2026-11-24 16:21:12",
"updated_at": "2026-11-24 16:21:12"
}
}
Endpoints para gerenciar tags
curl --request GET \
--get "https://app.pipelead.to/api/v1/tags?sort=-created_at&filter%5Btag%5D=VIP&filter%5Btype%5D=shared" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" curl --request POST \
"https://app.pipelead.to/api/v1/tags" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"tag\": \"Cliente VIP\",
\"type\": \"shared\",
\"color\": \"#FF0000\"
}"
The ID of the tag.
curl --request GET \
--get "https://app.pipelead.to/api/v1/tags/111" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" The ID of the tag.
curl --request PUT \
"https://app.pipelead.to/api/v1/tags/111" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"tag\": \"Cliente Premium\",
\"type\": \"shared\",
\"color\": \"#00FF00\"
}"
The ID of the tag.
curl --request DELETE \
"https://app.pipelead.to/api/v1/tags/111" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Endpoints para gerenciar tarefas
curl --request GET \
--get "https://app.pipelead.to/api/v1/tasks?sort=-due_at&filter%5Bdescription%5D=Ligar&filter%5Bdue_at%5D=2024-01-01&filter%5Bcompleted%5D=1&page=1&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 131211,
"description": "Facilis ratione nihil dolorem dolores labore.",
"due_at": "2026-11-29",
"completed_at": null,
"created_at": "2026-11-24 16:21:11",
"updated_at": "2026-11-24 16:21:11"
},
{
"id": 131212,
"description": "Nesciunt perspiciatis corrupti natus soluta ipsam.",
"due_at": "2026-11-24",
"completed_at": null,
"created_at": "2026-11-24 16:21:11",
"updated_at": "2026-11-24 16:21:11"
}
]
}
curl --request POST \
"https://app.pipelead.to/api/v1/tasks" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"description\": \"Ligar para cliente\",
\"lead_id\": 123,
\"due_at\": \"2024-01-30\",
\"assigned_to\": 123
}"
{
"data": {
"id": 131213,
"description": "Maiores iure veniam aut ut temporibus eius sit eligendi.",
"due_at": "2026-11-20",
"completed_at": null,
"created_at": "2026-11-24 16:21:11",
"updated_at": "2026-11-24 16:21:11"
}
}
The ID of the task.
curl --request GET \
--get "https://app.pipelead.to/api/v1/tasks/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 131214,
"description": "Vero nulla autem velit asperiores nulla aspernatur quis dolores.",
"due_at": "2026-11-29",
"completed_at": null,
"created_at": "2026-11-24 16:21:11",
"updated_at": "2026-11-24 16:21:11"
}
}
The ID of the task.
curl --request PUT \
"https://app.pipelead.to/api/v1/tasks/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"description\": \"Ligar para cliente\",
\"due_at\": \"2024-01-30\",
\"completed_at\": \"2026-11-24 16:21:11\",
\"completed_by\": 15,
\"assigned_to\": 6
}"
{
"data": {
"id": 131215,
"description": "Libero nobis dolor quia similique animi ullam.",
"due_at": "2026-11-29",
"completed_at": null,
"created_at": "2026-11-24 16:21:11",
"updated_at": "2026-11-24 16:21:11"
}
}
The ID of the task.
curl --request DELETE \
"https://app.pipelead.to/api/v1/tasks/1" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]
The ID of the task.
curl --request POST \
"https://app.pipelead.to/api/v1/tasks/1/complete" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"completed_by\": 1
}"
Leitura das transcrições de reuniões do projeto, por agendamento ou por lead. A listagem traz metadados, resumo, lead e agendamento; o conteúdo completo (text e segments) só vem no endpoint de detalhe.
The ID of the appointment.
curl --request GET \
--get "https://app.pipelead.to/api/v1/appointments/10/transcripts?filter%5Bsource%5D=google_meet&filter%5Bstarted_at%5D=%3E%3D2024-01-01&filter%5Bcreated_at%5D=%3E%3D2024-01-01%2C%3C2024-02-01&sort=-created_at&page=1&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 49,
"appointment_id": 213127,
"lead_uuid": "189e9114-a9af-4819-997f-1175d9b97d27",
"source": "manual",
"language": null,
"started_at": null,
"ended_at": null,
"created_at": "2026-11-24T16:21:10+00:00",
"updated_at": "2026-11-24T16:21:10+00:00",
"summary": null,
"summary_status": "pending",
"summary_generated_at": null,
"lead": {
"id": "189e9114-a9af-4819-997f-1175d9b97d27",
"name": "Maryse Hodkiewicz Sr.",
"email": "emily.konopelski@example.org",
"phone": "+55 (38) 98888-9208"
},
"appointment": {
"id": 213127,
"description": "Sed ipsam enim non. Amet voluptatum at nesciunt rerum quod. Perferendis dolor cupiditate non unde ut iste. Molestiae nesciunt voluptatibus ut aut.",
"starts_at": "2026-11-26T19:21:10+00:00",
"ends_at": "2026-11-26T20:21:10+00:00",
"status": "scheduled",
"calendar": {
"id": 1583,
"name": "cum"
}
}
},
{
"id": 50,
"appointment_id": 213128,
"lead_uuid": "e3d4f776-7366-4da5-8e6f-8ce41bdb1c2c",
"source": "manual",
"language": null,
"started_at": null,
"ended_at": null,
"created_at": "2026-11-24T16:21:10+00:00",
"updated_at": "2026-11-24T16:21:10+00:00",
"summary": null,
"summary_status": "pending",
"summary_generated_at": null,
"lead": {
"id": "e3d4f776-7366-4da5-8e6f-8ce41bdb1c2c",
"name": "Arnaldo Hoppe",
"email": "coy.dibbert@example.net",
"phone": "+55 (66) 99876-9483"
},
"appointment": {
"id": 213128,
"description": "Labore minima quaerat est ex pariatur necessitatibus fugit. Dolor ut assumenda eveniet nostrum. Hic nihil et pariatur repellendus iste voluptas a mollitia. Aut aut aut eligendi quia earum.",
"starts_at": "2026-12-22T19:21:10+00:00",
"ends_at": "2026-12-22T20:21:10+00:00",
"status": "scheduled",
"calendar": {
"id": 1585,
"name": "ut"
}
},
"text": "Ipsum illum occaecati delectus et velit ipsa. Inventore dolorem alias minus molestias consequatur sit asperiores. Voluptatem sit ut nam incidunt odio. Nulla in tempore in sed.\n\nVoluptates rem suscipit veritatis minus aspernatur quis labore dolorem. Sit enim id temporibus culpa sit illo dolores. Consequatur qui est sequi debitis quaerat. Odio in quia sunt quia ipsa soluta veritatis aut.\n\nNam quia perferendis quisquam qui. Laboriosam et corporis officia dolore quis fugiat rem.",
"segments": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Anterior",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Próximo »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 15,
"to": 2,
"total": 2
}
}
curl --request GET \
--get "https://app.pipelead.to/api/v1/transcripts?filter%5Bsource%5D=google_meet&filter%5Blead_uuid%5D=9a1b2c3d-4e5f-6789-abcd-ef0123456789&filter%5Bappointment_id%5D=10&filter%5Bsummary_status%5D=ready&filter%5Bstarted_at%5D=%3E%3D2024-01-01&filter%5Bcreated_at%5D=%3E%3D2024-01-01%2C%3C2024-02-01&filter%5Bupdated_at%5D=%3E%3D2024-01-01&sort=-updated_at&page=1&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 51,
"appointment_id": 213129,
"lead_uuid": "444dd2f3-6562-4162-abaf-b0f8eb76ff34",
"source": "manual",
"language": null,
"started_at": null,
"ended_at": null,
"created_at": "2026-11-24T16:21:12+00:00",
"updated_at": "2026-11-24T16:21:12+00:00",
"summary": null,
"summary_status": "pending",
"summary_generated_at": null,
"lead": {
"id": "444dd2f3-6562-4162-abaf-b0f8eb76ff34",
"name": "Presley Howell",
"email": "schimmel.willy@example.org",
"phone": "+55 (40) 93129-9466"
},
"appointment": {
"id": 213129,
"description": "Aut cum ut exercitationem et sunt aut. Delectus quas et occaecati tempore. Nihil aspernatur omnis deserunt quos facere.",
"starts_at": "2026-12-22T19:21:12+00:00",
"ends_at": "2026-12-22T20:21:12+00:00",
"status": "scheduled",
"calendar": {
"id": 1607,
"name": "aut"
}
}
},
{
"id": 52,
"appointment_id": 213130,
"lead_uuid": "af50e916-c552-44d0-b1c9-bcf41f568485",
"source": "manual",
"language": null,
"started_at": null,
"ended_at": null,
"created_at": "2026-11-24T16:21:12+00:00",
"updated_at": "2026-11-24T16:21:12+00:00",
"summary": null,
"summary_status": "pending",
"summary_generated_at": null,
"lead": {
"id": "af50e916-c552-44d0-b1c9-bcf41f568485",
"name": "Claudia Conn",
"email": "madelynn.zemlak@example.com",
"phone": "+55 (78) 99285-9253"
},
"appointment": {
"id": 213130,
"description": "Aliquid ducimus nobis illum voluptatibus nam. Qui enim rerum et. Porro excepturi quibusdam repudiandae molestias dolor aut.",
"starts_at": "2026-12-12T19:21:12+00:00",
"ends_at": "2026-12-12T20:21:12+00:00",
"status": "scheduled",
"calendar": {
"id": 1609,
"name": "et"
}
},
"text": "Optio perferendis rerum et fugiat perspiciatis dolorum. Reiciendis magnam dignissimos at enim dolores aut assumenda. Veritatis enim repellat consectetur.\n\nPariatur commodi error sed voluptate fugiat est accusamus doloribus. Ullam ex reprehenderit qui laborum vitae officiis consequatur. Harum et nam qui et nesciunt sed quod ducimus. Et quia rem quia minima molestiae aliquid enim voluptates.\n\nEius repellat excepturi voluptatem est voluptas. Voluptatem adipisci quisquam placeat dicta vero. Tempora quia qui eos repellat dolorem quaerat libero. Odio ut fugit et commodi assumenda atque rem saepe.",
"segments": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Anterior",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Próximo »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 15,
"to": 2,
"total": 2
}
}
curl --request GET \
--get "https://app.pipelead.to/api/v1/leads/325/transcripts?filter%5Bsource%5D=google_meet&filter%5Bappointment_id%5D=10&filter%5Bstarted_at%5D=%3E%3D2024-01-01&filter%5Bcreated_at%5D=%3E%3D2024-01-01%2C%3C2024-02-01&sort=-created_at&page=1&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 53,
"appointment_id": 213131,
"lead_uuid": "46ff6c06-116c-4d20-a936-253638186be4",
"source": "manual",
"language": null,
"started_at": null,
"ended_at": null,
"created_at": "2026-11-24T16:21:12+00:00",
"updated_at": "2026-11-24T16:21:12+00:00",
"summary": null,
"summary_status": "pending",
"summary_generated_at": null,
"lead": {
"id": "46ff6c06-116c-4d20-a936-253638186be4",
"name": "Dr. Aaron Douglas",
"email": "kitty50@example.net",
"phone": "+55 (63) 90988-9629"
},
"appointment": {
"id": 213131,
"description": "Iste adipisci est enim iusto. Tempora repudiandae iure error odit accusamus. Dolorem ea aliquam deserunt dolore quisquam. Aspernatur doloribus voluptas deleniti similique.",
"starts_at": "2026-12-24T19:21:12+00:00",
"ends_at": "2026-12-24T20:21:12+00:00",
"status": "scheduled",
"calendar": {
"id": 1611,
"name": "placeat"
}
}
},
{
"id": 54,
"appointment_id": 213132,
"lead_uuid": "f2444a59-5424-4198-ba82-11972e8a747d",
"source": "manual",
"language": null,
"started_at": null,
"ended_at": null,
"created_at": "2026-11-24T16:21:12+00:00",
"updated_at": "2026-11-24T16:21:12+00:00",
"summary": null,
"summary_status": "pending",
"summary_generated_at": null,
"lead": {
"id": "f2444a59-5424-4198-ba82-11972e8a747d",
"name": "Mrs. Rosemarie Graham IV",
"email": "kris.estella@example.net",
"phone": "+55 (13) 93002-9883"
},
"appointment": {
"id": 213132,
"description": "Est totam et temporibus ad. Consectetur excepturi fugiat expedita aut est. Maiores eos itaque ab nihil optio excepturi et hic. Fuga vel et sint.",
"starts_at": "2026-12-01T19:21:12+00:00",
"ends_at": "2026-12-01T20:21:12+00:00",
"status": "scheduled",
"calendar": {
"id": 1613,
"name": "est"
}
},
"text": "Eos fuga voluptate vel ab totam provident ut. Nemo harum aut sint quo possimus. Magnam exercitationem et ratione.\n\nQui dolorem sed quod neque eveniet quia. Dolore suscipit nemo incidunt tempora sit inventore. Corporis id quae dolor dignissimos.\n\nRerum molestiae sint quia corporis in est. Incidunt pariatur impedit amet animi mollitia. Et aliquid totam quisquam omnis.",
"segments": null
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Anterior",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Próximo »",
"page": null,
"active": false
}
],
"path": "/",
"per_page": 15,
"to": 2,
"total": 2
}
}
The ID of the transcript.
curl --request GET \
--get "https://app.pipelead.to/api/v1/transcripts/3" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 55,
"appointment_id": 213133,
"lead_uuid": "83faa404-e939-4e8b-868b-537c7d7c140e",
"source": "manual",
"language": null,
"started_at": null,
"ended_at": null,
"created_at": "2026-11-24T16:21:12+00:00",
"updated_at": "2026-11-24T16:21:12+00:00",
"summary": null,
"summary_status": "pending",
"summary_generated_at": null,
"lead": {
"id": "83faa404-e939-4e8b-868b-537c7d7c140e",
"name": "Ozella McKenzie",
"email": "laila01@example.net",
"phone": "+55 (49) 94285-9576"
},
"appointment": {
"id": 213133,
"description": "Aliquam et unde minima quas eius eveniet consectetur id. Aut omnis autem nobis veritatis. Consequuntur nulla qui est eos repellendus voluptas.",
"starts_at": "2026-12-16T19:21:12+00:00",
"ends_at": "2026-12-16T20:21:12+00:00",
"status": "scheduled",
"calendar": {
"id": 1615,
"name": "magni"
}
}
}
}
Endpoints para gerenciar usuários do projeto
curl --request GET \
--get "https://app.pipelead.to/api/v1/users?filter%5Bname%5D=Jo%C3%A3o&filter%5Bemail%5D=joao%40email.com&page=1&per_page=15" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 4799,
"name": "Dorothy Kozey",
"email": "mkuvalis@example.net",
"created_at": "2026-11-24 16:21:13"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=2",
"prev": null,
"next": "/?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Anterior",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": "/?page=2",
"label": "2",
"page": 2,
"active": false
},
{
"url": "/?page=2",
"label": "Próximo »",
"page": 2,
"active": false
}
],
"path": "/",
"per_page": 1,
"to": 1,
"total": 2
}
}
The ID of the user.
curl --request POST \
"https://app.pipelead.to/api/v1/users/1/attach" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"role\": \"manager\"
}"
The ID of the user.
curl --request DELETE \
"https://app.pipelead.to/api/v1/users/1/detach" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" Endpoints para gerenciar vendas
curl --request GET \
--get "https://app.pipelead.to/api/v1/sales?sort=-amount&filter%5Bamount%5D=5000&filter%5Bcreated_at%5D=%3E%3D2024-01-01%2C%3C2024-02-01&filter%5Breference_date%5D=2024-01-01&page=1&per_page=15&include=quote" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": [
{
"id": 104084,
"amount": 34739.55,
"sold_at": "2026-07-01",
"reference_date": "2026-07-01",
"created_at": "2026-07-01 19:56:47",
"updated_at": "2026-11-24 16:21:09"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=2",
"prev": null,
"next": "/?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 2,
"links": [
{
"url": null,
"label": "« Anterior",
"page": null,
"active": false
},
{
"url": "/?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": "/?page=2",
"label": "2",
"page": 2,
"active": false
},
{
"url": "/?page=2",
"label": "Próximo »",
"page": 2,
"active": false
}
],
"path": "/",
"per_page": 1,
"to": 1,
"total": 2
}
}
curl --request POST \
"https://app.pipelead.to/api/v1/sales" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount\": 500000,
\"lead_id\": \"f7b1f1b0-5b1b-4b3b-8b1b-1b1b1b1b1b1b\",
\"tags\": [
180215.2
],
\"created_by\": 1,
\"products\": [
{
\"product_id\": 1,
\"amount\": 10000,
\"quantity\": 2
},
{
\"product_id\": 2,
\"amount\": 5000,
\"quantity\": 1
}
],
\"sold_at\": \"2025-01-15\"
}"
The ID of the sale.
curl --request GET \
--get "https://app.pipelead.to/api/v1/sales/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" {
"data": {
"id": 104086,
"amount": 49169.27,
"sold_at": "2026-08-08",
"reference_date": "2026-08-08",
"created_at": "2026-08-08 20:04:28",
"updated_at": "2026-11-24 16:21:10"
}
}
The ID of the sale.
curl --request PUT \
"https://app.pipelead.to/api/v1/sales/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"amount\": 500000,
\"tags\": [
2824.67702
],
\"created_by\": 1,
\"sold_at\": \"2025-01-15\"
}"
{
"data": {
"id": 104087,
"amount": 23088.07,
"sold_at": "2026-11-19",
"reference_date": "2026-11-19",
"created_at": "2026-11-19 20:35:38",
"updated_at": "2026-11-24 16:21:10"
}
}
The ID of the sale.
curl --request DELETE \
"https://app.pipelead.to/api/v1/sales/2" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" [Empty response]