# Preflow API > API REST pública do Preflow (v1): WhatsApp, leads, contas e funis, cadências, reuniões e webhooks assinados (Standard Webhooks). Autenticação por chave secreta do workspace (`Authorization: Bearer pf_live_…`); todo POST, PATCH e DELETE exige `Idempotency-Key`. Base: https://api.preflow.sale/v1. - Especificação OpenAPI 3.1 (pt-BR): https://developers.preflow.sale/openapi.json - OpenAPI 3.1 specification (English): https://developers.preflow.sale/openapi.en.json - Tudo em um arquivo / everything in one file: https://developers.preflow.sale/llms-full.txt ## Documentação (português) - [API do Preflow](https://developers.preflow.sale/pt/index.md): Integre o sistema da sua empresa ao Preflow — WhatsApp, leads, contas, cadências, reuniões e webhooks. - [Primeiros passos em 5 minutos](https://developers.preflow.sale/pt/quickstart.md): Crie uma chave de API no Preflow e faça a primeira chamada com GET /v1/me. - [WhatsApp](https://developers.preflow.sale/pt/guides/whatsapp.md): Mande WhatsApp pelas linhas do workspace: texto, template aprovado e mídia, com status de entrega e histórico. - [Leads, contas e cadências](https://developers.preflow.sale/pt/guides/leads.md): Crie leads, busque e sincronize, leia contas e funis, inscreva em cadências e consulte reuniões. - [Webhooks](https://developers.preflow.sale/pt/guides/webhooks.md): Receba avisos assinados do Preflow: cadastro, conferência da assinatura (Node.js, Python, PHP), entrega e novas tentativas. - [Receber leads do seu site](https://developers.preflow.sale/pt/guides/website-leads.md): Mande para o Preflow as conversões do formulário do seu site, landing ou app com POST /v1/inbound-submissions: MQL, atribuição e cadência de Inbound. - [Autenticação e acessos](https://developers.preflow.sale/pt/concepts/authentication.md): Chave secreta por workspace, cabeçalho Authorization e os acessos (escopos) de cada rota. - [Idempotência](https://developers.preflow.sale/pt/concepts/idempotency.md): Toda escrita exige Idempotency-Key; repetir o mesmo pedido nunca executa duas vezes. - [Paginação](https://developers.preflow.sale/pt/concepts/pagination.md): Listas paginadas por cursor, com limit e next_cursor. - [Limites](https://developers.preflow.sale/pt/concepts/rate-limits.md): Limites de pedidos por chave e por linha, cabeçalhos RateLimit e o erro 429. - [Ambientes](https://developers.preflow.sale/pt/concepts/environments.md): Produção e homologação, cada um com o próprio endereço e as próprias chaves. - [Versionamento](https://developers.preflow.sale/pt/concepts/versioning.md): Versão na URL, mudanças compatíveis a qualquer momento e /v2 para o que quebra. - [Erros](https://developers.preflow.sale/pt/concepts/errors.md): Formato único de erro, quando tentar de novo e o catálogo completo de códigos. - [Eventos](https://developers.preflow.sale/pt/events.md): Catálogo de eventos de webhook do Preflow e o formato do data de cada um. - [Mudanças](https://developers.preflow.sale/pt/changelog.md): O que mudou na API pública do Preflow, por entrega. ## Documentation (English) - [Preflow API](https://developers.preflow.sale/en/index.md): Connect your company's systems to Preflow — WhatsApp, leads, accounts, cadences, meetings and webhooks. - [Quickstart in 5 minutes](https://developers.preflow.sale/en/quickstart.md): Create an API key in Preflow and make your first call with GET /v1/me. - [WhatsApp](https://developers.preflow.sale/en/guides/whatsapp.md): Send WhatsApp messages from the workspace's lines: text, approved templates and media, with delivery status and history. - [Leads, accounts and cadences](https://developers.preflow.sale/en/guides/leads.md): Create leads, look them up and sync them, read accounts and funnels, enroll in cadences and query meetings. - [Webhooks](https://developers.preflow.sale/en/guides/webhooks.md): Receive signed notifications from Preflow: setup, signature verification (Node.js, Python, PHP), delivery and retries. - [Receive leads from your website](https://developers.preflow.sale/en/guides/website-leads.md): Send Preflow the conversions from your website form, landing page or app with POST /v1/inbound-submissions: MQL, attribution and Inbound cadence. - [Authentication and scopes](https://developers.preflow.sale/en/concepts/authentication.md): A secret key per workspace, the Authorization header and the scopes each route requires. - [Idempotency](https://developers.preflow.sale/en/concepts/idempotency.md): Every write requires an Idempotency-Key; repeating the same request never runs it twice. - [Pagination](https://developers.preflow.sale/en/concepts/pagination.md): Cursor-based lists, with limit and next_cursor. - [Rate limits](https://developers.preflow.sale/en/concepts/rate-limits.md): Request limits per key and per line, RateLimit headers and the 429 error. - [Environments](https://developers.preflow.sale/en/concepts/environments.md): Production and staging, each with its own base URL and its own keys. - [Versioning](https://developers.preflow.sale/en/concepts/versioning.md): The version is in the URL, compatible changes can ship at any time and breaking changes go to /v2. - [Errors](https://developers.preflow.sale/en/concepts/errors.md): A single error format, when to retry and the full catalog of codes. - [Events](https://developers.preflow.sale/en/events.md): Catalog of Preflow webhook events and the data format of each one. - [Changelog](https://developers.preflow.sale/en/changelog.md): What changed in the Preflow public API, release by release.