PATCH
/
api
/
communication-groups
/
{id}
Update 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>"
    ]
  }
}

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.

Path Parameters

id
string
required

The id of the communication group

Body

application/json

Response

200
application/json

Status 200 response

The response is of type object.