Introduction

Next
MakersHub API1.0.0

Overview

The MakersHub API allows you to programmatically manage invoices and sync external data. This API follows REST conventions and returns JSON responses.

Base URL

All API requests should be made to: https://makershub.ai/server/external/api/

Authentication

All endpoints require Bearer token authentication. Include your API token in the Authorization header: Authorization: Bearer your_api_token_here


Return Status Codes

CodeStatusDescription
200OKRequest successful.
400Bad RequestInvalid request. Check for missing required fields or malformed data.
401UnauthorizedAuthentication failed. Verify your API token.
403ForbiddenAccess denied. Your token may lack required permissions.
404Not FoundThe requested resource does not exist.
415Unsupported Media TypeInvalid Content-Type header. Must be application/json.

Data Formats

Field TypeFormatExample
Invoice IDInteger12345
DateYYYY-MM-DD2024-01-15
TimestampISO 86012024-01-15T10:30:00Z
File DataBase64 encodedJVBERi0xLjQK...
TagsComma-separatedverified,q1-2024

Glossary

TermDefinition
API TokenA unique authentication credential used to identify and authorize API requests.
AP AccountAccounts Payable account used for recording vendor liabilities.
ApproverA user who has performed an action (approve/reject) on an invoice.
Base64A binary-to-text encoding scheme used to transmit file data.
Batch ImportSending multiple records (up to 100) in a single request.
Bearer TokenAuthentication method with token in the Authorization header.
Class IDReference to an accounting class for categorization.
Grouped InvoiceMultiple invoices combined under a single parent.
Item ReceiptRecord documenting goods received from a Purchase Order.
Line ItemIndividual product or service entry within a document.
OCROptical Character Recognition - technology that extracts text from images and PDFs.
Partial SuccessSome records saved successfully while others fail validation.
Purchase OrderCommercial document indicating types, quantities, and prices.
Supplier IDUnique identifier for a vendor in your system.

Contact
 MakersHub Support 
 support@makershub.ai 

Servers

Production Environment

 https://makershub.ai/server/external/api