Skip to main content

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.
Please check your SmartHR permissionsWith OAuth integration, Admina retrieves employee information within the SmartHR login account’s permission group. For this reason, we recommend using an account with administrator permissions.If you want to use an account with other permissions, note the following.SmartHR manages employee information permissions separately for “yourself” and for “others (other employees)”.Please confirm the retrieved fields (name, email address, custom fields, and so on) are set to [View]/[Edit] for both.You also need employee information permissions (view/create/edit/delete) and account permissions (view/create/edit).To check this, open [Common Settings] > [Permissions] in SmartHR. Review the permission group that the integration account belongs to.Note: If any of these permissions is missing, no error appears, but the data does not sync correctly.

Prerequisites

How to Log In to SmartHR

Go to the SmartHR login page and enter your email address and password to log in. SmartHR login screen To integrate via OAuth, access SmartHR Plus from the link below and authorize the connection with SmartHR. SaaS Management: SmartHR Plus
  1. Click Get Started. Get started
  2. Log in to SmartHR with an administrator account. Once logged in, the prerequisites are complete — proceed to the Integration Setup section below. Log in with administrator account

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://) Workspace key How to Obtain Your Access Key The access token is your access key. Refer to SmartHR’s documentation to issue an access token. How to Issue an Access Token
  • 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

  1. In the integrations screen, search for SmartHR.
  2. You can connect via [OAuth] or [API]. a. OAuth Integration (Recommended): Click the OAuth tab and click Connect. Configure the following options as needed. OAuth integration screen Custom employee field b. API Key Integration: Select the [API] tab, enter the values for each field below, and click Connect. API key integration screen Custom employee field
  3. 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”
With API key integration, you also enter the connection details. The integration screen has no setting for choosing the fields to retrieve one by one.With OAuth integration, Admina retrieves only the fields that the linked SmartHR account’s permission group can view. Fields the account cannot view are not synced, and no error is shown. For permission details, check SmartHR.

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.

Fields needed to create a custom field on the Admina side

When adding a custom field using Add a custom input field in Directory Settings, specify the following SmartHR fields.
Last modified on November 11, 2026