Chatous Upload Profile Photo
PythonSocial MediaPOST api.upapi.io/chatous-upload-profile-photo.postUpload a profile photo to your Chatous account from an image URL or base64 bytes. Takes your connect.sid session cookie. Chatous limits uploads per exit IP rather than per account, so pass your own proxy URL if you upload from several accounts. Returns the uploaded size and filename.
Request schema
| Field | Type | Description |
|---|---|---|
filename | string | Filename sent with the multipart part.· default: "avatar.jpg" |
imageUrl | URL of the image to upload. Pass this OR imageFile.· default: null | |
proxyUrl | Optional proxy URL. Worth passing here more than anywhere else: Chatous rate-limits this endpoint PER EXIT IP, so accounts sharing an exit share one budget.· default: null | |
imageFile | Base64-encoded image bytes. Pass this OR imageUrl.· default: null | |
connectSidreq | string | The account's connect.sid cookie value. |
Response schema
| Field | Type | Description |
|---|---|---|
filenamereq | string | |
elapsedMsreq | integer | |
uploadedAtreq | string | |
uploadedBytesreq | integer |
Try it
Try it
The account's connect.sid cookie value.
Filename sent with the multipart part.
URL of the image to upload. Pass this OR imageFile.
Optional proxy URL. Worth passing here more than anywhere else: Chatous rate-limits this endpoint PER EXIT IP, so accounts sharing an exit share one budget.
Base64-encoded image bytes. Pass this OR imageUrl.
Run this endpoint live
Jump in as a guest — no signup — and run chatous-upload-profile-photo.post with your own inputs. Create a free account anytime to get your own API key.
Code examples
curl -X POST https://api.upapi.io/chatous-upload-profile-photo.post \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{ "filename": "avatar.jpg", "connectSid": "example" }'