Skip to main content
A
Docs

Procure API reference

Endpoints, request examples and errors for the Procure API: tenders, sealed bids, suppliers, scoring and reports.

Authentication

Send a token as Authorization: Bearer <token>. Read API conventions.

Endpoints

MethodPathPurposeRole
POST/api/v1/tendersCreate a tenderAny
GET/api/v1/tendersList tendersAny
GET/api/v1/tenders/statsTender statisticsAny
GET/api/v1/tenders/{tender_id}Get a tenderAny
GET/api/v1/tenders/{tender_id}/detailGet a tender with bids and scoresAny
GET/api/v1/tenders/{tender_id}/summaryGet a tender summaryAny
PUT/api/v1/tenders/{tender_id}Change a tender. Only an admin or manager can change the status. Only an admin can open the bids.Any
DELETE/api/v1/tenders/{tender_id}Delete a tenderadmin
POST/api/v1/tenders/batch-deleteDelete more than one tenderadmin
POST/api/v1/tenders/{tender_id}/analyzeAnalyse the risks of a tenderAny
POST/api/v1/tenders/{tender_id}/extractExtract requirements from the tender descriptionAny
GET/api/v1/tenders/{tender_id}/requirementsList the requirements of a tenderAny
POST/api/v1/tenders/{tender_id}/bidsSubmit a bidAny
GET/api/v1/tenders/{tender_id}/bidsList bids. Sealed bids hide their content.Any
GET/api/v1/tenders/{tender_id}/bids/{bid_id}Get a bidAny
DELETE/api/v1/tenders/{tender_id}/bids/{bid_id}Withdraw a bidAny
POST/api/v1/tenders/{tender_id}/bids/{bid_id}/evaluateScore one bidAny
POST/api/v1/tenders/{tender_id}/bids/batch-scoreScore more than one bidAny
POST/api/v1/tenders/{tender_id}/evaluate-allScore all bids of a tenderadmin
POST/api/v1/tenders/{tender_id}/bids/compareCompare bidsAny
POST/api/v1/suppliersAdd a supplierAny
GET/api/v1/suppliersList suppliersAny
GET/api/v1/suppliers/searchSearch suppliersAny
GET/api/v1/suppliers/{supplier_id}Get a supplierAny
PUT/api/v1/suppliers/{supplier_id}Change a supplierAny
DELETE/api/v1/suppliers/{supplier_id}Delete a supplieradmin
POST/api/v1/suppliers/batch-deleteDelete more than one supplieradmin
POST/api/v1/suppliers/{supplier_id}/scoreScore a supplierAny
POST/api/v1/suppliers/compareCompare suppliersAny
POST/api/v1/reports/tender/{tender_id}Write an evaluation report for a tenderAny
GET/api/v1/reportsList reportsAny
GET/api/v1/tenders/{tender_id}/report/pdfDownload the evaluation report as PDFAny
GET/api/v1/statsProcurement statisticsAny
GET/api/v1/healthHealth checkNone

Create a tender

curl https://procure.example.gov/api/v1/tenders \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Digital services platform support",
    "description": "Three-year support contract",
    "budget_min": 1000000,
    "budget_max": 2500000,
    "currency": "AED",
    "deadline": "2027-01-31T12:00:00Z",
    "requirements": ["ISO 27001 certificate", "Arabic support team"],
    "evaluation_criteria": {"technical": 40, "price": 30, "delivery": 10, "performance": 10, "certifications": 10}
  }'
FieldTypeRequiredMeaning
titlestringYes1 to 500 characters
descriptionstringNoUp to 10,000 characters
categorystringNoThe tender category
budget_min, budget_maxnumberNoThe budget range
currencystringNoThe default is AED
deadlinestringNoThe bid deadline
requirementsarrayNoUp to 50 requirements
evaluation_criteriaobjectNoUp to 20 criteria. The weights must add up to 100.

Submit a bid

{"supplier_id": "sup_210", "amount": 1850000, "proposal": "...", "delivery_days": 90, "qualifications": ["ISO 27001"]}

Errors

StatusCause
400The status change is not allowed from the current status
403Your role cannot change the status, open the bids or delete
404The tender, bid or supplier does not exist
409The tender does not accept bids, the deadline has not passed, or the new deadline is earlier
422The criteria weights do not add up to 100