Skip to content

Welcome to Aiwyn API

The Aiwyn API provides programmatic access to our comprehensive suite of financial automation tools. Build powerful integrations and automate your accounting workflows with our RESTful APIs.

Key Features

  • ๐Ÿ” Secure Authentication - Industry-standard OAuth 2.0 and API key authentication
  • ๐Ÿ“Š Real-time Data - Access up-to-date financial information
  • ๐Ÿš€ High Performance - Low latency, high throughput API infrastructure
  • ๐Ÿ“š Comprehensive Coverage - Full access to clients, engagements, expenses, and more
  • ๐Ÿ› ๏ธ Developer-Friendly - Extensive documentation, SDKs, and code examples

API Versioning

We use URL versioning for our APIs. The current version is v1. All endpoints are prefixed with the version number.

Testing Enviornments

  • Sandbox runs the latest development branch.
  • Staging mirrors production behavior and stability.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://api.doc.aiwyn.ai/_mock/bundle
Sandbox
https://demo.api.aiwyn.ai
Staging
https://staging.api.aiwyn.app

๐Ÿ” Authentication

Authentication endpoints for obtaining access tokens and managing API keys.

Operations

๐Ÿ‘ค Client

Manage client records, profiles, and related operations.

Operations

๐Ÿ“‡ Contact

Manage contact information and relationships for clients.

Operations

๐Ÿงฉ Client Business Entity

Manage client business entities used for client categorization and structure.

Operations

๐Ÿ”— Contact Client

Manage contact โ†” client relationship records.

Operations

๐Ÿชช Contact Info

Manage contact information records (address, email, phone, etc.).

Operations

๐Ÿข Department

Manage departments and organizational units.

Operations

๐Ÿญ Industry

Manage industry classifications.

Operations

๐Ÿงพ Job

Manage jobs/projects.

Operations

๐Ÿงฉ Job Template

Manage job templates.

Operations

๐Ÿฌ Office

Manage office locations.

Operations

๐Ÿ› Org

Manage organizations.

Operations

๐Ÿงท Service Line

Manage service line classifications.

Operations

Request

Retrieve all service lines with basic pagination support

This is a read-only lookup endpoint backed by Hasura.

Security
BearerAuth
Bodyapplication/json
pageSizeinteger[ 1 .. 1000 ]

Maximum number of records to return

Default 50
pageinteger>= 0

Number of records to skip (offset)

Default 0
curl -i -X POST \
  https://api.doc.aiwyn.ai/_mock/bundle/gql/v1/service_lines \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "pageSize": 50,
    "page": 0
  }'

Responses

Successfully retrieved service lines

Bodyapplication/json
serviceLinesArray of objects
totalobject
Response
application/json
{ "serviceLines": [ { โ€ฆ } ], "total": { "aggregate": { โ€ฆ } } }

๐Ÿง‘โ€๐Ÿ’ผ Staff

Manage staff accounts, roles, and permissions.

Operations

๐Ÿ’ณ Payments

Handle incoming and outgoing payments.

Operations

๐Ÿงพ Billing

Manage billing cycles, statements, and billing configurations.

Operations

๐Ÿ“„ Invoices

Create, send, and manage invoices.

Operations

๐Ÿ“‹ Projects

Handle engagements, projects, and workflow tracking.

Operations

โฑ Time

Track and manage billable and non-billable time entries.

Operations

โœ‰๏ธ Engagement

Create, send, and track engagement.

Operations

๐Ÿ›ค Last Mile

Handle the final delivery stage and client closing processes.

๐Ÿ—ƒ๏ธ Records

Create, update, and manage entity records across standard and custom record types.

The Records API provides:

  • Record Operations - Create, update, and delete records for any entity type
  • Schema Discovery - Query available entity types and their field definitions
  • Custom Record Types - Define and manage custom record type schemas
Operations

๐Ÿ”” Event Subscriptions

Create and manage webhook subscriptions for entity events.

The Event Subscriptions API provides:

  • Webhook Management - Create, update, and deactivate webhook subscriptions
  • Event Filtering - Subscribe to specific entity types and operations (CREATE, UPDATE, DELETE)
  • Security - Retrieve webhook signing secrets for payload verification
Operations

๐Ÿ“ File

Download and access files associated with records and documents.

Operations