Skip to main content
POST /v1/projects/{projectId}/agent-profile/avatar/uploads Creates a ten-minute, Project-bound presigned S3 POST for a JPEG, PNG, or WebP agent avatar up to 5 MiB. Copy every returned formFields entry into a multipart/form-data request to uploadUrl, append the local file as the final form part, and upload it directly without sending Photon credentials. After the upload succeeds, call commitAgentProfileAvatar with the returned uploadId. Do not cache or log the upload URL or form fields.
TypeScript

Parameters

string
required

Body

AgentProfileAvatarContentType
required

Returns

201 A short-lived, project-bound presigned S3 POST. AgentProfileAvatarUpload
string (date-time)
required
AgentProfileAvatarUploadFormFields
required
string
required
string (uri)
required