GET
/api/v1/server/cad/calls
Request
Response
200
Success
You can order by createdAt (default) or id.
Authorization
AuthorizationstringrequiredYour API token as
Bearer YOUR_TOKEN. Create one in your server's dashboard settings.Query parameters
pageintegerdefault: 11-based page number. Defaults to 1.
pageSizeintegerdefault: 10Items per page, clamped to 1-100. Defaults to 10.
orderBystringField to sort by. See the endpoint description for the accepted values.
sortstringSort direction. Defaults to
desc.Allowed values:
ascdescResponse
200 Success. Results are paged and also include page, pageSize, total and totalPages.
createdAtintegerrequiredWhen it was created.
createdByUserIdstringrequiredMelonly user ID of who created the call.
descriptionstringrequiredLonger description.
idstringrequiredUnique ID.
panelsobjectrequiredPanels the call is shown on.
recordsobjectrequiredRecords attached.
serverIdstringrequiredServer ID.
statusintegerrequiredStatus code.
titlestringrequiredTitle.
typeintegerrequiredType code.
unitHistoryobjectrequiredUnits that have been on the call.
unitsobjectrequiredUnits attached.
addressstring | nullAddress.
apiIdstring | nullID set by an integration that created the call.
closedAtinteger | nullWhen the call was closed.
codestring | nullCall code.
createdByUnitobject | nullUnit that created the call.
locobject | nullMap position.
originstring | nullWhere the call came from.
postalstring | nullPostal code.
primaryUnitobject | nullUnit leading the call.
prioritystring | nullCall priority.
Errors
| Status | Meaning |
|---|---|
400 | Invalid request. validation_failed lists each invalid field in details.fields. |
401 | Missing, invalid or expired token |
404 | CAD is not set up |
429 | Rate limited. See Retry-After and details. |
500 | Internal server error |