Authentication
The ProjectManager REST API v4 uses API keys generated from within the ProjectManager application.
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”. If you cannot see this option, check with your account representative to verify that you have been granted access to the REST API v4.
- 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.