WhatsApp

WhatsApp

Get all Business Manager Accounts

get
Responses
200

Successful response

application/json
get
/api/whatsapp/business-manager-accounts

Display a specific Business Manager Account

get

Fetches a specific Business Manager Account by its ID.

Path parameters
idstringRequired

The ID of the Business Manager Account to retrieve.

Responses
200

Business Manager Account fetched successfully.

application/json
get
/api/whatsapp/business-manager-accounts/{id}

Onboard a WhatsApp business account

post

Exchanges an authorization code for an access token and retrieves the Business Manager ID associated with the WhatsApp Business Account.

Body
codestringRequired

The authorization code to exchange for an access token.

whatsapp_business_account_idstringRequired

The WhatsApp Business Account ID.

Responses
200

Onboarding successful

application/json
post
/api/whatsapp/onboard

Get WhatsApp business profile by phone number ID

get

Fetches the WhatsApp business profile for a specified phone number ID.

Path parameters
phoneNumberIDstringRequired

The ID of the phone number associated with the WhatsApp business profile.

Example: 108427225641466
Responses
200

Successful response with business profile

application/json
get
/api/whatsapp/whatsapp-business-profile/{phoneNumberID}

Get phone numbers for a WhatsApp business account

get

Fetches phone numbers associated with a specified WhatsApp business account, and returns the stored phone numbers.

Path parameters
whatsapp_business_account_idstringRequired

The ID of the WhatsApp business account.

Example: 109346662215398
Responses
200

Successful response with phone numbers

application/json
get
/api/whatsapp/whatsapp-phone-numbers/{whatsapp_business_account_id}

Last updated