Send Contra Message
PythonSocial MediaPOST api.upapi.io/contra-send-message.postSend a plain-text message into an existing Contra conversation from your own signed-in Contra account and return the id Contra assigned it. Uses your own Contra account; upAPI stores nothing.
Request schema
| Field | Type | Description |
|---|---|---|
docId | Override the pinned persisted-query id for this call.· default: null | |
messagereq | string | Message body as plain text. Converted to Contra's BlockNote format. |
proxyUrl | Exit IP pinned to this account. Omit to use the shared pool.· default: null | |
workspaceIdreq | string | The sender's workspace id. REQUIRED by Contra: an input missing it comes back as a generic 'An unexpected error occurred.' that names nothing. |
conversationIdreq | string | Contra chat conversation id to reply in. |
sessionCookiesreq | object | Contra session cookies for the sender. Your own Contra account's cookies; upAPI stores nothing. |
Response schema
| Field | Type | Description |
|---|---|---|
sentAtreq | string | |
elapsedMsreq | integer | |
messageIdreq | string | |
conversationIdreq | string |
Try it
Try it
Message body as plain text. Converted to Contra's BlockNote format.
The sender's workspace id. REQUIRED by Contra: an input missing it comes back as a generic 'An unexpected error occurred.' that names nothing.
Contra chat conversation id to reply in.
Contra session cookies for the sender. Your own Contra account's cookies; upAPI stores nothing.
Override the pinned persisted-query id for this call.
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-send-message.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/contra-send-message.post \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{ "message": "example", "workspaceId": "example", "conversationId": "example", "sessionCookies": {} }'