Update an existing text/SMS 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 text script to update.

Request

The updated text script configuration.
namestring or nullOptional
Gets or sets the Name.
directionstring or nullOptional
Gets or sets the direction.
messagestring or nullOptional
Gets or sets the message.

Response

OK
messagestring or nullOptional
Gets or sets the message.

Errors

400
Bad Request Error
404
Not Found Error