GenerateSnippet generates JavaScript embed snippet.
GET/api/v1/engagements/webchat/snippet/:channelConfigId
Returns the HTML/JavaScript code to embed the webchat widget on a website.
Errors
- NOT_FOUND: Channel configuration does not exist
- FAILED_PRECONDITION: Channel is not webchat type
Request
Responses
- 200
- default
A successful response.
An unexpected error response.