List CPMS
const url = 'https://api.exolink.cloud/tenant/example/cpms';const options = { method: 'GET', headers: { 'x-exo-fields': '["id","displayName"]', 'x-exo-filter': '["eq","profileId",3]', 'x-exo-sort': '["asc","displayName"]', Authorization: 'Bearer <token>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.exolink.cloud/tenant/example/cpms \ --header 'Authorization: Bearer <token>' \ --header 'x-exo-fields: ["id","displayName"]' \ --header 'x-exo-filter: ["eq","profileId",3]' \ --header 'x-exo-sort: ["asc","displayName"]'Return the list of CPMS for the given tenant. Send Content-Type: text/csv to receive CSV.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Tenant domain prefix
Header Parameters
Section titled “Header Parameters”JSON array of the fields to return
Example
["id","displayName"]JSON filter expression [operator, field, value]. Operators: eq, ne, gt, gte, lt, lte, in, nin,
like, ilike, nlike, nilike, null, nnull, and eqc, nec, gtc, gtec, ltc, ltec to compare two fields.
Combine expressions with ["and", ...] or ["or", ...].
Example
["eq","profileId",3]Page number, starting at 1. Applies together with x-exo-size.
Page size. Every returned row then carries __total, the number of matching rows.
JSON sort [direction, field] with direction asc or desc, or a list of them
Example
["asc","displayName"]Responses
Section titled “Responses”List of CPMS
object
Unique identifier for the CPMS backend
ID of the tenant that owns this CPMS backend
User-friendly name for the CPMS backend
WebSocket URL endpoint for the CPMS backend connection
Timestamp when the CPMS backend record was created
Timestamp when the CPMS backend record was last updated
Timestamp when the CPMS backend record was soft-deleted (null if active)
Chargers currently connected to this CPMS; null when unknown
Examples
OK
List of CPMS
[ { "id": 3, "tenantId": 1, "displayName": "My CPMS", "url": "ws://cpms.example.com", "createdAt": "2025-10-15T15:11:57.900Z", "updatedAt": "2025-10-15T15:11:57.900Z", "deletedAt": null, "connectedChargers": 2 }]Missing, invalid or expired credentials
Error response. Some rejections carry only message.
object
Error message
Error code
Failed validations, for requests checked against a schema
object
Path of the invalid field
Example
{ "message": "Not authorized", "errorCode": "ERR_API_NOT_AUTHORIZED"}The caller may not perform this action
Error response. Some rejections carry only message.
object
Error message
Error code
Failed validations, for requests checked against a schema
object
Path of the invalid field
Example
{ "message": "Forbidden", "errorCode": "ERR_API_FORBIDDEN"}