Available
Messages
post
/v1/messagesSend a message on a trade — the sender is derived from the caller's own session
Parameters
| optional |
Request body
| Field | Type | Required |
|---|---|---|
| tradeSessionId | string (uuid) | yes |
| body | string | yes |
Response (201)
| Field | Type | Required |
|---|---|---|
| id | string (uuid) | — |
| tradeSessionId | string (uuid) | — |
| senderSellerId | string (uuid) | — |
| body | string | — |
| status | VISIBLE | HIDDEN | REMOVED | — |
| createdAt | string (date-time) | — |
get
/v1/messages/{tradeSessionId}List a trade's visible messages, oldest first — caller must be one of its two sellers
Parameters
| tradeSessionId | path | required |
Response (200)
post
/v1/messages/{id}/reportReport a message — zero-threshold moderation, this immediately hides it pending ops review. Caller must be a party to the message's trade.
Parameters
| id | path | required |
Request body
| Field | Type | Required |
|---|---|---|
| reason | string | yes |