After completing the End-user Data Integration, our focus shifts to elevating the end-user experience. This includes enabling users to write and read posts, follow other members, discover groups to join, and more.
The end-user token is employed when making API calls on behalf of users, either directly from your customers or proxied via your backend, depending on your individual requirements.
To secure an end-user access token:
- Use the same End-User ID you've recevied when completing End-user Data Integration
- Create a new exchange token using your Client ID as the issuer and the user as the subject, and sign it with your private key.
- Submit the exchange token to our user login endpoint, which returns an end-user token specific to that user.
Before accessing most end-user endpoints, users need to establish a Profile. This is generally the first step after obtaining the access token. The sole requirement is for users to select a unique username, but they can also opt to upload a profile picture or add a brief bio for self-description. Profiles store additional settings and consents, such as notification preferences.
For an in-depth guide on the token exchange flow, consult our onboarding recipe:
Updated 11 months ago