Daftra API
All Endpoints
Daftra Partners
All Endpoints
Daftra Partners
  1. Developers Portal
  • Welcome
  • Getting Started
  • Validation Errors
  • Authorization
    • How To Authorize
    • Generate Access Token
      POST
  • Endpoints v1
    • Site
      • GET Site Info
    • Invoices
      • GET All Invoices
      • GET Single Invoice
      • Edit Invoices
      • Delete Invoices
      • Add New Invoice
    • Estimates
      • GET All Estimates
      • GET Single Estimate
      • Edit Estimates
      • Delete Estimates
      • Add New Estimate
    • Credit Notes
      • GET All Credit Notes
      • GET Single Credit Note
      • Edit Credit Notes
      • Delete Credit Notes
      • Add New Credit Note
    • Refund Receipts
      • GET All Refund Receipts
      • GET Single Refund Receipt
      • Edit Refund Receipts
      • Delete Refund Receipts
      • Add New Refund Receipt
    • Clients
      • GET All Clients
      • GET Single Client
      • Edit Clients
      • Delete Clients
      • Add New Client
    • Suppliers
      • GET All Suppliers
      • GET Single Supplier
      • Edit Suppliers
      • Delete Suppliers
      • Add New Supplier
    • Work Orders
      • GET Single Work Order
      • Edit Work Orders
      • Delete Work Orders
      • GET All Work Orders
      • Add New Work Order
    • Client Appointments
      • GET All Client Appointments
      • GET Single Client Appointment
      • Edit Client Appointments
      • Delete Client Appointments
      • Add New Client Appointment
    • Invoice Appointments
      • GET All Invoice Appointments
      • GET Single Invoice Appointment
      • Edit Invoice Appointments
      • Delete Invoice Appointments
      • Add New Invoice Appointment
    • Estimate Appointments
      • GET All Estimate Appointments
      • GET Single Estimate Appointment
      • Edit Estimate Appointments
      • Delete Estimate Appointments
      • Add New Estimate Appointment
    • Work Order Appointments
      • GET All Work Order Appointments
      • GET Single Work Order Appointment
      • Edit Work Order Appointments
      • Delete Work Order Appointments
      • Add New Work Order Appointment
    • Notes
      • GET Single Note
      • Edit Notes
      • Delete Notes
      • GET All Notes
      • Add New Note
    • Time Tracking
      • GET All Time Tracking
      • GET Single Time Tracking
      • Edit Time Tracking
      • Delete Time Tracking
      • Add New Time Tracking
    • Invoice Payments
      • GET All Invoice Payments
      • GET Single Invoice Payment
      • Edit Invoice Payments
      • Delete Invoice Payments
      • Add New Invoice Payment
    • Client Payments
      • GET All Client Payments
      • GET Single Client Payment
      • Edit Client Payments
      • Delete Client Payments
      • Add New Client Payment
    • Products
      • GET All Products
      • GET Single Product
      • Edit Products
      • Delete Products
      • Add New Product
    • Journals
      • GET All Journals
      • GET Single Journal
      • Edit Journals
      • Delete Journals
      • Add New Journal
    • Journal Accounts
      • GET All Journal Accounts
      • GET Single Journal Account
      • Edit Journal Accounts
      • Delete Journal Accounts
      • Add New Journal Account
    • Journal Cats
      • GET Single Journal Cat
      • Edit Journal Cats
      • Delete Journal Cats
      • GET All Journal Cats
      • Add New Journal Cat
    • Expenses
      • GET All Expenses
      • GET Single Expens
      • Edit Expenses
      • Delete Expenses
      • Add New Expens
    • Incomes
      • GET All Incomes
      • GET Single Income
      • Edit Incomes
      • Delete Incomes
      • Add New Income
    • Taxes
      • GET All Taxes
      • GET Single Taxe
      • Edit Taxes
      • Delete Taxes
      • Add New Taxe
    • Purchase Invoices
      • GET All Purchase Invoices
      • GET Single Purchase Invoice
      • Edit Purchase Invoices
      • Delete Purchase Invoices
      • Add New Purchase Invoice
    • Purchase Refunds
      • GET All Purchase Refunds
      • GET Single Purchase Refund
      • Edit Purchase Refunds
      • Delete Purchase Refunds
      • Add New Purchase Refund
    • Stock Transactions
      • GET All Stock Transactions
      • GET Single Stock Transaction
      • Edit Stock Transactions
      • Delete Stock Transactions
      • Add New Stock Transaction
    • Stores
      • GET All Stores
      • GET Single Store
      • Edit Stores
      • Delete Stores
      • Add New Store
    • Treasuries
      • GET All Treasuries
      • GET Single Treasury
      • Edit Treasuries
      • Delete Treasuries
      • Add New Treasury
    • Product Categories
      • GET All Product Categories
      • GET Single Product Category
    • Staff
      • GET Single Staff
      • GET All Staff
    • Client-attendance-log
      • Add New Client-attendance-log
    • General Listing
      • GET General Listing
    • Requsitions
      • GET All Requisitions
      • GET single Requisition
      • Edit Requisitions
      • Delete Requisitions
      • Add New Requisition
    • Booking
      • Add new Booking
      • Change Booking Status
      • Convert booking to Invoice
      • Get All Bookings
      • Get Single Booking
      • Delete booking
    • Advance Payment Invoices
      • GET All Advance payment
      • GET Single Advance payment
      • Add Advance Payment
  • Endpoints v2
    • What's New
      • API Improvements
      • Filtering
      • Using API v2
        • Endpoints Structure
        • Data Fetching — Filtered
    • HR
      • Leave Application
        • Get All Leave Applications
        • Get Single Leave Applications
        • Add Leave Application
        • Edit Leave Application
      • Attendance Logs
        • Get All Attendance Logs
        • Get Single Attendance Log
        • Add Attendance Log
    • Purchase Debit Note
      • Purchase Debit Note
      • Purchase Debit Note
    • Branches
      • Get All Branches
    • Product Bundles
      • Add Product bundle
    • Brands
      • Get All Brands
      • Get Single Brand
      • Add New Brand
      • Edit brand
    • Unit Templates
      • Get All Unit Templates
      • Get Single Unit Template
      • Add Unit Template
      • Edit Unit Template
    • Follow-Up Statuses
      • Get All Follow-Up Statuses
      • Get Single Follow-Up Status
      • Add New Follow-Up Status
      • Delete Follow-Up Status
    • Follow-Up Actions
      • Get All Follow-Up Actions
      • Get Single Follow-Up Action
      • Delete Follow-Up Action
    • Cost Centers
      • Get All Cost Centers
      • Get Single Cost Center
      • Edit Cost Center
      • Add New Cost Center
    • Payment Gateways
      • Get All Payment Methods
      • Get Single Payment Method
      • Add Payment Method
    • Points & Credits
      • Credit Usage
        • Get All Credit Usage
        • Get Single Credit Usage
        • Add New Credit Usage
        • Add Credit Usage Amount
        • Edit Credit Usage
        • Edit Credit Usage Amount
        • Get All Credit Usage Amount
        • Get Single Credit Usage Amount
      • Credit Types
        • Get All Credit types
        • Get Single Credit type
        • Add New Credit type
        • Edit Credit type
      • Credit Charges
        • Get All Credit Charges
        • Get Single Credit Charge
        • Add New Credit Charge
        • Edit Credit Charge
      • Packages
        • Get All Packages
        • Get Single Package
        • Add New Package
        • Edit Package
      • Packages Credit Types
        • Get All Package Credit Types
        • Get Single Package Credit Type
        • Add Package Credit Type
        • Edit Package Credit Type
    • Workflow
      • Get All Records
      • Get Single Record
      • Add New Record
      • Edit Record
    • Multity entity request
      • Overview
      • Multy Entity Request
  • Developers Portal
    • Introduction & Getting Started
    • Dashboard, Earnings & Withdrawals
    • Creating a New App
    • App Configuration
    • Managing Your App
    • Entities: Modeling Your Data
    • The Entity Builder
    • Buttons & Page Scripts
    • Integrations: Webhooks
    • Invitations, Publishing & Reviews
    • Check App Status
      GET
  1. Developers Portal

Integrations: Webhooks

Webhooks connect your app to the outside world. Instead of constantly asking Daftra whether something changed, a webhook lets Daftra notify your server the moment an event happens — for example, when an invoice is created or a client is updated. You manage them from the Webhooks tab on the App Hub.
To add one, open the Webhooks tab and create a new webhook — this opens the Create Webhook form.

Daftra-Partners-06-22-2026_01_02_PM.png#

Create Webhook#

The form has two fields:

URL#

The endpoint on your server that receives the notification. When the chosen event fires, Daftra sends the data to this address.
Required.
Must start with https://.

Event#

The event that triggers the webhook. Pick one from the dropdown. The available events cover several resources, with create / update / delete actions:
ResourceAvailable events
InvoiceInvoice created, Invoice deleted
ClientClient created, Client updated, Client deleted
SupplierSupplier created, Supplier updated, Supplier deleted
ProductProduct created, Product updated, Product deleted
Item GroupItem Group created, Item Group deleted
TaxTax deleted
Refund ReceiptRefund Receipt deleted
AccountReset Account
AppApp Status Change
When the selected event occurs in a client's account, Daftra sends a notification to your URL so your system can react in real time.

Saving#

Use Save (top right) to create the webhook, or Cancel to discard. Once saved, the webhook is active and will fire whenever its event occurs.
💡 Make sure your endpoint is ready to receive and acknowledge requests before going live — and use an https:// URL, as required.
Previous
Buttons & Page Scripts
Next
Invitations, Publishing & Reviews