curl --request GET \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/message-shortcuts/v1/settings \
--header 'key: <key>' \
--header 'secret: <secret>'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 1.8547508716583252,
"body": {
"data": {
"settings": {
"shortcuts": {
"!cu": "See you later.",
"!ty": "Hey! Thanks a lot! 😊",
"!hbd": "Happy Birthday! 🥳",
"!ssup": "What's up!?",
"!wc": "You're welcome!"
}
}
}
}
}
}
Message Shortcuts : Get settings for Message shortcuts extension.
curl --request GET \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/message-shortcuts/v1/settings \
--header 'key: <key>' \
--header 'secret: <secret>'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 1.8547508716583252,
"body": {
"data": {
"settings": {
"shortcuts": {
"!cu": "See you later.",
"!ty": "Hey! Thanks a lot! 😊",
"!hbd": "Happy Birthday! 🥳",
"!ssup": "What's up!?",
"!wc": "You're welcome!"
}
}
}
}
}
}
AppID in which the extension has to be enabled/disabled
Get Message Shortcuts Settings
The response is of type object
.