Settings

Endpoints for managing various settings and configurations

Set account sharing settings

patch

This endpoint allows partners to set their account sharing settings.

Note: This endpoint is primarily for partners hosting embedded signup.

Authorizations
X-API-KeystringRequired

API Key for V2 authentication. Send your Partner API key in the X-API-Key header. Preferred authentication method.

Path parameters
partner_idstringRequired

The ID of the partner.

Example: examplePA
Body
solution_idstring · nullableOptional

The solution id that is created and approved on Meta

Example: 1343564534452435
business_manager_idstring · nullableOptional

The business manager id that is connected to the solution agreement

Example: 24862834653473623
Responses
chevron-right
200

Successful response

application/json
status_codeintegerRequiredExample: 200
patch
/api/v2/partners/{partner_id}/settings/account_sharing

Set partner change request settings

patch

This endpoint allows partners to set their partner change request settings (like auto approval).

Authorizations
X-API-KeystringRequired

API Key for V2 authentication. Send your Partner API key in the X-API-Key header. Preferred authentication method.

Path parameters
partner_idstringRequired

The ID of the partner.

Example: examplePA
Body
auto_approvebooleanRequired

When true, all the partner change requests from other clients to your partner hub will be automatically approved.

Example: true
Responses
chevron-right
200

Successful response

application/json
auto_approvebooleanRequired

When true, all the partner change requests from other clients to your partner hub will be automatically approved.

Example: true
patch
/api/v2/partners/{partner_id}/settings/partner_change_request

Toggle routing of marketing templates via Marketing Messages API.

patch

This endpoint allows updating the use_marketing_messages_api flag.

If the use_marketing_messages_api flag is set to True, the marketing templates will be routed through the Marketing Messages API for all channels. If set to False, the marketing templates will not be routed through the Marketing Messages API for all channels.

Authorizations
X-API-KeystringRequired

API Key for V2 authentication. Send your Partner API key in the X-API-Key header. Preferred authentication method.

Path parameters
partner_idstringRequired

The ID of the partner.

Example: examplePA
Body
use_marketing_messages_apibooleanRequired

When true, marketing template requests are routed through the Marketing Messages API.

Example: true
Responses
chevron-right
200

Successful response

application/json
status_codeintegerRequiredExample: 200
patch
/api/v2/partners/{partner_id}/settings/marketing_templates_routing

Set default data localization region settings

patch

This endpoint allows partners to set default data localization region for future numbers. The default data localization region is the region of the local storage in the Meta infrastructure. Meta documentation: https://developers.facebook.com/docs/whatsapp/cloud-api/overview/local-storage/

Authorizations
X-API-KeystringRequired

API Key for V2 authentication. Send your Partner API key in the X-API-Key header. Preferred authentication method.

Path parameters
partner_idstringRequired

The ID of the partner.

Example: examplePA
Body
default_data_localization_regionstring · enumRequired

The default region for all new channels to store messaging data on Meta infrastructure

Example: DEPossible values:
Responses
chevron-right
200

Successful response

application/json
status_codeintegerRequiredExample: 200
patch
/api/v2/partners/{partner_id}/settings/default_data_localization_region

Last updated

Was this helpful?