Skip to content

API reference ​

Main resources of the abaco REST API. All routes require authentication (web session or API key) and apply to the user's or key's company scope.

Resource pages include create JSON bodies. Shared layout: Resource template. Machine contract: OpenAPI (/openapi.yaml).

With API key: company scope comes only from the key; every request is tied to that company. You must not try to pass another company’s context in the body or query string.

Conventions ​

Base URL ​

All requests use the same base URL (endpoint). In production this is typically https://api.abaco.hn (no port). Get it under Settings > Integrations.

Pagination ​

Many list endpoints accept pagination query params:

  • page: page number (e.g. 1)
  • limit: number of records per page (e.g. 20)

Example: GET /documents?page=1&limit=20

HTTP status codes ​

CodeMeaning
200OK (success for GET/PUT)
201Created (success for POST)
400Validation error (invalid body or query)
401Not authenticated (missing or invalid token/API key)
403No permission for the resource
404Resource not found
429Too many requests (rate limit); see Rate limits
500Internal server error

Authentication ​

All requests must include authentication: web session cookie or API key header. Format: Authorization: Bearer <keyId:secret> or X-API-Key: <keyId:secret>.


Resources by category ​

ResourceDescriptionDetail
DocumentsInvoices, quotes, credit notesCreate JSON, GET :id, type × actions matrix
ProductsCatalog, pricesCreate + GET :id
Business partnersCustomers and suppliersCreate with partner_type + rtn
InventoryWarehouses, stock, movementsCreate warehouse / movement JSON
Company and paymentsCompany, payment methods, CAI, branchesPayment JSON
AccountingJournal, chart, periodsCreate entry JSON
BankingAccounts and transfersCreate account JSON
CreditsAR / APSummaries and detail (GET)

API keys are created in the web app under Settings > Integrations (see Endpoint and keys).

Webhooks: Webhooks.