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:
- User Session Token: Send
POST /api/auth/loginwith your email/username and password. - Integration Token (Recommended for Automation): Open Integrations > Developer Tokens in InvogerPOS and generate an
inv_live_...token with the required permission scopes (for exampleinvoice.create,product.view,outlet.view).
Step 2: Verify Authentication
Test your credentials against POST /api/auth/get-current-user:
bashcurl -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
- Query
POST /api/invoices/get-outlet-listto discover an authorizedoutletId. - Call
POST /api/invoices/submit-invoicewith a unique UUIDIdempotencyKeyto 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": [
"*"
]
}
}