users

Upload a profile photo (JPEG/PNG/WebP, max 5MB); re-encodes to 256x256 JPEG

post/api/users/me/photo

Request

  • Base URL
    https://api.hillstar.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.hillstar.ai/api/users/me/photo
  • Auth
    none declared

Request body multipart/form-data

filestring binary required

Profile photo (JPEG, PNG, or WebP; max 5 MB)

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

created_atstring date-time required
emailstring required
first_namestring required
idinteger required
job_titlestring required
last_namestring required
onboarding_completeboolean required
phonestring nullable required
preferencesobject nullable
profile_completeboolean required
updated_atstring date-time required

Example response

{
  "$schema": "https://example.com/api/schemas/UserResponse.json"
}

Changes

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