Add a Call Note

Adds a note to a call as performedBy. Dispatch and the units on the call see it straight away.

POST

/api/v1/server/cad/calls/{callId}/notes

Request

curl -X POST "https://api.melonly.com/api/v1/server/cad/calls/{callId}/notes" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "performedBy": "7264722635089514496",
  "text": "suspect bailed. prancer is still rolling"
}'

Response

201

Created

{
  "data": {
    "callId": "7527000000000000000",
    "createdAt": 1794776859830,
    "createdByUnit": {},
    "createdByUserId": "7308965405773533184",
    "data": {
      "text": "suspect bailed. prancer is still rolling"
    },
    "id": "7527000000000000001",
    "serverId": "7294057520392310784",
    "type": 0
  }
}

Authorization

Authorizationstringrequired
Your API token as Bearer YOUR_TOKEN. Create one in your server's dashboard settings.

Path parameters

callIdstringrequired

Body

performedBystringrequired
Member ID of the dispatcher. Needs the Dispatch Panel permission.
textstringrequired
1-2000 characters.

Response

201 Created

callIdstringrequired
Call ID.
createdAtintegerrequired
When it was created.
createdByUnitobjectrequired
Unit that wrote the note.
createdByUserIdstringrequired
Melonly user ID of who wrote the note.
dataobjectrequired
Note contents.
idstringrequired
Unique ID.
serverIdstringrequired
Server ID.
typeintegerrequired
Type code.
mergedFromstring | null
Call the note was merged from.

Errors

StatusMeaning
400Invalid request. validation_failed lists each invalid field in details.fields.
401Missing, invalid or expired token
403Success
404Not found
429Rate limited. See Retry-After and details.
500Internal server error
502next did not confirm the write. Check whether it applied before retrying.
503Write endpoints are not configured on this deployment