🔥 Launch Offer: Get up to 30% OFF on all software. Limited time only!
Home/API Documentation
For developers

API Documentation

A REST API over every Akontec product, with OAuth 2.0, webhooks and predictable JSON. Available on Premium plans and to all technology partners.

Base URL

https://api.akontec.store/v1
Regional hosts available for EU and US tenants.

Authentication

OAuth 2.0 client credentials, or a scoped API key in the Authorization: Bearer header.

Rate limits

600 requests/minute per tenant, 5,000/minute for enterprise. Limits returned in X-RateLimit-* headers.

Quick start

Create an API key from Dashboard → Settings → API, then call any endpoint. Every response is JSON; errors use standard HTTP status codes with a machine-readable code and a human message.

curl https://api.akontec.store/v1/leads \
  -H "Authorization: Bearer ak_live_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Priya Sharma",
    "email": "priya@example.com",
    "phone": "+919000000000",
    "source": "website",
    "pipeline": "inbound-sales"
  }'

A successful create returns 201 with the stored object, including the generated id and created_at.

Core endpoints

MethodEndpointDescription
GET/v1/customersList customers with pagination and filters
POST/v1/customersCreate a customer record
GET/v1/leadsList leads; filter by stage, owner, source
POST/v1/leadsPush a lead from any external form or ad
GET/v1/invoicesList invoices with status and ageing
POST/v1/invoicesRaise an invoice and get a payment link
GET/v1/productsCatalogue items with stock across warehouses
POST/v1/ticketsCreate a support ticket in Akon Helpdesk
GET/v1/employeesEmployee master from Akon HRM
POST/v1/agents/{agent_id}/messagesSend a message to an AI agent conversation
All list endpoints support ?limit= (max 200), ?cursor=, ?updated_since= and field filters. Responses include has_more and next_cursor.

Webhooks

Register endpoint URLs under Settings → Webhooks. Each delivery is signed with an HMAC-SHA256 signature in X-Akontec-Signature; verify it against your webhook secret before acting on the payload. Failed deliveries retry with exponential backoff for 24 hours.

EventFires when
lead.createdA new lead entered any pipeline
deal.stage_changedA deal moved between stages
invoice.paidPayment received against an invoice
order.placedNew order in Akon Commerce or POS
ticket.createdNew support ticket
ticket.resolvedTicket closed, with CSAT if collected
stock.lowAn item crossed its reorder point
agent.handoffAn AI agent escalated to a human

SDKs and tooling

  • Node.jsnpm i @akontec/sdk
  • Pythonpip install akontec
  • PHP — Composer package akontec/sdk
  • Postman collection — importable from the API settings page
  • OpenAPI 3.1 spechttps://api.akontec.store/v1/openapi.json

Versioning and support

The API is versioned in the path. Breaking changes ship as a new version with at least 12 months of overlap; additive changes may appear in v1 without notice, so parse defensively. Deprecations are announced in the release notes and by email to API key owners.

API access is included on Premium plans and for technology partners. On other plans, use the native integrations, Zapier or webhooks.

Building on Akontec?

Get sandbox credentials, the OpenAPI spec and a developer contact.