channels
whatsapp
whatsapp-service-management
whatsapp-sender-management
Get WhatsApp sender public key
Retrieves the public key for WhatsApp encryption. The public key enables end-to-end encrypted data exchange with WhatsApp, such as in WhatsApp Flows.
get/whatsapp/1/senders/{sender}/public-key
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- Auth
- OAuth 2Client credentialsToken URL: https://api.infobip.com/auth/1/oauth2/token
- or API key in header Authorization
- or API key in header Authorization
- or HTTP basic
Path parameters
senderstring required
Registered WhatsApp sender number. Must be in international format.
Response
Public key retrieved successfully.
Example response
{
"publicKey": "-----BEGIN RSA PUBLIC KEY-----\nMIIBIjANBgkqhkiG...\n-----END RSA PUBLIC KEY-----",
"publicKeySignatureStatus": "VALID"
}Changes
No recorded changes to this operation across all 1 revision of this API.