Create a new email script for automated email campaigns.

View as Markdown

Authentication

X-API-Keystring

API Key authentication. Generate your API key in the Gail Portal under General > Integrations > API Keys.

Request

The email script configuration.
namestring or nullOptional
Gets or sets the Name.
directionstring or nullOptional
Gets or sets the direction.
subjectstring or nullOptional
Gets or sets the subject.
bodystring or nullOptional
Gets or sets the body.

Response

Created
subjectstring or nullOptional
Gets or sets the subject.
bodystring or nullOptional
Gets or sets the body.

Errors

400
Bad Request Error