curl --request GET \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/url-shortener-bitly/v1/settings \
--header 'key: <key>' \
--header 'secret: <secret>'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"bitlyAccessToken": "1213n2kn2232ffg",
"groupGUID": "1234ddsf5eee22",
"appId": "134234d234rf33"
}
}
}
}
}
Bitly : Get settings for Bitly extension
curl --request GET \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/url-shortener-bitly/v1/settings \
--header 'key: <key>' \
--header 'secret: <secret>'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"bitlyAccessToken": "1213n2kn2232ffg",
"groupGUID": "1234ddsf5eee22",
"appId": "134234d234rf33"
}
}
}
}
}
AppID in which the extension has to be enabled/disabled
Get Bitly Settings
The response is of type object
.
Was this page helpful?