Currently, tokens are generated using the Invopop Console. Enter “Settings”, then “Tokens”, and tap “New Token”. Enter some reference details and click “Save”. You’ll be presented with a screen showing the new token. You must copy and paste this token, as we do not store it anywhere. If you loose it, you’ll need to create a new one.

Tokens must be included in the Authorization HTTP header in all requests as a type Bearer.

Test everything is working correctly using the ping endpoint and curl:

$ curl -H "Authorization: Bearer [token]" https://api.invopop.com/utils/v1/ping

{"ping":"pong"}