Authorization header. Each key belongs to a single workspace and has its own permissions, so sandbox and live workspaces always use different keys.
Keys are created in Admin. See API keys for how to create one and which permissions to give it. The token is shown only once, when the key is created.
Send the token
Include the token in theAuthorization HTTP header of every request, as type Bearer:
INVOPOP_TOKEN environment variable. Set it once in your terminal, replacing <TOKEN> with your own:
Test the token
Call the ping endpoint to confirm that your connection and credentials are valid:Have your agent wire the token into this project and verify it.