Upload your profile photo

Answers a short-lived signed upload link for a new profile photo: PUT the file's bytes, as the whole body, to url with every one of headers, before expiresDate. Then poll the status route with uploadId until it is Ready (read the photo) or Rejected (show its message). PNG (animated too), JPEG, GIF (animated too), WebP (animated too) or SVG, up to 2 MB and 4,096 pixels each way, animations up to 300 frames. The type is decided from the file's bytes, never its name; location and camera data, comments and anything hidden after the image are removed, and SVGs are cleaned of scripts and links. Replacing the photo deletes the previous one. A person can be given 50 upload links a day, counted by UTC day (429 profile_photo_upload_limit_reached). API tokens are refused (403 profile_photo_needs_a_person).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Asks for somewhere to upload a new profile photo for the signed-in person.

string | null

image/png, image/jpeg, image/gif, image/webp or image/svg+xml. Only an early
check: the stored type is decided from the file's bytes.

int64 | null

The file's size, so an oversized file is refused before it is sent.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json