> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bydoctor.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# ByDoctor API: Clinic Management Integration Reference

> Integrate your systems with ByDoctor's clinic management platform. Access appointments, patients, payments, and real-time webhook events.

ByDoctor is a Brazilian clinic management platform that provides a public REST API and webhook system so you can integrate external tools, automate workflows, and synchronize data with your own systems. This documentation covers everything you need to build integrations against the ByDoctor API — from authentication to real-time event subscriptions.

<CardGroup cols={2}>
  <Card title="Introduction" icon="book-open" href="/introduction">
    Learn what the ByDoctor API can do and how to get started
  </Card>

  <Card title="Authentication" icon="key" href="/authentication">
    Get your API key and authenticate your first request
  </Card>

  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Make your first API call in under 5 minutes
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference/appointments/list">
    Browse all available endpoints and their schemas
  </Card>
</CardGroup>

## What can you build?

The ByDoctor API gives you programmatic access to the core clinical workflows your team runs every day.

<CardGroup cols={2}>
  <Card title="Scheduling Integration" icon="calendar" href="/guides/scheduling-integration">
    Sync appointments with external calendars, booking tools, or EHR systems
  </Card>

  <Card title="Patient Sync" icon="user" href="/guides/patient-sync">
    Keep patient records in sync between ByDoctor and other platforms
  </Card>

  <Card title="WhatsApp Notifications" icon="message" href="/guides/whatsapp-notifications">
    Trigger automated messages when appointments are booked or changed
  </Card>

  <Card title="Financial Reporting" icon="chart-bar" href="/guides/financial-reporting">
    Pull payment and revenue data into your reporting dashboards
  </Card>
</CardGroup>

## Get started in 3 steps

<Steps>
  <Step title="Create a ByDoctor account">
    Sign up at [app.bydoctor.com.br](https://www.app.bydoctor.com.br/auth/sign-up) and complete the guided onboarding. A free trial is available — no credit card required.
  </Step>

  <Step title="Generate an API key">
    In your ByDoctor dashboard, go to **Settings → API** and create a new API key. Copy it somewhere safe — you'll use it on every request.
  </Step>

  <Step title="Make your first call">
    Send a `GET /appointments` request with your key in the `Authorization` header. See the [Quickstart](/quickstart) for a copy-paste example.
  </Step>
</Steps>

<Note>
  The ByDoctor API is under active development. Subscribe to the [changelog](https://bydoctor.com.br/blog) or watch this documentation for updates on new endpoints and webhook events.
</Note>
