Web Chat
Upload Webchat Image
Upload an image for the widget and get back its public URL.
STATELESS: this does not change the widget. Write the returned URL into the theme with PATCH /webchat/settings - headerImageUrlExternal / headerImageUrlInternal for a header, botAvatarCustomUrl for an avatar. The file type is checked from its bytes, not its declared content type.
post/webchat/images
Request
- Base URL: https://be.graph8.com/api/v1
- URL: https://be.graph8.com/api/v1/webchat/images
- Auth: HTTP bearer
Query parameters
purpose'header' | 'avatar'
header (the widget header image) or avatar (the assistant avatar). Only selects where the file is stored.
Headers
Authorizationstring nullable
X-Target-Org-Idstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.