curl --request PUT \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/stickers-stipop/v1/settings \
--header 'Content-Type: application/json' \
--header 'key: <key>' \
--header 'secret: <secret>' \
--data '{
"settings": {
"stipopApiKey": "e24ce#2324b2jrbj3212",
"stipopAppId": "9221#njdwe112213131"
}
}'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"stipopApiKey": "e24ce#2324b2jrbj3212",
"stipopAppId": "9221#njdwe112213131"
}
}
}
}
}
Stipop : Update the settings for Stipop extension
curl --request PUT \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/stickers-stipop/v1/settings \
--header 'Content-Type: application/json' \
--header 'key: <key>' \
--header 'secret: <secret>' \
--data '{
"settings": {
"stipopApiKey": "e24ce#2324b2jrbj3212",
"stipopAppId": "9221#njdwe112213131"
}
}'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"stipopApiKey": "e24ce#2324b2jrbj3212",
"stipopAppId": "9221#njdwe112213131"
}
}
}
}
}
AppID in which the extension has to be enabled/disabled
Update Stipop Settings
The response is of type object
.
Was this page helpful?