- drafts
- test 23
- Welcome
- Getting Started
- Authorization
- OverView
- Sample APIs
- Client
- Product
- Category
- Invoices
- Clients
- Products
- Suppliers
- Taxes
- General Listing
- Site Info
- Staff
- Authentication
- Api V2
- Last
- Full Version
- Invoices
- Estimates
- Credit Notes
- Refund Receipts
- Purchase Orders
- Purchase Refunds
- Clients
- Suppliers
- Staff
- Client Attendance
- Client Appointments
- Invoice Appointments
- Estimate Appointments
- Work Order Appointments
- Notes
- Products
- Time Tracking
- Work Orders
- Product Categories
- Taxes
- Invoice Payments
- Client Payments
- Expenses
- Incomes
- Stores
- Treasuries
- Stock Transactions
- Journals
- Journal Accounts
- Journal Categories
- Follow Up Statuses
- Follow Up Actions
- General Listing
- Site Info
- Authentication
- Documentation
- tests
- Authentication
- Site Information
- Invoices
- Estimates
- Credit Notes
- Purchase Orders
- Purchase Refunds
- Clients
- Suppliers
- Products
- General Listings
- Edit EstimatePUT
- Delete EstimateDELETE
- Edit Credit NotePUT
- Delete Credit NoteDELETE
- Edit Refund ReceiptPUT
- Delete Refund ReceiptDELETE
- Edit Purchase OrderPUT
- Delete Purchase OrderDELETE
- Edit Purchase RefundPUT
- Delete Purchase RefundDELETE
- Edit ClientPUT
- Delete ClientDELETE
- Edit SupplierPUT
- Delete SupplierDELETE
- Edit ProductPUT
- Delete ProductDELETE
- Docs
- Untitled Doc
- Invoices
- Estimates
- Credit Notes
- Refund Receipts
- Purchase Orders
- Purchase Refunds
- Clients
- Suppliers
- Staff
- Client Attendance
- Client Appointments
- Invoice Appointments
- Estimate Appointments
- Work Order Appointments
- Notes
- Products
- Time Tracking
- Work Orders
- Product Categories
- Taxes
- Invoice Payments
- Client Payments
- Expenses
- Incomes
- Stores
- Treasuries
- Stock Transactions
- Journals
- Journal Accounts
- Journal Categories
- Follow Up Statuses
- Follow Up Actions
- General Listing
- Site Info
- Authentication
- Documentation
- ttt
- Authentication
- Site Information
- Invoices
- Estimates
- Credit Notes
- Purchase Orders
- Purchase Refunds
- Clients
- Suppliers
- Products
- General Listings
- Edit Estimate
- Delete Estimate
- Edit Credit Note
- Delete Credit Note
- Edit Refund Receipt
- Delete Refund Receipt
- Edit Purchase Order
- Delete Purchase Order
- Edit Purchase Refund
- Delete Purchase Refund
- Edit Client
- Delete Client
- Edit Supplier
- Delete Supplier
- Edit Product
- Delete Product
OAuth2 Bearer Token
Prod Env
{{subdomain}}/api2
Prod Env
{{subdomain}}/api2
POST
{{subdomain}}/api2
Last modified:2025-03-23 22:41:10
Maintainer:Not configured
{
"access_token": "YOUR_ACCESS_TOKEN",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "YOUR_REFRESH_TOKEN"
}
expires_in
(in seconds).Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST '{{subdomain}}/api2/api2/oauth/token' \
--header 'Content-Type: text/plain' \
--data-raw '{
"client_id": "{{client_id}}",
"client_secret": "{{client_secret}}",
"grant_type": "password",
"username": "{{username}}",
"password": "{{password}}"
}'
Response Response Example
200 - Success Response
{
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjExMTExMWFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MTIzNDU2Nzg5MCIsImV4cCI6MTY3OTE0MTQ1MCwiaWF0IjoxNjc4MTAyNjUwfQ",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "def50200abc1234567890"
}
Request
Body Params text/plain
Examples
Responses
🟢200Success Response
application/json
Body
access_token
stringÂ
required
token_type
stringÂ
required
expires_in
integerÂ
required
refresh_token
stringÂ
required
🟠401Error - Invalid Credentials