Skip to main content
POST
/
chat
/
send
Send a chat message
curl --request POST \
  --url https://jamquest-dev.techboo.net/api/v1/chat/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "music_request_id": 123,
  "message": "<string>"
}
'
{
  "status": "ok",
  "data": {
    "id": 123,
    "music_request_id": 123,
    "sender_id": 123,
    "receiver_id": 123,
    "message": "<string>",
    "status": "open",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Access token obtained during login or registration. Use this token in the Authorization header for authenticated requests.

Body

application/json
music_request_id
integer
required
message
string
required

Response

Message sent successfully

status
string
Example:

"ok"

data
object