Skip to main content
POST
Upload WhatsApp sender public key

Authorizations

Authorization
string
header
default:App
required

This is the most secure authorization type and the one with the most flexibility.

API keys can be generated by calling the dedicated API method. Furthermore, API keys can have a limited scope and cover only some API methods. Lastly, they can be revoked at any time. This range of possibilities makes API keys well suited for separating the API access rights across multiple applications or use cases. Finally, the loss of an API key is easily manageable.

You can manage your API keys from GUI, or programmatically with dedicated API.

API key Authorization header example:

Path Parameters

sender
string
required

Registered WhatsApp sender number. Must be in international format.

Required string length: 1 - 15
Pattern: [0-9]+

Body

multipart/form-data
file
file
required

Multipart form data containing the public key file. The file must be in PEM format with a 2048-bit RSA key and include the appropriate header and footer lines. Example file content: `----BEGIN PUBLIC KEY-----\n MIIBIjAN... \n ----END PUBLIC

Response

Public key uploaded successfully.