Authentication API Endpoints¶
About Authentication¶
Authenticate with the Lucit API by requesting a token from the /auth endpoint using the login token and secret for one of the tokens assigned to your app.
Authentication Flow¶
- Create a new app in Lucit Apps - Note your Application ID (AppIdV3)
- Generate a token and secret on the TOKENS tab
- Form a request to
/authwith yourAppIdV3header, your token and your secret - Store the resulting
token- This is your Bearer token - Send Bearer token with every request to other endpoints
- Test your token by making a request to the
/statusendpoint
Required Headers¶
Every authenticated request requires:
- Authorization Header: Bearer {AuthToken}
- App ID Header: AppIdV3: LCUID-LAP-********-****-****-****-************
Endpoints¶
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/v3/auth | POST auth |