HTTP API Access Guide
HTTP Methods
The SenseCAP API utilizes five HTTP methods for accessing resources:
GET
Make a GET request to retrieve data. GET requests will never cause an update or change to your data because they're safe and idempotent.
POST
Use a POST request to create new resources. For example, make a POST request to a device group where the body of your request JSON is a new group.
PATCH
Make a PATCH request to update a resource. With PATCH request, you only need to provide the data you want to change.
PUT
Use a PUT request to create or update a resource. This is most useful for syncing subscriber data.
DELETE
Make a DELETE request to remove a resource.
HTTP Request and Response
Requests are authenticated with the HTTP Basic Authentication.
HTTP Basic Authentication
API Response
All response fields follow the lowercase and underscore convention
Successful Response with String
Successful Response with Object
Successful response with Array
Error Response
Last updated
Was this helpful?