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

# ProvisionVoicePhoneNumberWhatsAppAPI mirrors
erdo_request_voice_phone_number_whatsapp and files


> the same approval-gated action as its SMS sibling. Registering a WhatsApp sender costs nothing; the card guards what the outside world sees, the business name Meta reviews and every recipient reads. ?shared\_with=managed\_organizations|none changes only who else may send from an already-approved sender, through its own approval card.




## OpenAPI

````yaml /api/openapi.json post /v1/voice/phone-numbers/{number}/whatsapp
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, experiments, and bounded outreach.
    Authenticate with a Bearer API key (erdo_api_...) or scoped token
    (erdo_token_...).
  version: '2026-11-21'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/voice/phone-numbers/{number}/whatsapp:
    post:
      summary: |
        ProvisionVoicePhoneNumberWhatsAppAPI mirrors
        erdo_request_voice_phone_number_whatsapp and files
      description: >
        the same approval-gated action as its SMS sibling. Registering a
        WhatsApp sender costs nothing; the card guards what the outside world
        sees, the business name Meta reviews and every recipient reads.
        ?shared\_with=managed\_organizations|none changes only who else may send
        from an already-approved sender, through its own approval card.
      operationId: POST:mcp.ProvisionVoicePhoneNumberWhatsAppAPI
      parameters:
        - allowEmptyValue: true
          explode: false
          in: path
          name: number
          required: true
          schema:
            type: string
          style: simple
        - allowEmptyValue: true
          explode: true
          in: query
          name: shared_with
          required: false
          schema:
            type: string
          style: form
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  action_display:
                    type: string
                  approval_request_id:
                    type: string
                  decline:
                    $ref: '#/components/schemas/types.DeclineHold'
                  registration:
                    description: |
                      actually ran.
                    title: >
                      Registration is the registration's state, present only
                      when the action
                    type: object
                    additionalProperties: {}
                  status:
                    description: >
                      "submitted" when a standing policy approved it and the
                      registration ran.
                    title: >
                      Status is "pending_approval" when a card now awaits a
                      human, or
                    type: string
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  schemas:
    types.DeclineHold:
      description: >
        said why, and nothing new has been said since. No card was filed; the
        proposer is told the decline so it can stop, or re-propose with a
        different reason when the facts have changed.
      properties:
        approval_request_id:
          format: uuid
          title: |
            ApprovalRequestID is the rejected request the hold stands on.
          type: string
        decided_at:
          format: date-time
          type: string
        decided_by_external_ref:
          type: string
        decided_by_user_id:
          description: >
            the calling product's own name for them when it sent one.
            Attribution only.
          format: uuid
          title: >
            DecidedByUserID is the Erdo account that declined;
            DecidedByExternalRef is
          type: string
        reason:
          title: |
            Reason is the decider's own words, verbatim.
          type: string
      title: >
        DeclineHold is the gate's answer when a human already declined this
        subject,
      type: object
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.