Skip to main content
POST
/
users
/
me
/
avatar
Get avatar upload URL
curl --request POST \
  --url https://api.example.com/users/me/avatar \
  --header 'Content-Type: application/json' \
  --data '
{
  "contentType": "image/jpeg"
}
'
{
  "uploadUrl": "<string>",
  "assetKey": "<string>",
  "cdnUrl": "<string>"
}

Body

application/json

Body

contentType
enum<string>
required
Available options:
image/jpeg,
image/png,
image/gif,
image/webp

Response

200

uploadUrl
string
required
assetKey
string
required
cdnUrl
string
required