SENAR API Documentation
Last updated
Last updated
This technical documentation will be helpful for developers and individuals working with SENAR data. It includes instructions on authentication, accessing user and activity lists, and creating webhooks to be notified when new data is available.
Each section below includes examples of endpoints and JSON responses for better guidance.
You need to be authenticated to access Senar's data. Please contact support to obtain your login and password.
Endpoint
Response
The resulting token is used in the rest of the requests to authenticate you. The token must be placed in the request header for the Authorization key.
e.g.: Authorization: Bearer <Token>
The users register via a form available within the Senar application. Users endpoint returns all users linked to the authenticated user.
Endpoint
Response
An activity represents the data collected when a user completes a scenario.
Endpoint
Response
The webhook allows you to register the address that should be notified when new data arrives. You can register to receive new users or new activities by specifying the "method" parameter. The returned ID allows you to unsubscribe from the webhook.
Endpoint
Response