Upbooks API
  1. Auth
Upbooks API
  • Auth
    • Login
      POST
    • RefreshToken
      POST
    • GetAuthUser
      GET
    • GetLoginLogs
      GET
    • GetLoginSessions
      GET
    • GetOrganizationLoginSessions
      GET
    • ForgotPasswordByEmail
      POST
    • UpdatePassword
      POST
    • ChangePassword
      POST
    • UpdateProfile
      PUT
    • VerifyEmailToken
      POST
    • UpdateSelectedOrgDetails
      PATCH
  • Account Ledger
    • GetAllAccountLedgers
      GET
    • RecordAccountLedgerAdjustment
      POST
    • FixAccountLedger
      POST
    • FixAllAccountLedger
      POST
  • Activity Log
    • GetActivityLogs
      GET
    • GetAllActivityLogs
      GET
  • Announcement
    • GetAnnouncementList
      GET
    • AddAnnouncement
      POST
    • GetActiveAnnouncements
      GET
    • GetAnnouncementDetail
      GET
    • UpdateAnnouncement
      PUT
  • Asset
    • GetAssetsValue
      GET
    • GetAssets
      GET
    • AddAsset
      POST
    • GetAssetDetail
      GET
    • UpdateAsset
      PUT
    • DeleteAsset
      DELETE
    • FileImport
      POST
  • Sales
    • GetTotalRevenue
    • GetTotalReceivables
    • GetTotalInwardPayment
    • GetTotalOverDuePayment
    • SalesRatio
    • GetGrowthByMonth
    • GetGrowthByQuarter
    • GetGrowthByYear
    • GetSnapshotReceivables
    • GetSalesByInvoiceTypes
    • GetIncomeByInvoiceTypes
    • GetGstInvoices
    • GetRecurringInvoices
    • GetClientsAcquired
    • GetSalesByMonthGraph
    • GetSalesByYearGraph
    • GetSalesByProductGraph
    • GetSalesByServiceGraph
    • GetSalesByClientGraph
    • GetSalesByCountryGraph
    • GetSalesByUserGraph
    • GetRevenueBySource
    • GetSalesByRegionGraph
  • Client
    • GetClients
    • AddClient
    • GetClientDetail
    • UpdateClient
    • DeleteClient
    • StatementOfAccount
    • LedgerSyncStatus
    • FixStatementOfAccount
    • GetOutstandingReceivables
    • GetTotalBilling
    • UpdateBillingAddress
    • UpdateShippingAddress
    • FileImport
    • GetPrefferedPayment
    • GetPrefferedAcccount
  • Client Ledger
    • RecordClientLedgerAdjustment
  • CreditNote
    • GetCreditNoteList
    • AddCreditNote
    • GetNextCreditNoteNumber
    • GetCreditNoteDetail
    • UpdateCreditNote
    • SendCreditNoteEmail
    • CancelCreditNote
    • UpdateCreditNoteNumber
    • GenerateCreditNote
  • Cron-jobs
    • JobRunner
  • Currency Conversion
    • GetCurrencyRatesData
  • Document
    • GetAllDocumentsOfOrganiztion
    • DeleteFile
  • Discount
    • GetAllDiscounts
    • AddDiscount
    • GetDiscountDetail
    • UpdateDiscount
    • DeleteDiscount
  • Employee
    • GetEmployeesByMonth
    • GetEmployees
    • AddEmployee
    • GetEmployeeDetail
    • UpdateEmployee
    • DeleteEmployee
    • FileImport
    • UpdateSalaryComponent
    • UpdateFileUrl
    • UpdateInvoiceNumber
    • PrepareSalaryComponents
    • UpdateEmployeeName
    • UpdateEmployeeEmail
    • UpdateEmployeePhone
    • UpdateEmployeeDob
    • UpdateEmployeeLocation
    • UpdateEmployeePanNumber
    • UpdateEmployeeAdharNumber
    • UpdateEmployeeEsiNumber
    • UpdateEmployeeEpsNumber
    • UpdateEmployeeUanNumber
    • UpdateEmployeePfNumber
    • UpdateEmployeeCountry
    • UpdateEmployeeBankAccountDetails
    • UpdateEmployeeCurrentAddress
    • UpdateEmployeePermanentAddress
    • LinkUser
    • UpdateEmployeeDocumentInfo
    • UpdateEmployeeProfilePicture
  • Email
    • SendEmail
  • Expense
    • GetMostSpentOn
    • GetTotalRevenue
    • GetExpenseList
    • AddExpense
    • GetExpenseDetail
    • UpdateExpense
    • DeleteExpense
    • UpdateExpenseRecurring
    • UpdateFileUrl
    • FileImport
  • File
    • UploadFile
    • AddFile
  • Hr
    • GetTotalPayroll
    • GetLeastleave
    • GetMostleave
    • GetAssetsValue
    • GetEmployeesByMonth
    • GetEsiEnrolledEmployees
    • GetPfEnrolledEmployees
    • EmployeesLeftByMonth
    • EmployeesByComponentGroup
  • Inventory Ledger
    • GetAllInventoryLedgers
    • RecordInventoryAdjustment
  • Invoice
    • GetInvoiceList
    • AddInvoiceSystemGenerated
    • GetNextInvoiceNumber
    • GetInvoiceDetail
    • UpdateInvoice
    • DeleteInvoice
    • AddInvoiceManual
    • SendInvoiceEmail
    • CancelInvoice
    • UpdateInvoiceNumber
    • UpdateInvoiceRecurring
    • MarkInvoiceAsPaid
    • GenerateInvoice
    • FileImport
  • Item
    • GetAllItems
    • GetItemDetail
    • UpdateItem
  • Organization
    • GetOrganizations
    • AddOrganization
    • UpdateOrganization
    • GetOrganizationDetail
    • DeleteOrganization
    • UpdateOrganizationBusinessProfile
    • ExtendSubscription
    • UpdateGSTDetails
    • UpdateVATDetails
    • UpdateInvoiceOnOrderSetting
    • UpdateReminderSetting
    • UpdateInvoiceSettings
    • UpdatePurchaseOrderSettings
    • UpdateProposalSettings
    • UpdatePreferences
    • GetOrganizationPreferences
    • UpdatePaymentSettings
    • UpdateDefaultPaymentSettings
    • UpdateLogo
    • UpdateFromEmail
    • OrganizationDeactive
    • GetOrganizationSubscriptions
    • GetOrganizationDashboardView
    • GetOrganizationDashboardSnapshot
    • GetSnapshotReceivables
    • DeleteSelectiveData
    • DeletePermanent
    • GetClientCountries
    • GetVendorCountries
    • GetLeadCountries
    • InviteUsers
    • AcceptInvitation
    • UpdatePlatformCredits
    • UpdateCreditNoteSettings
    • UpdateDebitNoteSettings
  • Order
    • GetAllOrder
    • AddOrder
    • GetNextOrderNumber
    • GetOrderItems
    • GetPastDayOrders
    • GetOrderDetail
    • UpdateOrder
    • DeleteOrder
    • CancelOrder
    • CalculateOrderTotal
    • UpdateFileUrl
    • UpdateOrderStatusToDraft
    • FileImport
  • Outward Payment
    • GetAllOutwardPayment
    • AddOutwardPayment
    • GetOutwardPaymentDetail
    • UpdateOutwardPayment
    • DeleteOutwardPayment
    • FileImport
    • UpdateFileUrl
  • Operations
    • GetTotalProjects
    • GetTotalProjectsMultiple
    • GetTotalProjectsBudget
    • GetAllProjectsByClients
    • GetAllProjectsByBudgets
    • GetTasksPrioritySnapshots
    • GetTasksSnapshotGraph
    • GetProjectTaskList
    • GetTasksByProjectList
    • GetTasksList
    • GetProjectsByBudget
  • Payment
    • GetAllPayment
    • AddPayment
    • GetPastDayPayments
    • GetPaymentDetail
    • UpdatePayment
    • DeletePayment
    • GeneratePayment
    • SendPaymentEmail
    • FileImport
    • UpdateFileUrl
  • Product
    • GetProductList
    • AddProduct
    • GetProductDetail
    • UpdateProduct
    • DeleteProduct
    • FileImport
  • Proposal
    • GetAllProposal
    • AddProposal
    • GetNextProposalNumber
    • GetProposalDetail
    • UpdateProposal
    • DeleteProposal
    • CalculateProposalTotal
    • GenerateProposal
  • Platform Plan
    • GetAllPlatformPlans
    • AddPlatformPlan
    • GetPlatformPlanDetail
    • UpdatePlatformPlan
    • DeletePlatformPlan
  • Platform Subscription
    • GetAllPlatformSubscriptions
    • AddPlatformPayment
  • Platform Payment
    • GetAllPlatformPayments
    • GetPlatformPaymentDetail
    • CancelPlatformPayment
  • ProductCategory
    • GetAllProductCategories
    • AddProductCategory
    • GetProductCategoryDetail
    • UpdateProductCategory
    • DeleteProductCategory
  • Purchase Order
    • GetOrderItems
    • GetAllPurchaseOrder
    • AddPurchaseOrder
    • GetNextPurchaseOrderNumber
    • GetPurchaseOrderDetail
    • UpdatePurchaseOrder
    • DeletePurchaseOrder
    • CalculatePurchaseOrderTotal
    • GeneratePurchaseOrder
  • Purchase
    • GetMostSpentOn
    • GetTotalExpense
    • GetTotalOutwardPayment
    • GetExpenseByTypeGraph
    • GetGstExpenses
    • GetUnpaidExpenses
    • GetOutwardPayments
    • GetExpenseBreakdownByVendorGraph
    • GetExpenseBreakdownByTypeGraph
    • GetExpenseWithoutReciepts
  • Recurring Expense
    • GetAllRecurringExpenses
    • GetRecurringExpenseDetail
    • UpdateRecurringExpenseStatus
    • UpdateRecurringExpenseNextDue
  • Recurring Invoice
    • GetAllRecurringInvoices
    • GetRecurringInvoiceDetail
    • UpdateRecurringInvoiceStatus
    • DeleteRecurringInvoice
    • UpdateRecurringInvoiceNextDue
  • Report
    • GetSalesByClient
    • GetSalesByProduct
    • GetSalesByProductCategory
    • GetSalesByService
    • GetSalesByMonth
    • GetSalesByYear
    • GetSalesByQuarter
    • GetSalesByCountry
    • GetTaxSummary
    • GetInvoiceDetailReport
    • GetExpensesByMonth
    • GetProfitAndLossReportV2
    • GetBalanceSheetReport
    • GetTrialBalanceReport
    • GetGeneralLedger
    • GetSalesByHsn
    • GetTaxesByMonth
    • GetOtherSales
  • Routes
    • GetRoutes
    • AddRoute
    • GetRouteDetail
    • UpdateRoute
    • DeleteRoute
  • Settlement
    • GetAllSettlements
    • GetAllSettlementsSuperadmin
    • GetSettlementDetail
  • Services
    • GetAllServices
    • AddServices
    • GetServicesDetail
    • UpdateServices
    • DeleteServices
    • FileImport
  • Tax
    • GetAllTaxes
    • AddTax
    • GetTaxDetail
    • UpdateTax
    • DeleteTax
    • FileImport
  • Trip
    • GetTrips
    • AddTrip
    • GetTripDetail
    • UpdateTrip
    • DeleteTrip
  • User
    • GetUser
    • GetUserDetail
    • UpdateUser
    • DeleteUser
    • AddUserOnboarding
    • GetOrganizationByUser
    • UpdateEmailOfUser
    • UpdateImageOfUser
    • RemoveUserOrganization
    • UpdateOrganizationActive
  • User Invites
    • GetUserInviteList
    • CancelUserInvite
  • Vendor
    • GetAllVendors
    • AddVendor
    • GetVendorDetail
    • UpdateVendor
    • DeleteVendor
    • GetOutstandingPayables
    • GetTotalBilling
    • StatementOfAccount
    • LedgerSyncStatus
    • FixStatementOfAccount
    • FileImport
  • Vendor Ledger
    • RecordVendorLedgerAdjustment
  • Projects
    • GetAllProjects
    • AddProject
    • GetProjectDetail
    • UpdateProjects
    • DeleteProject
    • FileImport
    • UpdateProjectIcon
    • UpdateProjectStatus
    • UpdateProjectArchiveStatus
  • Pre Sales
    • GetLeadsBySource
    • GetLeadsByMonthGraph
    • GetRecentEnquires
  • Task
    • Get
    • Add
    • GetQuickFilters
    • GetNextTaskNumber
    • GetSingle
    • Update
    • Delete
    • UpdateStatus
    • UpdateSortOrder
    • UpdatePriority
    • UpdateTitle
    • UpdateSummary
    • UpdateLabels
    • UpdateReporter
    • UpdateAssignee
    • UpdateAttachments
    • FileImport
  • Payroll
    • GetTotalPayroll
    • GetAllPayroll
    • AddPayroll
    • PrepareEmployeePayroll
    • GetSinglePayroll
    • UpdatePayroll
    • DeletePayroll
    • GeneratePayroll
    • FileImport
  • Account
    • Get
    • AddAccount
    • GetSingle
    • Update
    • Delete
    • FileImport
    • LedgerSyncStatus
    • CloseBooks
  • Enquiry
    • GetAllEnquiries
    • AddEnquiry
    • GetEnquiryDetail
    • UpdateEnquiry
    • DeleteExpense
  • Account Transfer
    • GetAccountTransfers
    • AddAccountTransfer
    • GetAccountTransferDetail
    • DeleteAccountTransfer
    • FileImport
  • File Import
    • Get
  • File Import Error
    • GetFileImportErrorList
  • Brand
    • GetAllBrands
    • AddBrand
    • GetBrandListPublic
    • GetBrandDetail
    • UpdateBrand
    • DeleteBrand
  • Salary Component
    • GetAllSalaryComponents
    • AddSalaryComponent
    • GetSalaryComponent
    • UpdateSalaryComponent
    • DeleteSalaryComponent
  • Leaves Configuration
    • CreateLeave
    • GetLeaves
    • DeleteLeave
    • UpdateLeave
    • GetLeave
  • Tax Calendar
    • CreateTaxCalendar
    • GetTaxCalendar
    • DeleteTaxCalendar
    • UpdateTaxCalendar
    • GetLeave
  • Contract
    • CreateContract
    • GetContract
    • DeleteContract
    • UpdateContract
    • GetLeave
  • GST-Reports
    • GetReportB2B
    • GetReportB2cl
    • GetReportB2cs
    • GetReportExports
    • GetGstSummary
    • ExportJsonGst1
  • Organization Backup
    • GetAllBackups
    • AddOrganizationBackup
  • Bank Account
    • AddBankAccount
    • GetAllBankAccounts
    • GetBankAccountDetail
    • UpdateBankAccount
    • DeleteBankAccount
    • FileImport
  • Leave Policy
    • GetAllBankAccounts
    • AddLeavePolicy
    • GetLeavePolicyDetail
    • UpdateLeavePolicy
    • DeleteLeavePolicy
  • Leave Application
    • GetMostleave
    • GetLeastleave
    • GetAllLeaveApplications
    • AddLeaveApplication
    • GetLeaveApplicationDetail
    • DeleteLeaveApplication
    • UpdateLeaveApplication
    • GetEmployeeLeaveSummary
    • UpdateLeaveApplicationStatus
    • UpdateLeaveApplicationStatusFromEmail
  • Backup Restore
    • AddBackupRestore
    • GetAllBackupRestores
  • Finance
    • GetGstReceivableTotal
    • GetGstReceivable
    • GetGstPayableTotal
    • GetGstPayable
    • GetAccountBalance
    • GetLastAccountDebited
    • GetAccountTransferSummary
    • GetRecentTransfer
    • GetCreditedAmounts
    • GetDebitedAmounts
    • GetGstBills
    • GetAccountAnalysisGraph
  • Email-Rule
    • GetEmailRules
    • AddEmailRule
    • UpdateEmailRule
    • DeleteEmailRule
  • Widget
    • GetWidgets
  • User Dashboard
    • GetUserDashboards
    • Add
    • Update
  • ExpenseCategory
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Lead
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
    • LeadToClient
    • FileImport
  • LeadActivity
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Deal
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • DebitNote
    • GetDebitNoteList
    • AddDebitNote
    • GetNextDebitNoteNumber
    • GetDebitNoteDetail
    • UpdateDebitNote
    • SendDebitNoteEmail
    • CancelDebitNote
    • UpdateDebitNoteNumber
    • GenerateDebitNote
  • SpendCategory
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • SpendPolicy
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Employee Spend
    • GetAllEmployeeSpends
    • AddEmployeeSpend
    • GetEmployeeSpendDetail
    • DeleteEmployeeSpend
    • UpdateEmployeeSpend
  • Warehouse
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  • Branch
    • Get
    • Add
    • GetSingle
    • Update
    • Delete
  1. Auth

Login

POST
https://api.upbooks.io/api/v1/auth/token/bearer
Auth

Request

Body Params application/json
secret
string 
required
email
string 
required
Example
{
  "secret": "string",
  "email": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.upbooks.io/api/v1/auth/token/bearer' \
--header 'Content-Type: application/json' \
--data-raw '{
    "secret": "string",
    "email": "string"
}'

Responses

🟢200Ok
application/json
Body
data
object (IAuthTokenBearerRes) 
required
token
string 
required
tokenType
enum<string> 
required
Allowed values:
BEARERBASICOTPVERIFICATION_LINK
expireAt
string <date-time>
required
message
string 
optional
Example
{
  "data": {
    "token": "string",
    "tokenType": "BEARER",
    "expireAt": "2019-08-24T14:15:22Z"
  },
  "message": "string"
}
Next
RefreshToken
Built with