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