Experience

Upload avatar during register interaction

Upload an image (e.g. avatar) during the Register experience interaction and return the public URL of the uploaded asset. The user account may not have been created yet at this point; the upload is scoped to the current interaction session. The returned URL can then be submitted as a profile field value via POST /api/experience/profile.

post/api/experience/user-assets/avatar

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/experience/user-assets/avatar
  • Auth: none required

Request body multipart/form-data

fileunknown

Response

The asset was uploaded successfully.

urlstring required

Changes

No recorded changes to this operation across all 8 revisions of this API.