curl --request PATCH \
--url https://api.embedreach.com/api/communication-groups/{id} \
--header 'Content-Type: application/json' \
--data '{
"emailChannelSenderId": "<string>",
"emailHtmlBody": "<string>",
"emailCompiledHtml": "<string>",
"emailTextBody": "<string>",
"emailSubject": "<string>",
"emailPreviewText": "<string>",
"smsMessageBody": "<string>",
"smsChannelSenderId": "<string>",
"textMessageCompanyName": "<string>",
"extraMergeFields": [
{
"id": "<string>",
"type": "static",
"templateName": "<string>",
"displayName": "<string>",
"staticValue": "<string>"
}
],
"textMessageMedia": [
"<string>"
],
"textMessageMediaUrls": [
"<string>"
]
}'
{
"success": true,
"message": "<string>",
"data": {
"id": "<string>",
"emailChannelSenderId": "<string>",
"emailHtmlBody": "<string>",
"emailCompiledHtml": "<string>",
"emailTextBody": "<string>",
"emailSubject": "<string>",
"emailPreviewText": "<string>",
"smsChannelSenderId": "<string>",
"smsMessageBody": "<string>",
"textMessageCompanyName": "<string>",
"textMessageMediaUrls": [
"<string>"
]
}
}
Update a communication group
curl --request PATCH \
--url https://api.embedreach.com/api/communication-groups/{id} \
--header 'Content-Type: application/json' \
--data '{
"emailChannelSenderId": "<string>",
"emailHtmlBody": "<string>",
"emailCompiledHtml": "<string>",
"emailTextBody": "<string>",
"emailSubject": "<string>",
"emailPreviewText": "<string>",
"smsMessageBody": "<string>",
"smsChannelSenderId": "<string>",
"textMessageCompanyName": "<string>",
"extraMergeFields": [
{
"id": "<string>",
"type": "static",
"templateName": "<string>",
"displayName": "<string>",
"staticValue": "<string>"
}
],
"textMessageMedia": [
"<string>"
],
"textMessageMediaUrls": [
"<string>"
]
}'
{
"success": true,
"message": "<string>",
"data": {
"id": "<string>",
"emailChannelSenderId": "<string>",
"emailHtmlBody": "<string>",
"emailCompiledHtml": "<string>",
"emailTextBody": "<string>",
"emailSubject": "<string>",
"emailPreviewText": "<string>",
"smsChannelSenderId": "<string>",
"smsMessageBody": "<string>",
"textMessageCompanyName": "<string>",
"textMessageMediaUrls": [
"<string>"
]
}
}
If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.
The id of the communication group
Status 200 response
The response is of type object
.