How To Generate an Access Token

When connecting 7shifts to an external application or integration, an Access Token is required for securely linking the two systems. This token acts as a unique identifier, allowing your 7shifts account to communicate with third-party tools. 

In this article, you'll learn how to generate an Access Token, where to find it, and how it can be used during your integration setup. Follow the steps outlined below to get started.

Prerequisites

⚠️ Only Admins can create Access Tokens within the 7shifts account. Once created, only the Admin will be able to view it.

  1. Login as an Admin on the web app.
     
  2. In the left navigation bar, head to Settings > Developer tools.
     
  3. Once on the Developer Tools page, click on + Create Access Token:
     
     
  4. Create your access token name, and pick an Admin for the Technical contact:
       
     
  5. Click Create Access Token.

     
  6. Your access token has been added and is now ready for you to use!

    Use the Copy paperclip.png icon to use your token with the bearer authentication scheme:

      
  7. Send the token in the Authorization header when making requests as per the example below.
     
     
    More details on Access Tokens can be found in the Authentication section of our Reference guide.
  8. Use the More Options  Screen_Shot_2022-12-01_at_5.26.25_PM.png  icon to edit or delete the access token:
     

     
     

  9. In some instances, you may also need the 7shifts Company or Location IDs for integration. This can be found in the Resource IDs tab:

Was this article helpful?
4 out of 8 found this helpful