Skip to Content
Avatars

Create a global avatar (platform admin)

POST
/avatars

Authorization

studioSession
cookie__Secure-avatarstudio.session_token<token>

An authenticated Studio session. Each operation enforces its resource and role permissions.

Request Body

application/json
  1. body
namerequiredstring
Length1 <= length <= 200
image_url|null
Create a global avatar (platform admin)
curl -X POST 'https://example.com/v1/avatars' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "string"
}'
{
  "id": "string",
  "object": "avatar",
  "name": "string",
  "image_url": "string",
  "created_at": -9007199254740991,
  "updated_at": -9007199254740991
}

Response Body

OK

application/json
  1. response
idrequiredstring
Match^avt_[1-9]\d{0,9}$
objectrequiredunknown
namerequiredstring
image_urlrequiredstring|null
created_atrequiredinteger
Range-9007199254740991 <= value <= 9007199254740991
updated_atrequired|null