Skip to main content

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

A successful response.