Authentication endpoints for obtaining access tokens and managing API keys.
Aiwyn API (1.0.0)
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.
- 🔐 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
Request
Retrieve all projects with basic pagination support
Projects are represented via vw_job. Default ordering by updatedAt desc.
Real Example:
curl --location 'https://{{host}}/v1/projects' \
--header 'Authorization: bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
"pageSize": 25,
"page": 0
}'- Mock serverhttps://api.doc.aiwyn.ai/_mock/bundle/gql/v1/projects
- Staging Environment (Test Data)https://demo.api.aiwyn.ai/gql/v1/projects
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.doc.aiwyn.ai/_mock/bundle/gql/v1/projects \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"pageSize": 25,
"page": 0
}'Request
Advanced project filtering with custom GraphQL where clauses and dynamic ordering
Projects are stored in the Jobs table (vw_job view). Supports manager, dates, and flags.
Real Example:
curl --location 'https://{{host}}/v1/projects/search' \
--header 'Authorization: bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
"pageSize": 1,
"where": {
"_and": [
{
"_or": [
{
"name": {
"_ilike": "%migration%"
}
},
{
"serviceDescription": {
"_ilike": "%review%"
}
}
]
},
{
"active": {
"_eq": true
}
},
{
"updatedAt": {
"_gte": "1900-01-01T00:00:00Z"
}
},
{
"partnerId": {
"_in": [
101,
102,
103
]
}
}
]
},
"orderBy": [
{
"updatedAt": "desc"
},
{
"name": "asc"
}
]
}'GraphQL-style where clause for complex project filtering
- Mock serverhttps://api.doc.aiwyn.ai/_mock/bundle/gql/v1/projects/search
- Staging Environment (Test Data)https://demo.api.aiwyn.ai/gql/v1/projects/search
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.doc.aiwyn.ai/_mock/bundle/gql/v1/projects/search \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"pageSize": 1,
"where": {
"_and": [
{
"_or": [
{
"name": {
"_ilike": "%migration%"
}
},
{
"serviceDescription": {
"_ilike": "%review%"
}
}
]
},
{
"active": {
"_eq": true
}
},
{
"updatedAt": {
"_gte": "1900-01-01T00:00:00Z"
}
},
{
"partnerId": {
"_in": [
101,
102,
103
]
}
}
]
},
"orderBy": [
{
"updatedAt": "desc"
},
{
"name": "asc"
}
]
}'Request
Retrieve a specific project by its unique identifier
This endpoint provides detailed project information including:
- Complete project details and specifications
- Project status and lifecycle information
- Client and engagement relationships
- Team assignments and resource allocation
- Budget and financial tracking data
- Timeline and milestone information
Project Management Features:
- Project lifecycle tracking
- Resource allocation and team management
- Budget and financial oversight
- Timeline and milestone management
- Client relationship integration
Project Details Include:
- Project name and description
- Project status and phase
- Client and engagement references
- Team member assignments
- Budget and financial data
- Timeline and milestone tracking
Business Applications:
- Project status monitoring
- Resource allocation analysis
- Budget tracking and reporting
- Client project portfolio management
- Team performance analysis
Real Example:
curl --location 'https://{{host}}/v1/project/67890' \
--header 'Authorization: bearer {{token}}' \
--header 'Content-Type: application/json'Response Example:
{
"id": 67890,
"name": "Q4 Financial Audit",
"description": "Comprehensive financial audit for Q4 2024 including tax preparation and compliance review",
"status": "IN_PROGRESS",
"phase": "EXECUTION",
"clientId": 789,
"clientName": "Acme Corporation",
"engagementId": 456,
"engagementName": "Annual Audit Engagement",
"startDate": "2024-10-01T00:00:00Z",
"endDate": "2024-12-31T23:59:59Z",
"budget": 25000.00,
"currency": "USD",
"actualCost": 18500.00,
"teamMembers": [
{
"staffId": 123,
"name": "John Smith",
"role": "SENIOR_AUDITOR",
"allocation": 0.8
},
{
"staffId": 124,
"name": "Jane Doe",
"role": "AUDITOR",
"allocation": 0.6
}
],
"milestones": [
{
"id": 1,
"name": "Planning Phase Complete",
"dueDate": "2024-10-15T00:00:00Z",
"status": "COMPLETED"
},
{
"id": 2,
"name": "Fieldwork Complete",
"dueDate": "2024-12-15T00:00:00Z",
"status": "IN_PROGRESS"
}
],
"createdAt": "2024-09-15T10:00:00Z",
"updatedAt": "2024-11-20T14:30:00Z"
}- Mock serverhttps://api.doc.aiwyn.ai/_mock/bundle/gql/v1/project/{id}
- Staging Environment (Test Data)https://demo.api.aiwyn.ai/gql/v1/project/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.doc.aiwyn.ai/_mock/bundle/gql/v1/project/67890 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Project details retrieved successfully
Detailed project description
Current project status
Current project phase
{ "id": 67890, "name": "Q4 Financial Audit", "description": "Comprehensive financial audit for Q4 2024 including tax preparation and compliance review", "status": "IN_PROGRESS", "phase": "EXECUTION", "clientId": 789, "clientName": "Acme Corporation", "engagementId": 456, "engagementName": "Annual Audit Engagement", "startDate": "2024-10-01T00:00:00Z", "endDate": "2024-12-31T23:59:59Z", "budget": 25000, "currency": "USD", "actualCost": 18500, "teamMembers": [ { … } ], "milestones": [ { … } ], "createdAt": "2024-09-15T10:00:00Z", "updatedAt": "2024-11-20T14:30:00Z" }