Path Parameters
AppID in which the extension has to be enabled/disabled
Body
multipart/form-data
Upload Certificate
Response
200 - application/json
Query Certificate
curl --request POST \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/push-notification/v1/upload-certificate-p12 \
  --header 'Content-Type: multipart/form-data' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --form certificate=@example-file{
  "data": {
    "statusCode": 200,
    "success": true,
    "body": {
      "certificate_p12": true,
      "certificate_p8": true
    },
    "responseTime": 0.14275598526000977
  }
}Push notification : Upload a p12 Certificate
curl --request POST \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/push-notification/v1/upload-certificate-p12 \
  --header 'Content-Type: multipart/form-data' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --form certificate=@example-file{
  "data": {
    "statusCode": 200,
    "success": true,
    "body": {
      "certificate_p12": true,
      "certificate_p8": true
    },
    "responseTime": 0.14275598526000977
  }
}AppID in which the extension has to be enabled/disabled
Upload Certificate
Query Certificate
Show child attributes
Was this page helpful?