Chatous Poll Events

PythonSocial Media
POST api.upapi.io/chatous-poll-events.get

Listen on a Chatous account's WebSocket for a bounded window and return the events that arrived: new matches with the partner's profile, incoming messages, chat disconnects and queue acknowledgements.

chatouseventsmessagesrealtime
AuthAPI key
Cost4 units
Timeout40s
CacheNone

Request schema

FieldTypeDescription
proxyUrl
Optional proxy URL for the WebSocket. Omit to connect directly.· default: null
maxEvents
integerReturn as soon as this many socket frames have arrived.· default: 50
connectSidreq
stringThe account's connect.sid cookie value, as set on chatous.com when the account signed in.
maxSeconds
numberHow long to listen before returning whatever arrived.· default: 15

Response schema

FieldTypeDescription
eventsreq
array
elapsedMsreq
integer
fetchedAtreq
string
eventCountreq
integer
socketOpenedreq
boolean
closedByServerreq
boolean
unknownEventCountreq
integerFrames whose type this build does not recognise. A non-zero value is a shape change worth investigating, not an error.
undecodableItemCountreq
integerSocket items this build could not read at all - distinct from unknown events, which ARE returned with their payload. Non-zero means frames were lost to a shape change, so a zero-event answer here is not evidence the account was quiet.

Try it

Try it

The account's connect.sid cookie value, as set on chatous.com when the account signed in.

Optional proxy URL for the WebSocket. Omit to connect directly.

Return as soon as this many socket frames have arrived.

How long to listen before returning whatever arrived.

Run this endpoint live

Jump in as a guest — no signup — and run chatous-poll-events.get with your own inputs. Create a free account anytime to get your own API key.

Sign in

Code examples

curl -X POST https://api.upapi.io/chatous-poll-events.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "maxEvents": 50, "connectSid": "example", "maxSeconds": 15 }'

Developer tools

OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.