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

# Request a callback



## OpenAPI

````yaml /openapi.yaml post /public/pages/{page}/callback-requests
openapi: 3.1.0
info:
  title: Contact Button API
  version: 1.0.0-alpha.1
  description: >
    API-first management and public agent actions for Contact Buttons and
    button.contact pages.

    API v1 is the first public contract. Existing private legacy API and browser
    workflows remain supported.
  contact:
    name: Contact Button
    url: https://learn.contactbutton.com
servers:
  - url: https://api.contactbutton.com/v1
    description: Production (canonical)
  - url: https://app.contactbutton.com/v1
    description: Backwards-compatible application-domain alias
security:
  - bearerAuth: []
tags:
  - name: Onboarding
    description: Human-verified agent onboarding.
  - name: Workspaces
  - name: Team
  - name: Pages
  - name: Domains
  - name: Buttons
  - name: Forms
  - name: Surveys
  - name: Apps
  - name: Knowledge
  - name: Booking
  - name: Telephony
    description: >-
      Bring-your-own-Telnyx setup, call flows, phone numbers, and voice
      interactions.
  - name: Reviews
    description: >-
      Send consented review requests through workspace-owned email, SMS, and
      WhatsApp channels.
  - name: Commerce
  - name: Engagement inbox
  - name: Public actions
    description: Public, rate-limited actions that may require human confirmation.
paths:
  /public/pages/{page}/callback-requests:
    post:
      tags:
        - Public actions
      summary: Request a callback
      operationId: requestCallback
      parameters:
        - $ref: '#/components/parameters/PublicPage'
        - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CallbackRequest'
      responses:
        '202':
          $ref: '#/components/responses/PendingConfirmation'
      security: []
components:
  parameters:
    PublicPage:
      name: page
      in: path
      required: true
      schema:
        type: string
        description: Published page UUID or slug.
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      description: Stable 8–120 character key for safe mutation retries.
      schema:
        type: string
        minLength: 8
        maxLength: 120
  schemas:
    CallbackRequest:
      type: object
      required:
        - phone
        - email
        - timezone
      properties:
        phone:
          type: string
        email:
          type: string
          format: email
        name:
          type: string
        timezone:
          type: string
        window_starts_at:
          type: string
          format: date-time
        window_ends_at:
          type: string
          format: date-time
        subject:
          type: string
        notes:
          type: string
        requested_by:
          type: string
          enum:
            - human
            - agent
        agent_context:
          $ref: '#/components/schemas/AgentContext'
    AgentContext:
      type: object
      required:
        - name
      properties:
        name:
          type: string
        provider:
          type: string
        identifier:
          type: string
        acting_for:
          type: string
    DataResponse:
      type: object
      required:
        - data
        - meta
      properties:
        data: {}
        meta:
          type: object
          properties:
            request_id:
              type: string
            next_cursor:
              type:
                - string
                - 'null'
  responses:
    PendingConfirmation:
      description: Request created; an OTP was sent to the represented human.
      content:
        application/json:
          schema:
            allOf:
              - $ref: '#/components/schemas/DataResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Sanctum personal access token
      description: >
        A Contact Button scoped bearer key. Send `Authorization: Bearer
        <token>`.

        Token abilities are enforced independently of workspace membership; both
        checks must pass.

        OAuth 2.0 authorization-code flows are not currently available.
      x-contact-button-token-abilities:
        workspaces:read: Read workspaces, teams, domains, settings, and connections.
        workspaces:write: >-
          Create and manage workspaces, teams, domains, settings, and
          connections.
        content:read: Read buttons, forms, lists, pages, booking types, and knowledge.
        content:write: Create, update, publish, and remove content.
        engagements:read: >-
          Read submissions, subscribers, bookings, callbacks, calls, reviews,
          and conversations.
        engagements:manage: Reply to and manage engagement records.
        actions:request: Request protected actions that can still require human confirmation.

````

## Related topics

- [List callback requests](/api-reference/engagement-inbox/list-callback-requests.md)
- [Bookings and callbacks](/guides/booking-callbacks.md)
- [Update callback status](/api-reference/engagement-inbox/update-callback-status.md)
- [Connect Telnyx](/guides/telnyx.md)
- [Human confirmation](/agents/confirmation.md)
