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

# Buscar Agendamento

> Retorna os dados de um agendamento pelo ID.



## OpenAPI

````yaml GET /appointments/{appointmentId}
openapi: 3.1.0
info:
  title: Cordialy API
  description: >-
    API pública para integração com a plataforma Cordialy de atendimento via
    WhatsApp com IA.
  version: 1.0.0
  contact:
    email: suporte@cordialy.ai
servers:
  - url: https://api.cordialy.ai/integrations/v1
    description: Produção
security:
  - ApiKeyAuth: []
paths:
  /appointments/{appointmentId}:
    get:
      tags:
        - Agendamentos
      summary: Buscar agendamento
      description: Retorna os dados de um agendamento pelo ID.
      operationId: getAppointment
      parameters:
        - name: appointmentId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Agendamento encontrado
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Appointment'
        '404':
          description: Agendamento não encontrado
components:
  schemas:
    Appointment:
      type: object
      properties:
        id:
          type: string
          format: uuid
        store_id:
          type: string
          format: uuid
        lead_id:
          type: string
          format: uuid
          nullable: true
        title:
          type: string
          description: Título/assunto do agendamento
        scheduled_at:
          type: string
          format: date-time
        duration_minutes:
          type: integer
        status:
          type: string
          enum:
            - scheduled
            - done
            - cancelled
            - no_show
        notes:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Chave de API gerada na plataforma em Integrações → API Keys

````