Skip to main content

Setup and Authorization

WhatsApp Business APIs use the same setup and authorization flow as the core APIs.

Refer to the core guide: Setup and Authorization

Base URL

Base URL for all WhatsApp endpoints is https://api.frejun.com/api/v1

Authentication

WhatsApp APIs support two authentication methods:

OAuth 2.0

Once authorized, include the access token in the Authorization: Bearer <token> header for all WhatsApp requests.

API Key

Alternatively, you can authenticate using an API key. Include it in the request header:

Authorization: Api-Key <your_api_key>

To create an API key, refer to the API Key Authentication section in the core documentation.