Update use case associations for a phone script. Use cases define specific conversation scenarios the AI can handle.

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 phone script.

Request

The use case associations to set.
idstringOptionalformat: "uuid"
Gets or sets the UseCase's Id.
orderintegerOptional
Gets or sets the UseCase's Order.
statusenumOptional

Response

OK

Errors

400
Bad Request Error
404
Not Found Error