For the complete documentation index, see llms.txt. This page is also available as Markdown.

Encryption

Endpoints for WhatsApp Business encryption features

Get Business Encryption Public Key

get

Retrieve the current business public key and its signature verification status. The public key is used for encrypting message payloads and data channel requests.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Query parameters
fieldsstringOptional

Comma-separated list of fields to include. Available fields: business_public_key, business_public_key_signature_status

Responses
200

Business encryption public key retrieved successfully

application/json

Response containing business encryption public key information wrapped in a data array

get
/whatsapp_business_encryption

Set Business Encryption Public Key

post

Upload and configure a business public key for message payload encryption. The key must be a valid RSA public key in PEM format. Only one active public key per phone number at a time; previous keys are replaced when a new one is uploaded.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Body
stringOptional
Responses
200

Public key successfully uploaded and signed

application/json

Response after successfully uploading and configuring the business encryption public key

successbooleanOptionalExample: true
post
/whatsapp_business_encryption

Last updated

Was this helpful?