Update an existing phone script.
Authentication
X-API-Keystring
API Key authentication. Generate your API key in the Gail Portal under General > Integrations > API Keys.
Path parameters
scriptId
The unique identifier of the phone script to update.
Request
The updated phone script configuration.
agentName
Gets or sets the agent name.
greeting
Gets or sets the greeting.
goodbye
Gets or sets the goodBye.
faqs
Gets or sets the faq.
name
Gets or sets the Name.
direction
Gets or sets the direction.
useCaseAssociations
Gets or sets the UseCase associations.
voicemail
Gets or sets the voicemail.
voice
Gets or sets the voice.
voiceProvider
giveSurvey
Gets or sets the GiveSurvey indicator.
postCallScripts
Gets or sets the list of post-call script actions to run after call ends.
knowledgeBase
Response
OK
agentName
Gets or sets the agent's name.
greeting
Gets or sets the greeting.
goodbye
Gets or sets the goodBye.
useCaseAssociations
Gets or sets the UseCase associations.
giveSurvey
Gets or sets the GiveSurvey indicator.
faqs
Gets or sets the faq.
postCallScripts
Gets or sets the list of post-call script actions to run after call ends.
voicemail
Gets or sets the voicemail.
voice
Gets or sets the voice.
voiceProvider
knowledgeBase
Errors
400
Bad Request Error
404
Not Found Error