channels
zalo
zalo-service-management
zalo-sender-management

Create Zalo sender public key

The RSA key generation API allows you to generate a key pair consisting of a public key and a private key.<br />Only the public key will be returned by this method. The private key will be stored by Zalo to decrypt the content.<br />In case you've already generated an RSA key, please use the public key get API to get the public key.<br />To use the public RSA key, please Base64 decode the provided value!

post/zalo/1/sender/{sender}/public-key

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token 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

Sender ID.

Response

OK

publicKeystring required

Public key. The value is Base64 encoded!

Example response

{
  "publicKey": "MIICIjANB***hidden***Mvb0CAwEAAQ=="
}

Changes

No recorded changes to this operation across all 1 revision of this API.