curl --request GET \
--url https://api.embedreach.com/api/communication-groups/{id}{
"success": true,
"message": "<string>",
"data": {
"id": "<string>",
"emailChannelSenderId": "<string>",
"emailHtmlBody": "<string>",
"emailCompiledHtml": "<string>",
"emailTextBody": "<string>",
"emailPreviewText": "<string>",
"emailSubject": "<string>",
"smsChannelSenderId": "<string>",
"smsMessageBody": "<string>",
"textMessageCompanyName": "<string>",
"updatedFromDefault": {
"email_html_body": "<string>",
"email_text_body": "<string>",
"text_message_body": "<string>"
},
"textMessageMediaUrls": [
"<string>"
],
"type": "custom",
"extraMergeFields": [
{
"id": "<string>",
"type": "static",
"templateName": "<string>",
"displayName": "<string>",
"staticValue": "<string>"
}
]
}
}Get a communication group by id
curl --request GET \
--url https://api.embedreach.com/api/communication-groups/{id}{
"success": true,
"message": "<string>",
"data": {
"id": "<string>",
"emailChannelSenderId": "<string>",
"emailHtmlBody": "<string>",
"emailCompiledHtml": "<string>",
"emailTextBody": "<string>",
"emailPreviewText": "<string>",
"emailSubject": "<string>",
"smsChannelSenderId": "<string>",
"smsMessageBody": "<string>",
"textMessageCompanyName": "<string>",
"updatedFromDefault": {
"email_html_body": "<string>",
"email_text_body": "<string>",
"text_message_body": "<string>"
},
"textMessageMediaUrls": [
"<string>"
],
"type": "custom",
"extraMergeFields": [
{
"id": "<string>",
"type": "static",
"templateName": "<string>",
"displayName": "<string>",
"staticValue": "<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
Show child attributes
The id of the communication group
The id of the email channel sender
The html body of the email
The compiled html body of the email
The text body of the email
The preview text of the email
The subject of the email
The id of the sms channel sender
The body of the sms message
The company name to prefix the text message
The fields along with the timestamp that were updated from the default template if this is a managed communication group
The urls of the media to include in the text message
The type of the communication group (e.g. managed or custom)
custom, managed The extra merge fields to include in the communication group
Show child attributes
The id of the merge field
static The template name of the merge field (e.g. black_friday_coupon)
The display name of the merge field (e.g. "Black Friday Sale 50% off")
The static value of the merge field (e.g. "CODE123")