curl --request GET \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/url-shortener-tinyurl/v1/settings \
--header 'key: <key>' \
--header 'secret: <secret>'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"tinyUrlAPIToken": "1kn2kenkdnwnrn2in1n1",
"tinyUrlDomain": "tiny.one",
"appId": "134234d234rf33"
}
}
}
}
}
TinyURL : Get settings for TinyURL extension.
curl --request GET \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/url-shortener-tinyurl/v1/settings \
--header 'key: <key>' \
--header 'secret: <secret>'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 3.061743974685669,
"body": {
"data": {
"settings": {
"tinyUrlAPIToken": "1kn2kenkdnwnrn2in1n1",
"tinyUrlDomain": "tiny.one",
"appId": "134234d234rf33"
}
}
}
}
}
AppID in which the extension has to be enabled/disabled
Get TinyURL Settings
The response is of type object
.