Path Parameters
AppID in which the extension has to be enabled/disabled
Body
application/json
Response
200 - application/json
Store Rich Media Preview Settings
curl --request POST \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/rich-media/v1/settings \
  --header 'Content-Type: application/json' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --data '{
  "settings": {
    "iframelyApiKey": "abcd12345678"
  }
}'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "data": {
        "settings": {
          "iframelyApiKey": "abcd12345678"
        }
      }
    }
  }
}Rich media preview : Store new settings for Rich media preview extension
curl --request POST \
  --url https://apimgmt.cometchat.io/apps/{appId}/extensions/rich-media/v1/settings \
  --header 'Content-Type: application/json' \
  --header 'key: <key>' \
  --header 'secret: <secret>' \
  --data '{
  "settings": {
    "iframelyApiKey": "abcd12345678"
  }
}'{
  "data": {
    "statusCode": 200,
    "success": true,
    "responseTime": 3.061743974685669,
    "body": {
      "data": {
        "settings": {
          "iframelyApiKey": "abcd12345678"
        }
      }
    }
  }
}AppID in which the extension has to be enabled/disabled
Show child attributes
Store Rich Media Preview Settings
Show child attributes
Was this page helpful?