API referenceProfile
Set your profile photo
PUT
Uses one of your validated JPEG, PNG, or WebP uploads as your profile photo, replacing any previous one. Upload it first through the media reservation flow.
AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/api/v1/profile/avatar" \ -H "Content-Type: application/json" \ -d '{ "reservationId": "post_01K4Y6P8K2" }'{ "id": "post_01K4Y6P8K2", "username": "string", "displayName": "string", "detailsVisible": true, "bio": "string", "mbti": "INTJ", "whatIDo": "string", "listeningTo": "string", "avatarUrl": "http://example.com", "streak": { "current": 0, "longest": 0, "lastPostDate": "2026-09-10", "postedToday": true, "asOf": "2026-09-10" }, "stats": { "posts": 0, "friends": 0, "loved": 0 }, "owner": { "profileVisibility": "public", "usernameChangeAvailableAt": "2026-09-09T12:00:00Z" }}