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

# Authorize Meta WhatsApp

> Get the Meta OAuth authorization URL to connect your WhatsApp Business Account.

## Headers

<ParamField header="x-api-key" type="string" required>
  API key used for authenticating requests to the API.
</ParamField>

<ParamField header="x-workspace-id" type="string" required>
  Workspace identifier for the API.
</ParamField>

## Response Fields

<ResponseField name="url" type="string">
  The Meta OAuth authorization URL. Redirect the user to this URL to authorize the WhatsApp Business connection.
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
    "url": "https://www.facebook.com/v18.0/dialog/oauth?client_id=...&redirect_uri=...&scope=...&state=..."
  }
  ```
</ResponseExample>
