New Avatar

Create new avatar for given user from images.

This endpoint creates a provisional avatar for the specified user. It responds with an avatar_id and upload_url. To complete the creation, upload the images using the multipart/form-data request to upload_url and wait for processing to complete.

See detailed guide for more information.

post/api/v1/avatars/new

Request

  • Base URL: https://api.avaturn.me
  • URL: https://api.avaturn.me/api/v1/avatars/new
  • Auth: HTTP bearer

Request body

user_idstring required

User ID

Example request

{
  "user_id": "<put-user-id-here>"
}

Response

Provisional avatar is created. Photo upload awaited.

avatar_idstring uuid required

Avatar ID

upload_urlstring required

Url for upload. See here

Changes

No recorded changes to this operation across all 1 revision of this API.