POST
/
api
/
communication-groups
Create Communication Group
curl --request POST \
  --url https://api.embedreach.com/api/communication-groups \
  --header 'Content-Type: application/json' \
  --data '{
  "emailChannelSenderId": "<string>",
  "emailHtmlBody": "<string>",
  "emailHtmlCss": "<string>",
  "emailCompiledHtml": "<string>",
  "emailTextBody": "<string>",
  "emailSubject": "<string>",
  "emailPreviewText": "<string>",
  "smsChannelSenderId": "<string>",
  "smsMessageBody": "<string>",
  "textMessageCompanyName": "<string>",
  "extraMergeFields": [
    {
      "id": "<string>",
      "type": "static",
      "templateName": "<string>",
      "displayName": "<string>",
      "staticValue": "<string>"
    }
  ],
  "textMessageMedia": [
    "<string>"
  ]
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": "<string>",
    "emailChannelSenderId": "<string>",
    "emailHtmlBody": "<string>",
    "emailTextBody": "<string>",
    "emailSubject": "<string>",
    "emailPreviewText": "<string>",
    "smsChannelSenderId": "<string>",
    "smsMessageBody": "<string>",
    "textMessageCompanyName": "<string>",
    "extraMergeFields": [
      {
        "id": "<string>",
        "type": "static",
        "templateName": "<string>",
        "displayName": "<string>",
        "staticValue": "<string>"
      }
    ],
    "textMessageMediaUrls": [
      "<string>"
    ]
  }
}

Headers

reach-tenant-id
string

If using a platform scoped JWT, you can pass in a header to impersonate a specific tenant to impersonate the request as.

Body

application/json

Response

200
application/json

Status 200 response

The response is of type object.