List Contra Messages
PythonSocial MediaPOST api.upapi.io/contra-list-messages.getRead one page of messages in a Contra conversation you take part in, oldest first. Returns the message nodes exactly as Contra sends them plus the cursor. Uses your own Contra account; upAPI stores nothing.
contramessaging
AuthAPI key
Cost4 units
Timeout45s
CacheNone
Request schema
| Field | Type | Description |
|---|---|---|
after | Opaque cursor from a previous page's endCursor.· default: null | |
docId | Override the pinned persisted-query id for this call.· default: null | |
first | integer | Page size.· default: 30 |
proxyUrl | Exit IP pinned to this account. Omit to use the shared pool.· default: null | |
conversationIdreq | string | Contra chat conversation id. |
sessionCookiesreq | object | Contra session cookies for a participant in the conversation. Your own Contra account's cookies; upAPI stores nothing. |
Response schema
| Field | Type | Description |
|---|---|---|
itemsreq | array | |
elapsedMsreq | integer | |
endCursorreq | ||
fetchedAtreq | string | |
itemCountreq | integer | |
hasNextPagereq | boolean | |
conversationIdreq | string |
Try it
Try it
Contra chat conversation id.
Contra session cookies for a participant in the conversation. Your own Contra account's cookies; upAPI stores nothing.
Opaque cursor from a previous page's endCursor.
Override the pinned persisted-query id for this call.
Page size.
Exit IP pinned to this account. Omit to use the shared pool.
Run this endpoint live
Jump in as a guest — no signup — and run contra-list-messages.get with your own inputs. Create a free account anytime to get your own API key.
Code examples
curl -X POST https://api.upapi.io/contra-list-messages.get \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{ "first": 30, "conversationId": "example", "sessionCookies": {} }'Developer tools
OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.