Overview
Torii integrates with Document360 and syncs:
- Team accounts (the people who can sign in to your Document360 knowledge base portal), with their portal role. Readers of your knowledge base are not synced.
- Licenses
- You can constantly stay updated with application information from our Integrations Page >> Integration Capabilities button >> Integration Capabilities table.
Requirements
Accounts & Permissions
- A Document360 subscription plan that includes API access. On plans without it, Document360 rejects the requests with a FEATURE_NOT_IN_LICENSE error.
- A Document360 team account that can create API keys. A key can never be given more access than the account that creates it.
- The API key must have a portal role that can view project settings and team accounts, such as Admin.
Required keys
To connect this integration, we require the following:
- API Key - a Document360 v3 API key (it starts with d360_sk_).
- Project ID - the ID of your Document360 project.
- Region - the region where your Document360 project is hosted: Europe, United States or Canada.
How to Generate the Required Values
Step 1: Generate an API key
- Log in to the Document360 knowledge base portal.
- Go to Settings > Knowledge base portal > API keys.
- Click Create API key.
- Enter a Name, for example Torii.
- Select a Portal role that can manage team accounts, such as Admin.
- Select a Content role and the content access it applies to.
- Under Set expiry, choose Never, or choose a date. If the key expires, the integration stops syncing until you connect it again with a new key.
- Click Generate key and copy the key.
Important
The full API key is displayed only once. Copy it right away. If you lose it, revoke it and create a new one.
Step 2: Choose your Region
Select the region where your Document360 project is hosted:
| Project hosted in | Region option in Torii |
|---|---|
| Europe (default) | Europe (apihub.document360.io) |
| United States | United States (apihub.us.document360.io) |
| Canada | Canada (apihub.ca.document360.io) |
Step 3: Find your Project ID
Call the Document360 API with the key you created. It returns the projects the key can access, including each project's ID:
- Open a terminal and run the following command. Replace the host with the one for your region (see Step 2) and replace the key with your API key.
curl --request GET "https://apihub.document360.io/v3/projects" \ --header "X-API-Key: YOUR_API_KEY"
- In the response, find your project and copy the value of its id field. It looks like 1c2d3e4f-5a6b-7c8d-9e0f-a1b2c3d4e5f6.
How to Connect the Integration
- Go to the Integrations page in Torii.
- Search for Document360 and click Connect.
- Enter the API Key and Project ID, and select your Region.
- Click Connect.
Actions
Torii can perform the following actions in Document360 from workflows. The API key's portal role must be allowed to manage team accounts, and your Document360 project must have the premium API add-on. To enable the add-on, contact your Document360 Customer Success Manager or support@document360.com.
- Invite Document360 team account - invites a person as a team account with the portal role and content role you choose, and sends them an invitation email. The content role is granted for the entire project. You also select an existing team account as the inviter.
- Remove Document360 team account - permanently removes a team account from the project.
- Change Document360 portal role - changes the portal role of a team account. It does not change the name, email or content role.
For any further questions, please contact Torii Support.