How can we help?

Timesheet Integration

Netanel Hugi
Netanel Hugi
  • Updated
Torii SMP
Torii Identity

Overview

Torii integrates with Timesheet and syncs:

User Fields License Types
Name, Email, Role, Status, Creation time in app Timesheet
  • The role is Admin, Billing, Invoicing or Member, based on the member's permissions in Timesheet.
  • Members who were removed from the organization are synced as deleted. Members with a pending invitation are synced as active, with the status Invited.
  • You can constantly stay updated with application information from our Integrations Page >> Integration Capabilities button >> Integration Capabilities table.

Requirements

To connect this integration, we require the following:

Accounts & Permissions

  • A Timesheet organization on the Business plan. Timesheet includes organization features, such as members, only in the Business plan.
  • An API key created by an administrator of that organization. The API key owner must be an organization administrator for the Torii actions (add, change role, remove member) to work.
  • API key permissions: Timesheet lets you choose the scope of access when you create a key (for example, read-only or full access). Use the minimum that fits your needs: read-only access should be enough to sync users and licenses, and full access is required if you want to use the Torii actions listed below.

Required keys

  • API Key - a Timesheet API key, in the format ts_{prefix}.{secret}.
  • Organization ID - the ID of the Timesheet organization to connect.

How to Generate the Required Values

Step 1: Create an API key

  1. Sign in to Timesheet with an organization administrator account.
  2. Open the Developer section of your Timesheet account, on the API keys page: https://my.timesheet.io/development/apikeys.
  3. Click Create API Key and enter a descriptive name, for example "Torii".
  4. Choose the key's permissions (the scope of access). Read-only is enough for syncing users and licenses; choose full access if you plan to use the Torii actions.
  5. Optionally, set an expiration date. When a key expires, you will need to create a new one and reconnect the integration.
  6. Create the key and copy it.

Important
Timesheet displays the API key only once, when you create it. Copy it and store it securely before leaving the page.

Step 2: Find your Organization ID

  1. Timesheet does not document a specific place in its web app that shows the organization ID.
  2. You can read the ID from the Timesheet API: the list of your organizations is returned by GET https://api.timesheet.io/v1/organizations, sent with your API key in the header Authorization: ApiKey {your API key}. Each organization in the response has an id and a name.
  3. Alternatively, contact Timesheet support (support@timesheet.io) and ask for your organization ID.

How to Connect the Integration

  1. Go to the Integrations page in Torii.
  2. Search for Timesheet and click Connect.
  3. Enter your API Key and Organization ID.
  4. Click Connect.

Actions

  • Add Timesheet member - adds a member to your Timesheet organization with a first name, last name, email and a role of Member or Admin. If the email has no Timesheet account yet, an invitation is prepared. The API key owner must be an organization administrator.
  • Change Timesheet member role - sets a member's role to Member or Admin. The last administrator cannot be demoted. This action changes only the administrator permission, so check the member's invoicing and billing permissions in Timesheet afterwards.
  • Remove Timesheet member - removes a member from your Timesheet organization. The last administrator cannot be removed.


For any further questions, please contact Torii Support.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request