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>" ], "emailContentsType": "Code", "body": "<string>" } } }
Send a test message for a message template.
Show child attributes
Email
SendGrid
Default Response
Ok