Using the access token

With the access token, an app can make requests to Lucid APIs and get access to the user's data. To make an authenticated request, include an Authorization header with the access token as a "Bearer" token. The header value should look like this: Authorization: Bearer <access token>.

Include a Lucid-Api-Version header with a valid version number.

Ensure the token has the correct token type and scope for the endpoint it is being used for. For example, the https://api.lucid.co/oauth2/users/me/profile endpoint requires a User token with the user.profile scope.

📘

Access

Access can be revoked by the user or team admin at any time if they decide that they no longer want the app to have access to the user's Lucid data.

curl 'https://api.lucid.co/users/me/profile' \
     --request 'GET' \
     --header 'Authorization: Bearer oauth2-Yzh4Y2Q3ZTVhY2FjYjkwOGJlZGNjNjU5NDM2NjgzZmUwMmNmMjkzM...' \
     --header 'Lucid-Api-Version: 1'