Update an existing email script.

View as Markdown

Authentication

X-API-Keystring

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

Path parameters

scriptIdstringRequiredformat: "uuid"
The unique identifier of the email script to update.

Request

The updated 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

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

Errors

400
Bad Request Error
404
Not Found Error