API Authentication
To authenticate with our RESTful API, navigate to your user profile (or create a user profile specifically for API integrations). Then, create a new API token. See screenshot below.
Copy the token when you create it. It is shown only once. If you lose it, delete it on your user profile and create a new one. Deleting a token turns it off immediately.
Send the token with each request, then “GET” or “POST” to one of our API endpoints. There are two ways to send it:
- In a header (preferred). Use an http header named “tkn_id”. A header keeps the token out of web addresses, which are often saved in logs and browser history.
- In the web address. Add a query string parameter named “tkn_id”. Use this only when a tool cannot set a header, such as a reporting or KPI platform that pulls JSON from a web address.
Treat an API token like a password. Anyone who has it can do what your user can do.
You can use the following endpoint as a test.
GET https://apius0.processplan.com/api/v4/user/me
Another helpful way to learn our API is to log in to the ProcessPlan user interface and open Google Chrome Inspector’s network tab and watch the API calls that our User Interface uses as you navigate around the application.
