{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Aiwyn API documentation","description":"Reference, guides, and webhooks for the Aiwyn API: clients, contacts, engagements, projects, billing, payments, time, and files.","llmstxt":{"title":"Aiwyn API","description":"Aiwyn Product API documentation. Start with reference/quickstart.md; the API reference lists every endpoint, its required role, its request and response schemas, and the webhook payload."}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"aiwyn-api-documentation","__idx":0},"children":["Aiwyn API documentation"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"hero-banner"},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"build-financial-automations-fast","__idx":1},"children":["Build financial automations, fast"]},{"$$mdtype":"Tag","name":"p","attributes":{"className":"hero-description"},"children":["A modern, secure API for invoices, payments, clients, projects, and more."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"hero-cta-container"},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/reference/quickstart","className":"hero-cta-button"},"children":["Get started →"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"documentation","__idx":2},"children":["Documentation"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Environment"},"children":["Environment"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"URL"},"children":["URL"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Notes"},"children":["Notes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Development"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://dev.docs.aiwyn.ai/"},"children":["https://dev.docs.aiwyn.ai"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Reflects the latest development branch"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Production"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://docs.aiwyn.ai/"},"children":["https://docs.aiwyn.ai"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Current production documentation"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Production"]}," ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["(legacy)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://api.doc.aiwyn.ai"},"children":["https://api.doc.aiwyn.ai"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deprecated, and retired by 2027."]}," Update your bookmarks to ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["docs.aiwyn.ai"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"what-you-can-build","__idx":3},"children":["What you can build"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"feature-grid"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"feature-card"},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"-financial-dashboards","__idx":4},"children":["📊 Financial dashboards"]},{"$$mdtype":"Tag","name":"p","attributes":{"className":"feature-card-description"},"children":["Pull clients, invoices, payments, WIP, and time into your own reporting."]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"feature-card"},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"-automation-workflows","__idx":5},"children":["🤖 Automation workflows"]},{"$$mdtype":"Tag","name":"p","attributes":{"className":"feature-card-description"},"children":["Onboard clients and staff, create engagements and projects, and record time from your own systems."]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"feature-card"},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"-system-integrations","__idx":6},"children":["🔗 System integrations"]},{"$$mdtype":"Tag","name":"p","attributes":{"className":"feature-card-description"},"children":["Connect Aiwyn with your CRM, ERP, project management, and accounting systems."]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"key-capabilities","__idx":7},"children":["Key capabilities"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-grid"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-card"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-icon"},"children":["🔒"]},{"$$mdtype":"Tag","name":"div","attributes":{},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-title"},"children":["Enterprise-grade security"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-description"},"children":["JWT API keys, short-lived bearer tokens, and role-based permissions per key."]}]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-card"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-icon"},"children":["🔔"]},{"$$mdtype":"Tag","name":"div","attributes":{},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-title"},"children":["Event-driven"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-description"},"children":["Signed webhooks tell your system when payments, engagements, files, and more change."]}]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-card"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-icon"},"children":["📈"]},{"$$mdtype":"Tag","name":"div","attributes":{},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-title"},"children":["Designed for scale"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-description"},"children":["Pagination, filtering, and search that handle large datasets."]}]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-card"},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-icon"},"children":["🧩"]},{"$$mdtype":"Tag","name":"div","attributes":{},"children":[{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-title"},"children":["Composable"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"capability-description"},"children":["Consistent resource models for clients, invoices, payments, and projects."]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"support","__idx":8},"children":["Support"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Questions, credentials, or feedback? Email ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"mailto:api-support@aiwyn.ai"},"children":["api-support@aiwyn.ai"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"whats-new","__idx":9},"children":["What's new"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/engagements"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/engagements/search"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /gql/v1/engagement/{id}"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /gql/v1/engagement_documents/by_engagement/{engagementId}"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/projects"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/projects/search"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /gql/v1/project/{id}"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/jobs"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /gql/v1/job/{id}"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/job_templates"]}]}," — Engagements, engagement documents, projects, jobs, and job templates return the fields your Bulk Data Access export already carries, such as contacts, collaborators, internal notes, task and client request counts, budgeted and actual hours, and template offsets, and projects and jobs now return the same set of job fields."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/draft_invoice_histories"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/draft_invoice_histories/search"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /gql/v1/draft_invoice_history/{invoiceId}"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/invoices"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/invoices/search"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /gql/v1/invoice/{id}"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/payments"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/payments/search"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /gql/v1/payment/{id}"]}]}," — Draft invoices, invoices, their AR transactions and payments return the same fields as your Bulk Data Access export, including reviewer, sender and schedule details on drafts, posting, delivery and reversal details on invoices, and card, failure, source and fee details on payments."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/wip"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/wips/search"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /gql/v1/time/wip/{id}"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/tasks/search"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /gql/v1/task/{id}"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /gql/v1/task-types"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /gql/v1/task-types/search"]}]}," — WIP, task and task-type responses return more of their Bulk Data Access fields: WIP adds approval, posting, lock, staff, office, department, service line, work code, units, rates, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pmsRef"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["customFieldValues"]},"; tasks add ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["createdByStaffId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["lastUpdatedByStaffId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["taskSectionId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["jobTemplateTaskId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["task.active"]},"/",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["task.customFieldValues"]},"; task types add both staff ids."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/changelog"},"children":["Full changelog →"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"cta-section"},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"ready-to-build","__idx":10},"children":["Ready to build?"]},{"$$mdtype":"Tag","name":"a","attributes":{"href":"/reference/quickstart","className":"cta-button"},"children":["Start building →"]}]}]},"headings":[{"value":"Aiwyn API documentation","id":"aiwyn-api-documentation","depth":1},{"value":"Build financial automations, fast","id":"build-financial-automations-fast","depth":2},{"value":"Documentation","id":"documentation","depth":2},{"value":"What you can build","id":"what-you-can-build","depth":2},{"value":"📊 Financial dashboards","id":"-financial-dashboards","depth":3},{"value":"🤖 Automation workflows","id":"-automation-workflows","depth":3},{"value":"🔗 System integrations","id":"-system-integrations","depth":3},{"value":"Key capabilities","id":"key-capabilities","depth":2},{"value":"Support","id":"support","depth":2},{"value":"What's new","id":"whats-new","depth":2},{"value":"Ready to build?","id":"ready-to-build","depth":3}],"frontmatter":{"seo":{"title":"Aiwyn API documentation"}},"lastModified":"2026-11-21T00:01:12.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}