curl --request POST \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/email-replies/v1/settings \
--header 'Content-Type: application/json' \
--header 'key: <key>' \
--header 'secret: <secret>' \
--data '{
"settings": {
"senderEmailForReplies": "mymail@example.com",
"sendEmailReplies": false
}
}'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 1.8547508716583252,
"body": {
"data": {
"settings": {
"senderEmailForReplies": "mymail@example.com",
"sendEmailReplies": true
}
}
}
}
}
Email replies : Store new settings for Email replies extension
curl --request POST \
--url https://apimgmt.cometchat.io/apps/{appId}/extensions/email-replies/v1/settings \
--header 'Content-Type: application/json' \
--header 'key: <key>' \
--header 'secret: <secret>' \
--data '{
"settings": {
"senderEmailForReplies": "mymail@example.com",
"sendEmailReplies": false
}
}'
{
"data": {
"statusCode": 200,
"success": true,
"responseTime": 1.8547508716583252,
"body": {
"data": {
"settings": {
"senderEmailForReplies": "mymail@example.com",
"sendEmailReplies": true
}
}
}
}
}
AppID in which the extension has to be enabled/disabled
Update Email Replies Settings
The response is of type object
.