Integrate with AVS Invoice in minutes.

AVS Invoice exposes a token-authenticated REST API under /api/v1. This app is self-hosted per organization, so there is no shared public hostname — every code example on this site uses your AVS Invoice deployment's own domain.

1. Create an API key

Sign in and go to Settings → API Access to create a Personal Access Token. See API Keys for details.

2. Authenticate your requests

Send the token as a Bearer credential on every request:

HTTP
Authorization: Bearer YOUR_API_KEY

3. Make your first request

Terminal
curl https://your-instance.example.com/api/v1/customers \
  -H "Authorization: Bearer YOUR_API_KEY"

4. Handle the response

Every successful response uses the same envelope:

JSON
{
  "success": true,
  "data": [ ... ],
  "meta": { "page": 1, "limit": 50, "total": 3, "hasMore": false }
}

See Errors for the failure shape.

5. Subscribe to webhooks (if required)

Outbound webhooks are not available yet — see Webhooks for status.