curl --request POST \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/url-shortener-bitly/v1/settings \
--header 'Content-Type: application/json' \
--header 'key: <key>' \
--header 'secret: <secret>' \
--data '{}'{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"bitlyAccessToken": "1213n2kn2232ffg",
"groupGUID": "1234ddsf5eee22"
}
}
}
}
}Bitly : Store new settings for Bitly extension
curl --request POST \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/url-shortener-bitly/v1/settings \
--header 'Content-Type: application/json' \
--header 'key: <key>' \
--header 'secret: <secret>' \
--data '{}'{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"bitlyAccessToken": "1213n2kn2232ffg",
"groupGUID": "1234ddsf5eee22"
}
}
}
}
}For the complete error reference, see Error Guide.Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
AppID in which the extension has to be enabled/disabled
Show child attributes
Store Bitly Settings
Show child attributes
Was this page helpful?