The API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
There are two authentication mechanisms for accessing the API. To begin, create an application so that you can follow along with authenticating and making requests on the API. Note that you will have to sign in with a PowerAPI for business account.
A server token can be used to access data that does not require a PowerAPI user context. It can be generated using the OAuth 2.0 client_credentials flow. Please note that your server token is considered sensitive, and it is your responsibility to protect it.
User Access Token
A user access token is required when a PowerAPI user context is necessary. The API uses OAuth 2.0 to allow developers to get a user access token to access a single user’s data or do actions on their behalf. OAuth 2.0 is a specification outlined in RFC 6749 that allows third-party services to make requests on behalf of a user without accessing passwords and other sensitive information.
You can find information on how to obtain each token in the API documentation.