Widget
Get avatar upload URL
Generates a pre-signed S3 upload URL for the agent's widget avatar image. Upload the image directly to S3 using the returned presignedUrl, then save cdnUrl as the agent's avatar via PATCH /agent/{id}/widget-config.
post/agent/{id}/avatar/presigned-url
Path parameters
idstring required
Agent ObjectId
Request body
Response
Pre-signed upload URL and CDN URL
Example response
{
"success": true
}Changes
Changed in 2 of the 50 revisions of this API.4
- ○
api tag
Widgetaddedapi-tag-added
- ○
api tag
Agentsremovedapi-tag-removed
- ○
endpoint deprecated
endpoint-deprecated
- ○
- ○
endpoint added
endpoint-added
- ○