POST
/
apps
/
{appId}
/
extensions
/
push-notification
/
v1
/
upload-certificate-p8
Push notification Upload p8 Certificate
curl --request POST \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/push-notification/v1/upload-certificate-p8 \
  --header 'Content-Type: multipart/form-data' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --form certificate=@example-file.txt
{
  "data": {
    "statusCode": 200,
    "success": true,
    "body": {
      "success": true
    },
    "responseTime": 0.10614800453186035
  }
}

Headers

key
string
required

Authorization Key

secret
string
required

Authorization Secret

Path Parameters

appId
string
required

AppID in which the extension has to be enabled/disabled

Body

multipart/form-data

Response

200 - application/json

Upload Certificate

The response is of type object.