Search Documentation

Search API endpoints, webhooks, tools, and guides

On this page3 sections
Guides

Getting Started

Base URLs, credentials setup, and making your first InvogerPOS API call.

Follow these steps to authenticate and send your first API request to InvogerPOS.

Step 1: Obtain an Access Token

Choose one of two authentication flows:

  1. User Session Token: Send POST /api/auth/login with your email/username and password.
  2. Integration Token (Recommended for Automation): Open Integrations > Developer Tokens in InvogerPOS and generate an inv_live_... token with the required permission scopes (for example invoice.create, product.view, outlet.view).

Step 2: Verify Authentication

Test your credentials against POST /api/auth/get-current-user:

bash
curl -X POST "https://api.invoger.com/api/auth/get-current-user" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json"

Step 3: Fetch Accessible Outlets & Submit an Invoice

  1. Query POST /api/invoices/get-outlet-list to discover an authorized outletId.
  2. Call POST /api/invoices/submit-invoice with a unique UUID IdempotencyKey to persist an invoice and atomically deduct tracked inventory.
POST/api
curl -X POST "https://api.invoger.com/api/auth/get-current-user" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{}'
Interactive playground

Response

application/json
{
  "success": true,
  "message": "Success",
  "data": {
    "email": "owner@company.com",
    "role": "System Owner",
    "permissions": [
      "*"
    ]
  }
}