Upload Certificate

POST {{URL}}/v1/certificates/external

Make POST calls to upload a CA certificate. Make sure that the uploaded certificate contains the following sections in one file and in the same order as displayed here:

  • Private key
  • Certificate
  • One or more intermediate CA certificates — The WhatsApp Business API client needs at least one intermediate CA certificate, otherwise the upload fails.

If a certificate already exists, it is overwritten. You must restart the web server, that is, all Webapp container instances, once the certificate is uploaded.

You should be extremely cautious to only update the certificate with a valid (i.e., proper & correct) certificate. Otherwise, the web server fails to restart (as the API endpoint is down) and requires manual intervention to recover from the situation.

Response

If successful the request returns null .

HEADERS

| Key | Datatype | Required | Description | | Authorization | string | | | | Content-Type | string | | | | Content-Length | string | | |

RESPONSES

status: ``