Agents
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
}