AUTHENTICATION

Pass on the email address and password as JSON. The system will return a JWT that will be used for future secured API requests.

If there is an issue with the client ID or JWT, the system will return an error as a JSON document. Here are the two possible error responses:

HTTP status code 401
{
  message: 'The supplied x-access-token (JWT) is not valid.'
}
HTTP status code 401
{
  message: 'One or both of the required headers (x-client-id, x-access-token) are missing.'
}
post

Authenticates the user and returns a JSON Web Token.

ASSETS

Lets you manipulate assets.

get

Gets a single asset.

put

Updates an asset.

get

Allows you to get and alter the settings for a asset.

get

Gets an individual setting for an asset. The key is validated from the associated device settings.

put

Allows you to set an individual setting for an asset. All valures are posted as STRING. The value is cast based on setting data type and is validated from the associated settings range if present.

get

Gets an array of devices attached to this asset.

post

Adds this device to this asset.

delete

Removes this device from this asset.

CLIENTS

Lets you manipulate and access client data and telemetry tags.

get

Allows you to get a list of the clients you are allowed to access based on the user's role. If the user belongs to a company that's a reseller, an array of the reseller's clients is returned.

post

Allows you to add a new client. You must be a reseller or be an admin to add a new client.

Allows you to work with an individual client.

get

Returns a single client.

put

Allows you to edit a client. All fields are optional. You cannot change a password with this endpoint (see USERS endpoint).

Allows you to work with a client's alerts.

get
post

Allows you to add an alert.

Allows you to work with an individual alert.

get
put

Allows you to edit an alert.

delete

Allows you to work with a client's alert groups.

get
post

Allows you to add an alert group. Code must be unique per client.

Allows you to work with an individual alert group.

get
put

Allows you to edit an alert group.

delete
get

Gets a list of the client's assets.

post

Add an asset to the client.

get

Gets a list of the client's events (pressure & accoustic).

get

Gets a list of the client's tags.

get

Gets an array of locations.

post

Adds a new location to the client.

get

Gets an array of the client's devices.

get

Gets an array of the client's users.

post

Adds a new user to the client.

DEVICES

Lets you manipulate your devices.

get

Allows you to get a list of all of your devices.

Allows you to work with an individual device.

get

Returns a single device.

put

Allows you to edit an existing device.

post

Allows you to onboard a device to a client.

get

Allows you to get the sensors available on the device.

get

Allows you to get details on a single sensor on the device.

EVENTS

get

Gets a single event.

get

Gets the event data.

LOCATIONS

Lets you view and edit a location.

get

Gets a single location.

put

Updates a location.

USERS

Lets you manipulate users.

get

Gets an array of users.

get

Gets a single user.

put

Edits a user (can't change password).

put

Changes a user's password.