cURL
curl --request POST \ --url https://api.example.com/v1/profile/avatar \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "url": "https://example.com/avatars/123.jpg", "thumbnail_url": "https://example.com/avatars/123_thumb.jpg" }
Upload a new profile avatar image
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Avatar image file
Avatar uploaded successfully
Full size avatar URL
Thumbnail avatar URL