Skip to main content
POST
/
v2
/
account-orders
/
{accountOrder}
/
messages
Send a message to an account order
curl --request POST \
  --url https://api.gameboost.com/v2/account-orders/{accountOrder}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "message": "Hi! I have completed the currency delivery. Please check your account and confirm receipt."
}'
{
  "data": {
    "id": "<string>",
    "type": "user_message",
    "text": "<string>",
    "attachment": {},
    "sender": {
      "id": 123,
      "username": "<string>",
      "is_admin": true
    },
    "sent_at": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountOrder
string
required

The ID of the account order. Can be retrieved from the list of account orders, or from the parent account offer, or from webhooks.

Body

application/json
message
string
required

Text content of the message to send to the buyer/seller

Maximum length: 10000
Example:

"Hi! I have completed the currency delivery. Please check your account and confirm receipt."

Response

Message sent successfully

data
object

Message object representing a chat message in an order conversation

I