melonly logomelonly logo
melonly logo
Dashboard
Log in

List Call Notes

Lists the notes on a call.

GET

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

Request

curl -X GET "https://api.melonly.com/api/v1/server/cad/calls/{callId}/notes" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

200

Success

{
  "data": [
    {
      "callId": "7527000000000000000",
      "createdAt": 1794776859830,
      "createdByUnit": {},
      "createdByUserId": "7308965405773533184",
      "data": {
        "text": "suspect bailed. prancer is still rolling"
      },
      "id": "7527000000000000001",
      "serverId": "7294057520392310784",
      "type": 0
    }
  ],
  "page": 1,
  "pageSize": 10,
  "total": 1,
  "totalPages": 1
}

You can order by createdAt (default) or id.

Authorization

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

Path parameters

callIdstringrequired

Query parameters

pageintegerdefault: 1
1-based page number. Defaults to 1.
pageSizeintegerdefault: 10
Items per page, clamped to 1-100. Defaults to 10.
orderBystring
Field to sort by. See the endpoint description for the accepted values.
sortstring
Sort direction. Defaults to desc.
Allowed values:ascdesc

Response

200 Success. Results are paged and also include page, pageSize, total and totalPages.

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
404CAD is not set up
429Rate limited. See Retry-After and details.
500Internal server error