Gestix ERP API Documentation¶
Welcome to the Gestix ERP API — a RESTful interface that allows external systems and developers to integrate with the Gestix ERP platform.
Current Version
API Version: 4.0.1 (from Gestix 7.2.08)
Base URL: https://gestix.pt:443/api/{account}/v4.0.1
Specification: OpenAPI 3.0
The specification file is downloaded in Gestix, Admin > Webshop API: Download Specification for the current version (OpenAPI, JSON) and for the old version v2.0.4 (YAML).
What can you do with this API?¶
The Gestix API exposes the core data and operations of the ERP system. You can:
- Authenticate via API token or username/password to obtain a session token
- Read and create sales documents — invoices, orders, and receipts
- Read and create purchase documents — purchases and purchase orders
- Manage warehouse operations — transfer orders, stock movements, serial numbers
- Maintain master data — customers, suppliers, articles, locations, categories, families, users
- Query transactions and inventory data
Quick Start¶
1. Obtain a session token¶
All protected endpoints require a session token. Get one by calling GET /helo with your API Token in the Authorization header:
The response returns an xa-token:
2. Use the session token¶
Pass the xa-token as a bearer token on subsequent requests:
3. Include a nonce on write operations¶
POST and PUT endpoints require a nonce query parameter — a client-generated, strictly incrementing integer to prevent replay attacks:
POST /api/{account}/v4.0.0/invoices?nonce=123456789
Authorization: Bearer <xa-token>
Content-Type: application/json
Authentication Flows¶
| Flow | Endpoint | Use Case |
|---|---|---|
| API Token → Session Token | GET /helo |
Server-to-server integrations |
| Username + Password | POST /auth |
Web / user-facing applications |
See the Authentication guide for full details.
Base URL¶
The base URL includes your Gestix account identifier:
Replace {account} with your account code (e.g., 03101176).
Contact & Support¶
- Email: support@gestix.com
- License: Reserved — all rights reserved by Gestix