Referência das rotas
Todas as 63 operações da V1. A clínica é derivada da API Key. Nunca envie clinica_id.
URL base:
https://wabnuxerjnecrjynyyfo.supabase.co/functions/v1/public-api-v1/v1
| Método | Caminho | Scope | Operação |
|---|---|---|---|
GET | /v1/account | account:read | getAccount |
PATCH | /v1/account | account:write | updateAccount |
GET | /v1/subscription | subscription:read | getSubscription |
GET | /v1/users | users:read | listUsers |
POST | /v1/users/invitations | users:write | inviteUser |
PATCH | /v1/users/{user_id} | users:write | updateUser |
POST | /v1/users/{user_id}/deactivate | users:write | deactivateUser |
POST | /v1/users/{user_id}/reactivate | users:write | reactivateUser |
GET | /v1/contacts | contacts:read | listContacts |
POST | /v1/contacts | contacts:write | createContact |
GET | /v1/contacts/{contact_id} | contacts:read | getContact |
PATCH | /v1/contacts/{contact_id} | contacts:write | updateContact |
DELETE | /v1/contacts/{contact_id} | contacts:delete | deleteContact |
POST | /v1/contacts/{contact_id}/move | kanban:write | moveContact |
POST | /v1/contacts/{contact_id}/follow-up/pause | contacts:write | pauseContactFollowUp |
POST | /v1/contacts/{contact_id}/follow-up/resume | contacts:write | resumeContactFollowUp |
GET | /v1/kanban/stages | kanban:read | listKanbanStages |
POST | /v1/kanban/stages | kanban:write | createKanbanStage |
PATCH | /v1/kanban/stages/{stage_id} | kanban:write | updateKanbanStage |
PUT | /v1/kanban/stages/order | kanban:write | reorderKanbanStages |
DELETE | /v1/kanban/stages/{stage_id} | kanban:write | deleteKanbanStage |
GET | /v1/follow-ups/campaigns | followups:read | listFollowUpCampaigns |
POST | /v1/follow-ups/campaigns | followups:write | createFollowUpCampaign |
GET | /v1/follow-ups/campaigns/{campaign_id} | followups:read | getFollowUpCampaign |
PATCH | /v1/follow-ups/campaigns/{campaign_id} | followups:write | updateFollowUpCampaign |
POST | /v1/follow-ups/campaigns/{campaign_id}/archive | followups:write | archiveFollowUpCampaign |
POST | /v1/follow-ups/campaigns/{campaign_id}/activate | followups:execute | activateFollowUpCampaign |
POST | /v1/follow-ups/campaigns/{campaign_id}/pause | followups:execute | pauseFollowUpCampaign |
GET | /v1/follow-ups/campaigns/{campaign_id}/templates | followups:read | listFollowUpTemplates |
POST | /v1/follow-ups/campaigns/{campaign_id}/templates | followups:write | createFollowUpTemplate |
PATCH | /v1/follow-ups/templates/{template_id} | followups:write | updateFollowUpTemplate |
POST | /v1/follow-ups/templates/{template_id}/archive | followups:write | archiveFollowUpTemplate |
GET | /v1/follow-ups/executions | followups:read | listFollowUpExecutions |
GET | /v1/follow-ups/metrics | followups:read | getFollowUpMetrics |
GET | /v1/ads/contacts | ads:read | listAdContacts |
GET | /v1/ads/rules | ads:read | listAdRules |
POST | /v1/ads/rules | ads:write | createAdRule |
PATCH | /v1/ads/rules/{rule_id} | ads:write | updateAdRule |
DELETE | /v1/ads/rules/{rule_id} | ads:write | deleteAdRule |
GET | /v1/links/custom | links:read | listCustomLinks |
POST | /v1/links/custom | links:write | createCustomLink |
PATCH | /v1/links/custom/{link_id} | links:write | updateCustomLink |
DELETE | /v1/links/custom/{link_id} | links:write | deleteCustomLink |
GET | /v1/links/tracking | links:read | listTrackingLinks |
POST | /v1/links/tracking | links:write | createTrackingLink |
PATCH | /v1/links/tracking/{link_id} | links:write | updateTrackingLink |
DELETE | /v1/links/tracking/{link_id} | links:write | deleteTrackingLink |
GET | /v1/links/contacts | links:read | listLinkContacts |
GET | /v1/links/metrics | links:read | getLinkMetrics |
GET | /v1/tags | tags:read | listTags |
POST | /v1/tags | tags:write | createTag |
PATCH | /v1/tags/{tag_id} | tags:write | updateTag |
DELETE | /v1/tags/{tag_id} | tags:write | deleteTag |
PUT | /v1/contacts/{contact_id}/tags | tags:write | replaceContactTags |
GET | /v1/services | services:read | listServices |
POST | /v1/services | services:write | createService |
PATCH | /v1/services/{service_id} | services:write | updateService |
DELETE | /v1/services/{service_id} | services:write | deactivateService |
GET | /v1/appointments | appointments:read | listAppointments |
POST | /v1/appointments | appointments:write | createAppointment |
GET | /v1/appointments/{appointment_id} | appointments:read | getAppointment |
PATCH | /v1/appointments/{appointment_id} | appointments:write | updateAppointment |
DELETE | /v1/appointments/{appointment_id} | appointments:write | cancelAppointment |
Contrato executável: OpenAPI 3.1.