Getting API Tokens

API Tokens can be used to authenticate a script or other processes that are accessing the Scope GraphQL API.

Create a new API Token

To create a new API token in the WorkLink CMS, follow these steps:

  1. Log in to the CMS with your company admin account

  2. Click on Company Info in the side-nav

  3. Click on the API Tokens tab

  4. Click on the Create API Token button

  5. Enter a name for a new API Token

     

  6. For Group Access, either select All Groups if company admin access level is required which allows your process to read and write any data regardless of group and make any changes as a company administrator, or Choose Groups to limit access to certain groups including reading user, content, and session data associated with the groups selected, and update user data associated with the groups selected.

  7. Click on Save

  8. After a new API Token is successfully created, it will never expire and will be valid until it is deleted.

Using API Tokens

To copy the token and paste it to your script, follow these steps:

  1. Log in to the CMS with your company admin account

  2. Click on Company Info in the side-nav

  3. Click on the API Tokens tab

  4. Click on the edit icon for the API Token desired

  5. Click on the copy icon in the Token field

  6. Paste to your script or GraphQL client