Send a trade message
Send a trade message.
Credential: Customer session
Before you call
- A customer session for the same partner, integration, customer, wallet and chain.
- A trade you own. You can send messages while it is CREATED, PAID or DISPUTED.
Sends a message as the owning customer while the trade is CREATED, PAID or DISPUTED. Provide text, one PNG or JPEG image of up to 3 MiB, or both. Sinbad trims the text, which can be up to 2,000 characters. Send plain base64 without a data URL prefix, and make the file bytes match contentType. This route accepts a JSON body of up to 5 MiB (5,242,880 decoded bytes). Sinbad stores images privately. Sending a chat image does not upload payment proof and does not mark the payment as sent. This POST has no idempotency guarantee, so a retry can create a duplicate message.
Confirm with Sinbad that this endpoint is enabled in your environment.
Errors
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
Send at least one of: text, or image.
Response
Saved text or image message; image metadata only.
Caption or message text; empty for image-only messages.