Mercury
Connect Mercury as your access review source using a Read Only API token so that the platform can list every user of your Mercury organization.
The platform reads your Mercury organization’s users through MercuryAPIso that you can check who has access.
Prerequisites
Section entitled ‘Prerequisites’- the platform organization administrator access
- A Mercury user with permission to create tokensAPI. An administrator on the Mercury account controls this permission, and a user without it sees no way to create a token
- The Mercury organization you want to review. A token is linked to the organization in which it is created, so go to that organization before opening its settings
Collected Fields
Section entitled “Collected Fields”| the platform field | Mercury field | Notes |
|---|---|---|
| Name | firstName, lastName |
Returns to the email address when both are empty |
email |
||
| Role | organizationRole |
administrator devine Administrator, bookkeeper devine Contabil, customUser devine Utilizator Custom, cardOnlyUser devine Utilizator Card Only, iar employee devine Angajat. |
| Admin | organizationRole |
Showed as administrator when organizationRole is administrator |
| Status | Not supported | |
| MFA | Not supported | |
| Last login | Not supported | |
| External ID | userId |
Stable ID used to track your account through reviews |
| Created at | Not supported |
Mercury returns each member of the organization on a single endpoint. the platform passes a record that arrives without an email address.
Step 1: Create a token only for reading
Step 1: Create a Read OnlyAPIToken- In Mercury, click on your organization in the upper left, click All Settings, and open Tokens in the left navigation.
- Click Create an API Token, enter a Nickname such as
Probo Access Review, setting Permissions to Read only, then click Create Token. A Read only Token can get all available data on the account and does not require a white list of IPs. - Copy the token, including its prefix
secret-token:and store it securely.
Step 2: Connect in the platform
“Step 2: Connect in the platform”- On the platform, go to Access Reviews > Sources > Add Source.
- Find Mercury, click API KeyHold it in your hand and click Connect.
The Mercury user endpoint does not carry the name of the organization, so the source retains the generic name MercuryThe platform attracts your organization’s users to your campaigns.
Troubleshooting
Section “Troubleshooting”- Token rejected. Put the token with its prefix
secret-token:, as the platform sends it asAuthorization: Bearer <token>. A sandbox token is also rejected: the platform callsapi.mercury.com, and a token created in the sandbox belongs to the separate environment ___ZBT_I18_RUNTIME_BLOCK_193___. - The Tokens page does not provide any way to create a token. The registered user does not own the permission. An administrator on the Mercury account can grant it or create the token instead.
- No users appear, or the wrong ones do. A token is linked to the organization in which it was created, so create it from All Settings > Tokens the page of the organization you want to review. a Custom Also, the token only touches the domains assigned to the creation, and these cannot be edited later.
- Source stops synchronization after a period of silence. Mercury deletes a token that remains unused for 45 days, and email accounts are managed seven days in advance.