POST
/
api
/
admin
/
content
/
templates
/
batch-send
cURL
curl --request POST \
  --url http://localhost:3001/api/admin/content/templates/batch-send \
  --header 'Content-Type: application/json' \
  --data '{
  "workspaceId": "<string>",
  "templateId": "<string>",
  "subscriptionGroupId": "<string>",
  "users": [
    {
      "id": "<string>",
      "messageId": "<string>",
      "properties": {}
    }
  ],
  "context": {},
  "channel": "Email",
  "provider": "SendGrid"
}'
{
  "results": [
    {
      "userId": "<string>",
      "type": "Success",
      "messageId": "<string>"
    }
  ]
}

Body

application/json

Response

200
application/json

Default Response

The response is of type object.