Before your access token can access any data, you need to assign permissions to your app.
Warning
Do this before generating your authorization code. If you generate a token first and then add scopes, you must generate a new token. Existing tokens do not automatically gain new permissions.
Scopes control which parts of Zelt your integration can read. If you don't select any, the token will still be valid, but every API call will return empty results (not an error).
- In Zelt, go to Settings → Security → Developer Hub → Build Apps.
- Select your app from the list.
- Open the Permissions tab and click the edit button.
- Choose the scopes your integration needs:
user:read:allanduser.basicInfo:read: general profile and basic user detailsuser.personalInfo:read/user.personalInfo:all: sensitive personal informationuser.lifecycle:read:all: employment lifecycle datauser.contract:read:all: contract informationuser.compensation:read:all: salary and compensation datauser.role:read:all: role and permissions in Zeltcompany.settings:read: company-level settingsdocuments:all: access to documents stored in Zelt
- For each selected permission, provide a short Reason explaining why your app requires it.
- Click Update scopes to save.