Authentication
The ProjectManager REST API v4 uses API keys generated from within the ProjectManager application.
Contacting the API
The ProjectManager API is available at https://api.projectmanager.com. This web page shows the current version number of the API and allows you to review the latest Swagger/OpenAPI files.
You can either use OAuth tokens (for interactive applications) or API keys (for unattended applications) to contact the ProjectManager API. All Admin
and Global Admin
level users within your workspace are permitted to create API keys. Users with more limited roles will not be able to create API keys.
Credentials are sent to the API using the Authorization header as follows:
Generating an API key
To create an API key to begin using the ProjectManager v4 API, follow these steps:
-
Log onto your ProjectManager workspace. Note that each API key is tied to a workspace.
-
Click on your name in the bottom left hand corner of the screen, then select “Account”. This feature is available to users with the roles “Admin” or “Global Admin”. If you cannot see this option, check your user profile instead - your user role may be set to Manager, Member, or Guest. Contact your account’s Admin or Global Admin to request Admin-level privileges.
- On the “Account” popup, select the “API” tab on the left hand side.
- Select the API V4 section and click “Create API Key”.
-
Give your API key a name that you can use to remember it. When you click “Generate Tokens”, you MUST copy and save your API key. Once generated, the API key can never be viewed again.
-
We recommend rotating your API keys regularly to ensure that none are leaked or accidentally shared outside your organization. You can use the API key screen to maintain and revoke old tokens and create new ones.
Using the SDK to authenticate
If you use a ProjectManager SDK, provide your token credentials using the WithBearerToken
method as follows:
The value provided to WithCustomEnvironment
should be api.projectmanager.com
.
The value provided to WithBearerToken
should be the API key you generated.