Authorization

To use the API, you must specify an Authorization header with an API token.

You can use either an account level or user level API token.

An example of listing all the accounts on a user using fetch:

fetch('https://api.parut.com/v1/accounts', {
  headers: {
    Authorization: 'Bearer xxx'
  }
});