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

# PUT Request

> Proxy a PUT request to the Official WhatsApp Business API

This endpoint lets you proxy a PUT request to the Official WhatsApp Business API.
You will be authenticated to the whatsapp account you are proxying for.

Look to the [WhatsApp Business API documentation](https://developers.facebook.com/docs/whatsapp/business-api/reference) for more information on the available endpoints.


## OpenAPI

````yaml api-reference/openapi.json put /api/v1/whatsapp-accounts/{id}/proxy/{path}/
openapi: 3.0.3
info:
  title: Wassist API
  version: 1.0.0
  description: API for building WhatsApp AI agents
servers:
  - url: https://backend.wassist.app
    description: Production
  - url: http://localhost:8050
    description: Development
security: []
tags:
  - name: Agents
    description: Create and manage AI agents
  - name: Conversations
    description: Chat conversations and messages
  - name: WhatsApp
    description: WhatsApp Business account management
  - name: Contacts
    description: Contact management
  - name: Integrations
    description: Third-party integrations
paths:
  /api/v1/whatsapp-accounts/{id}/proxy/{path}/:
    put:
      tags:
        - api
      description: |-
        Proxy all requests through the WhatsApp Business API.
        The path after /proxy/ is forwarded to the Graph API.
        Example: /whatsapp-accounts/123/proxy/123456/message_templates
                 -> forwards to https://graph.facebook.com/v21.0/123456/message_templates
      operationId: api_v1_whatsapp_accounts_proxy_update
      parameters:
        - in: path
          name: id
          schema:
            type: string
          required: true
        - in: path
          name: path
          schema:
            type: string
            pattern: ^.+$
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WhatsAppAccount'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WhatsAppAccount'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    WhatsAppAccount:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
          nullable: true
          maxLength: 255
        waId:
          type: string
        phoneNumbers:
          type: string
          readOnly: true
        templatesUrl:
          type: string
          readOnly: true
      required:
        - id
        - phoneNumbers
        - templatesUrl
        - waId
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key authentication. Pass your API key in the X-API-Key header.

````