Authentication
Foo's REST API implements a loose form of "token authentication" or "bearer authentication". At the time of this writing all endpoints require authentication and there is a single, "all or nothing" level of authorization (as in - no endpoints requre specific types of access... you either have access to all of them or you don't).
#
ExampleIn the below example we request data for all pages associated with an an account having an apiToken
of abc123
.
#
How to Get an API TokenTo acquire an API token, simply follow the steps below.
- If you don't have an account, register with Foo here.
- Navigate to the account page on Foo. On this page, you should see your API token. This token exists at the account level and is only accessible by account users with access.