Skip to content

How to Use API Tokens

Connect your own tools and scripts to Zap Bill using the REST API.

Learn how to generate API tokens and connect your own tools to the Zap Bill REST API.

Connect your own tools and scripts to Zap Bill using the REST API.

How to Use API Tokens
  1. 1

    Open API Tokens

    Go to Settings > API Tokens. API access requires a plan with API access enabled.

  2. 2

    Generate a token

    Create a new token and copy it immediately — for security, it's only ever shown once.

  3. 3

    Authenticate your requests

    Use the token as a bearer token when calling the Zap Bill REST API from your own scripts or tools.

  4. 4

    Review the API docs

    See Settings > API Docs for the full list of available endpoints, covering invoices, quotes, customers, time, and expenses.

  5. 5

    Revoke when needed

    Revoke a single token or all tokens instantly if a key is ever compromised.

Tips

  • API access requires a paid plan with API access enabled.
  • Treat tokens like passwords — never share them or commit them to code.
  • If you suspect a token leaked, revoke it and generate a new one immediately.