Authentication API (for access token)This API generates a JWT access token used for consuming the APIs. The token expires after one hour, so the same authentication endpoint must be called again to retrieve a fresh token.
End point:
POST/api/v1/sense/access-token
Request
- Method:POST
- Content-Type:application/json
Authentication :
Format: Authorization: Basic<base64(username:password)>
Response (success)
- Status Code: 200 OK
- Data
- token - JWT token (Access token)
Response (error)
- Status Code: 402