Integration Specifications
About the SmartHR Integration
There are two ways to integrate with SmartHR: via OAuth or via API key. For new integrations, we recommend using OAuth as it is simpler to set up.Prerequisites
How to Log In to SmartHR
Go to the SmartHR login page and enter your email address and password to log in.
OAuth Integration (Recommended)
To integrate via OAuth, access SmartHR Plus from the link below and authorize the connection with SmartHR. SaaS Management: SmartHR Plus-
Click Get Started.

-
Log in to SmartHR with an administrator account. Once logged in, the prerequisites are complete — proceed to the Integration Setup section below.

API Key Integration
To integrate via API key, confirm the following items. How to Obtain Your Workspace Key After logging in to SmartHR, part of the URL is your workspace key. Copy and save it.https://{workspace-key}.smarthr.jp/ (do not include https://)

- The following permissions are required: read access for employee information (/crews) and accounts (/users).
- If retrieving email addresses from custom employee fields at the time of integration, read permission for the added custom employee field items is also required.
- For details on the fields retrieved, see Data retrieved via SmartHR integration (API key).
Integration Setup
- In the integrations screen, search for SmartHR.
-
You can connect via [OAuth] or [API].
a. OAuth Integration (Recommended): Click the OAuth tab and click Connect. Configure the following options as needed.

b. API Key Integration: Select the [API] tab, enter the values for each field below, and click Connect.


- Once the integration with SmartHR is successful, the registered user information will appear in the account list. If the integration does not complete successfully. Click Edit from the Status tab on the integrations screen and try again. If the issue persists, please contact us via chat.
Data Retrieved via SmartHR Integration (API Key)
Set up your API key using the steps in How to Issue an Access Token. With this integration, the retrievable data depends on the permissions granted on the SmartHR side. The required permissions and the retrieved/synced fields are as follows.The integration screen has only two options you can set:
- “Custom employee field name for email address (optional)”
- “Prioritize business name display”
Employee information (/crews): read/update (required)
Read permission for this item is required. Update permission is also required if you want Admina to create or delete accounts in SmartHR. Admina can only delete a SmartHR account if the employee information (crew) is not linked to a SmartHR account (/users). If it is linked to a SmartHR account, deletion fails with the error “This user type can’t be deleted.”Accounts (/users): read (required)
Read permission for this item is required. It is used to retrieve the Admina “role” field when creating a custom field on the Admina side.Employee field access permissions
Set the fields retrieved from/api/v1/crews individually.
Admina cannot update existing SmartHR account or employee information, so read-only access is sufficient here.
Required fields
Recommended but not required
*1: You can choose to sync the email address from a SmartHR custom field. If you do, specify the “custom employee field name for email address” during integration setup.
*2: These dates come from the SmartHR fields below when SmartHR is set as the data source in Directory Settings.
The contract start/end dates take priority; if blank (or unavailable), the hire date/resignation date is used instead.
Also, if the start date (contract start date, or hire date) is blank or a future date, the member is set to “Draft.”
*3: Required when “Prioritize business name display” is checked in the SmartHR integration settings.
*4: If this is unavailable, automatic matching by employee code does not run. This matching feature automatically consolidates “unknown” accounts into an employee when their employee codes match.

