To use the API, you may authenticate with either HTTP Basic Authentication (username/password) or a self-expiring token.
Note: You must authenticate with primary (non sub-user) credentials.
HTTP Basic Authentication
Pass your login credentials via an authorization header.
curl --user <username>:<password> <endpoint>
Pass your login credentials via an authorization header to the token endpoint.
curl --user <username>:<password> https://api.pingometer.com/v1.1/token
Then, use the token in place of the username in future requests via HTTP Basic Authentication (no password is supplied).
Note: The token will self-expire, so you should obtain a new token periodically.