Always use the Copy icon in the example field when copying examples. Manual copy and paste is known to cause data format errors.
RSA public key registration
Prior to any calls, a customer needs to provide **** at least one pem-encoded public key, associated with a name that will identify this key on the Connect platform (WECHAT, WHATSAPP, SMS, SMS-DIRECT or LINE). These two pieces of information will enable the customer to generate a Java Web Token (JWT) required with all calls to the Connect platform API endpoints.
The Connect platform requires the JWT token to include this specific information:
| ------------------| -------------- | ------------|
| Subject | sub | The subject must follow format ces:customer:public_key_name where public_key_name is the name of the public key registered in Connect platform system|
| Issued At | iat | The creation date of the token, following the RFC7519 format|
| Expiration date | exp | The expiration date of the token, following the RFC7519 format. This must be at most equal to iat + 30 minutes.|
| JWT ID | jti | A unique ID for your JWT (e.g., a random UUID)|
Note: This library is a dependency of the Symphony SDK, meaning that, if you are set up to work with Symphony APIs, you do not require any additional library.