Chatous End Chat
PythonSocial MediaPOST api.upapi.io/chatous-end-chat.postEnd a Chatous chat from your own account and optionally block the other person. Takes your connect.sid session cookie, the chat id and a block flag (off by default, and blocking cannot be undone through upAPI). The block is sent only after the disconnect is acknowledged; a rejected disconnect fails the call. Returns the disconnect and block verdicts.
chatousmessagingchat
AuthAPI key
Cost1 unit
Timeout30s
CacheNone
Request schema
| Field | Type | Description |
|---|---|---|
block | boolean | Also block the partner. Blocking cannot be undone through upAPI, so it defaults to off. It is only sent after Chatous has acknowledged the disconnect.· default: false |
chatIdreq | string | The chat to end. |
proxyUrl | Optional proxy URL.· default: null | |
connectSidreq | string | The account's connect.sid cookie value. |
Response schema
| Field | Type | Description |
|---|---|---|
chatIdreq | string | |
blockedreq | boolean | True when a block was requested and Chatous accepted it. |
endedAtreq | string | |
elapsedMsreq | integer | |
blockOutcomereq | The same two values for the block, or null when none was requested. | |
disconnectedreq | boolean | Always true on a successful call: the disconnect was acknowledged, or Chatous answered without a code at all, which is normal on this route. A rejected or unreadable answer fails the call instead. |
blockReturnCodereq | Chatous's verdict for the block, or null when no block was requested. | |
disconnectOutcomereq | string | acknowledged = return_code 0. no-code-returned = the route answered without one, which it is documented to do. (A non-zero or unreadable code fails the call, so neither appears here.) |
disconnectReturnCodereq | Chatous's verdict for the disconnect, or null when it answered no code. |
Try it
Try it
The chat to end.
The account's connect.sid cookie value.
Also block the partner. Blocking cannot be undone through upAPI, so it defaults to off. It is only sent after Chatous has acknowledged the disconnect.
Optional proxy URL.
Run this endpoint live
Jump in as a guest — no signup — and run chatous-end-chat.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-end-chat.post \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{ "block": false, "chatId": "example", "connectSid": "example" }'Developer tools
OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.