For both API and GraphQL API you need an API token, which you create via the portal. How to do this is shown in this guide. You can use two different ways to get an access token.
You use your own personal Access-Token. This is automatically created for you by the portal.
You create an API user and assign individual rights, roles, and devices.
In the following sections, we explain how to implement the two methods mentioned above.
When you register on the Datacake platform and create a user account, a token is automatically created.
This token has the rights that you have been assigned, that is:
As the owner of a workspace, you basically have all rights.
If you were invited to a workspace by an external person, you have the respective rights, roles and devices that were assigned to you by the third person.
You can view your own token via the User-Settings-Menu. You can reach this menu by clicking on "Edit Profile" at the end of the list using the Workspace Selector:
You will now see a menu where you can make your personal account settings. There is also a sidebar and in this you will find the item "API". If you click on it, you will find your personal access token there:
To make the access token visible, confirm the "Show" button. The text is now visible and you can copy the token.
Particularly with regard to security, it is advisable in many cases to create your own access tokens and assign these tokens only those rights, roles and devices that are necessary for the purpose for which the respective token is to be used.
You create your own tokens by creating so-called "API users". These are basically complete user accounts, but without "physical" users in the background. The enormous advantage of this concept is that you can also assign tokens or API users to your teams and other functions.
How to create and configure such an API user is described in the following section: