POST
/
api
/
admin
/
content
/
templates
/
test
cURL
curl --request POST \
  --url http://localhost:3001/api/admin/content/templates/test \
  --header 'Content-Type: application/json' \
  --data '{
  "workspaceId": "<string>",
  "templateId": "<string>",
  "userProperties": {},
  "tags": {},
  "channel": "Email",
  "provider": "SendGrid"
}'
{
  "type": "Ok",
  "value": {
    "type": "DFInternalMessageSent",
    "variant": {
      "type": "Email",
      "provider": {
        "type": "MailChimp"
      },
      "to": "<string>",
      "headers": {},
      "attachments": [
        {
          "mimeType": "<string>",
          "name": "<string>"
        }
      ],
      "from": "<string>",
      "subject": "<string>",
      "replyTo": "<string>",
      "cc": "<string>",
      "bcc": "<string>",
      "name": "<string>",
      "attachmentUserProperties": [
        "<string>"
      ],
      "body": "<string>"
    }
  }
}

Body

application/json

Response

200 - application/json

Default Response

The response is of type object.