List Contra Messages

PythonSocial Media
POST api.upapi.io/contra-list-messages.get

Read 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

FieldTypeDescription
after
Opaque cursor from a previous page's endCursor.· default: null
docId
Override the pinned persisted-query id for this call.· default: null
first
integerPage size.· default: 30
proxyUrl
Exit IP pinned to this account. Omit to use the shared pool.· default: null
conversationIdreq
stringContra chat conversation id.
sessionCookiesreq
objectContra session cookies for a participant in the conversation. Your own Contra account's cookies; upAPI stores nothing.

Response schema

FieldTypeDescription
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.

Sign in

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.