OpenAPI contract explorer
Every endpoint of the Energy Connect public API, rendered from the live OpenAPI contract.
Prefer a plain list? The API docs cover the same endpoints with examples, and getting started walks through a first integration. You can also download the OpenAPI contract.
All 158 API operations
Allocations
GET /allocationsList allocations by terminalPOST /allocationsUpsert allocation state by natural key (terminal + product + period)PUT /allocations/{id}Update an allocation by id (capacity/allocated/status only — natural key is immutable)
API Keys
POST /api-keys/me/revokeRevoke the calling key immediately (platformapikeys:manage) — cannot be undonePOST /api-keys/me/rotateRotate the calling key (platformapikeys:manage) — returns the successor raw key ONCE; the calling key stays valid for 24h, and cannot be rotated againGET /meThe company the calling key acts for, its scopes, and whether it is a sandbox key (platform:usageread — auto-granted on every key)GET /usage/meOwn quota + burst state for the calling key (platform:usageread — auto-granted on every key)
Capacity Exchange
GET /capacity-bidsThe caller company's own capacity bids, newest first, each with its listing summaryPATCH /capacity-bids/{id}Edit your PENDING capacity bid (capacitybids:write)DELETE /capacity-bids/{id}Withdraw your PENDING capacity bid (capacitybids:write)POST /capacity-bids/{id}/approveApprove a bid on your listing (capacitybids:decide): nominates the supplier (and, for supplier-posted listings, optionally a carrier) and mints the Order.POST /capacity-bids/{id}/rejectReject a PENDING bid on your listing (capacitybids:decide)GET /capacity-listingsBrowse capacity listings (cross-company, demo- and sandbox-segregated); live statuses only unless status is given; mine=true scopes to the caller's own listingsPOST /capacity-listingsPost surplus capacity (capacitylistings:write; any company type except CUSTOMER).GET /capacity-listings/{id}Listing detail with SEALED bids: on your own listing every bid when the key holds capacitybids:decide; on any other listing only your own bids, when it holds…PATCH /capacity-listings/{id}Edit an OPEN listing you posted (capacitylistings:write).DELETE /capacity-listings/{id}Cancel a live listing you posted (capacitylistings:write); pending bids are auto-rejectedPOST /capacity-listings/{id}/bidsPlace a bid on a live listing (capacitybids:write; not on your own); requestedQuantity must not exceed the remaining capacity
Companies
GET /companies/productsList company product catalog (branch keys with no rows inherit the HQ catalog read-only)POST /companies/productsAdd product to catalogPUT /companies/productsReconcile the FULL active product set (absent rows deactivate; empty array deactivates all — the nightly back-office sync shape)PUT /companies/products/{id}Update productDELETE /companies/products/{id}Remove productGET /companies/servicesList your services catalogPUT /companies/servicesReconcile the FULL active service set (absent rows deactivate; empty array deactivates all)GET /companies/{id}/profileGet a company public profile (own company via tenant scope)PUT /companies/{id}/profileUpdate your company profile (strict allowlist mirroring the read shape; unknown fields 400)
Connections
GET /connectionsList connectionsPOST /connections/requestsSend a connection request to another companyGET /connections/{id}Get connection by idPOST /connections/{id}/acceptAccept an incoming pending connection requestPOST /connections/{id}/declineDecline an incoming connection request (receiver only)POST /connections/{id}/disconnectSever an ACCEPTED connection (either party; data preserved)GET /connections/{id}/freight-ratesList freight rates for a connectionPOST /connections/{id}/freight-ratesCreate freight rate on a connectionGET /connections/{id}/loading-numbersLoading-number catalog for a connection — both directions, supplierId-attributedPUT /connections/{id}/loading-numbersFull-replace your OWN direction of the loading-number roster (rows the counterparty issued you)POST /connections/{id}/resubmitResubmit a connection request after an info request (requester only)PUT /freight-rates/{id}Update a freight rateDELETE /freight-rates/{id}Delete a freight rate
Customers
POST /customersCreate a customer in the caller's network
Invoices
GET /invoice-amendmentsList invoice amendments across your invoices (issuer or payer side)POST /invoice-amendmentsPropose an amendment to an issued invoice (issuer only; one PENDING per invoice)GET /invoice-amendments/{id}Get an invoice amendment (issuer or payer)POST /invoice-amendments/{id}/approveApprove a pending amendment (payer only) — applies the changes atomicallyPOST /invoice-amendments/{id}/declineDecline a pending amendment (payer only) — the invoice is left unchangedPOST /invoice-amendments/{id}/withdrawWithdraw a pending amendment (issuer only) — frees the invoice for a new proposalGET /invoicesList invoices (filterable by status)POST /invoicesCreate invoiceGET /invoices/{id}Get invoice by idPOST /invoices/{id}/disputeDispute an issued invoice, with a reason (issuer or payer) — the other party is toldPOST /invoices/{id}/dispute-resolveThe payer closes out a dispute: ACCEPTEDBYPAYER, WITHDRAWNBYPAYER or ESCALATED — the issuer is toldPOST /invoices/{id}/dispute-responseThe issuer answers a dispute — the payer is toldPOST /invoices/{id}/documentsAttach supporting documents to an invoice (issuer only; upload with context invoicedoc first)DELETE /invoices/{id}/documents/{fileId}Remove a supporting document (issuer only; never the primary external upload; blocked while DISPUTED)POST /invoices/{id}/issueIssue a DRAFT invoice (DRAFT → OUTSTANDING; notifies the payer)PUT /invoices/{id}/mark-paidMark invoice as paidGET /invoices/{id}/pdfDownload invoice PDF
Load Board
GET /orders/load-boardThe carrier load board — open loads, disintermediation-masked (no end-customer identity; hasBids boolean, never a count)POST /orders/{id}/bidsSubmit bid on an orderPUT /orders/{id}/bids/{bidId}/declineDecline a bid (with optional reason + carrier notification)
Locations
GET /locationsList locationsPOST /locationsCreate a delivery site (with optional contacts, schedules, assets)GET /locations/{id}Get location detailPUT /locations/{id}Update a delivery site (partial; isActive toggles archiving from listings)POST /locations/{id}/assetsAdd an asset (tank) to an existing locationPUT /locations/{id}/assets/{assetId}Update an asset (tank)GET /locations/{id}/assets/{assetId}/historyA tank's level over time with the burn rate behind it.
Orders
GET /deliveriesThe loads a distributor or broker posted that deliver to the calling company (the other party of the order's, or one stop's, ACCEPTED deliver-to connection).GET /deliveries/{id}One load delivered to the calling company, in the same read-only, carrier-free view; uniform 404 unless it is delivered to the caller.GET /deliveries/{id}/receiptThe delivery receipt PDF for one load delivered to the calling company, the same document the portal serves.GET /delivery-ticketsList delivery ticketsPOST /delivery-ticketsCreate delivery ticketGET /delivery-tickets/{id}Get delivery ticketPUT /delivery-tickets/{id}Update delivery ticketGET /delivery-tickets/{id}/pdfDownload delivery ticket PDFPOST /delivery-tickets/{id}/signSign delivery ticket (driver / receiver)GET /ordersList orders (paginated, filterable)POST /ordersCreate new orderPATCH /orders/loads/{id}/sourcingFill blank pickup terminal/supplier per line (assigned carrier)GET /orders/my-bidsYour bids across all loadsGET /orders/{id}Get order detailsPUT /orders/{id}Update orderPOST /orders/{id}/acceptAccept an offered order (assigned carrier) — order becomes CONFIRMEDPOST /orders/{id}/assignee-cancelAssignee escape hatch — cancel a committed order pre-deliveryGET /orders/{id}/bidsAll bids on your order (owner view — includes carrier names)PUT /orders/{id}/bids/{bidId}/acceptAccept a bid (order owner) — order becomes CONFIRMED, other bids LOSTPUT /orders/{id}/bids/{bidId}/counterCounter a bid (order owner)PUT /orders/{id}/bids/{bidId}/re-counterRespond to a counter with a new rate (carrier)PUT /orders/{id}/bids/{bidId}/withdrawWithdraw your bid (carrier) or your counter (owner)POST /orders/{id}/broker-acceptBroker accepts a load posted to it — ASSIGNED becomes CONFIRMEDPOST /orders/{id}/broker-declineBroker declines a load posted to it — the order goes back to the poster as a DRAFTPOST /orders/{id}/cancelCancel an order (own orders only; not after delivery)POST /orders/{id}/confirm-pickupConfirm pickup — multi-BOL payload (bols[] + per-line actuals) or empty body to advance state.POST /orders/{id}/declineDecline an offered order — waterfall advances or the board reopensPOST /orders/{id}/deliverySubmit delivery data (meter, stick, receiver); on a load-complete order this performs the transit hop itself.PATCH /orders/{id}/deliveryEdit a submitted delivery within the 36h post-completion window.POST /orders/{id}/dispatchDispatch a driver (SMS/email) or self-dispatchGET /orders/{id}/documentsList an order's documents (BOL, POD, tickets)POST /orders/{id}/documentsAttach a document to an order (step 2 — register by fileUploadId)DELETE /orders/{id}/documents/{docId}Delete a document (soft; owner or assigned carrier, within 36h of completion)GET /orders/{id}/documents/{docId}/contentStable document download link (302 to a freshly signed URL)GET /orders/{id}/driver-positionThe driver's most recent position on a load in transit, rounded to roughly a kilometre and carrying NO identity.POST /orders/{id}/etaSet/update the carrier ETA on a confirmed order (non-blocking follow-up)POST /orders/{id}/forwardBroker duplicates an accepted (CONFIRMED) parent order into a child direct order assigned to a connected carrier — parent stays CONFIRMED (hop depth 1; a…GET /orders/{id}/my-bidYour most recent bid on a load (carrier view)GET /orders/{id}/notesList an order's notes (chronological)POST /orders/{id}/notesAppend a note to an order (any status)POST /orders/{id}/notify-deliveredReport delivery to the originator (no status change; one notification per order)PATCH /orders/{id}/poSet or change an order's PO number (own orders only), in any status except CANCELLED, including after delivery and invoicing.POST /orders/{id}/publishPublish order (DRAFT → POSTED) — an internal bid goes to its invited carriers (BIDDING), a carrier-addressed order is an offer, the rest post to the load boardPOST /orders/{id}/reconfirmReconfirm a haul after the poster edited material terms (assigned carrier)POST /orders/{id}/send-to-supplierDeprecated: sent a DRAFT order to a connected supplier. (deprecated)PUT /orders/{id}/ship-to-erp-idSet or replace your ERP code (station id) for an accepted haul's delivery sitePOST /orders/{id}/start-transitLoad complete → in transit.POST /orders/{id}/supplier-acceptDeprecated: the supplier accepted an order sent to it. (deprecated)POST /orders/{id}/supplier-declineDeprecated: the supplier declined an order sent to it. (deprecated)GET /orders/{id}/timelineOrder status history, oldest first.POST /orders/{id}/tracking-linkMint a customer tracking link for a load you posted.POST /orders/{id}/verifyVerify (approve) or reject a submitted delivery (own orders only).POST /uploadsRequest a signed upload URL (step 1 of attaching a document)
Payments
GET /paymentsList paymentsGET /payments/{id}Get payment by id
Pricing
POST /pricing/bulk/rackBulk upsert rack prices — each line updates the latest posting for its terminal × product × brand or adds a new posting (later different price, or a future…GET /pricing/contractContract prices — role=supplier (own roster incl.POST /pricing/contractUpsert contract prices for one connected customer (supplier side)POST /pricing/freight-calculateCalculate freight for an origin/destination/gallons combinationPOST /pricing/importsPreview a price-sheet import from an uploaded file (context importcsv)GET /pricing/imports/product-aliasesList product aliases (raw sheet label → canonical product)POST /pricing/imports/product-aliasesCreate a product alias (used by the next commit)GET /pricing/imports/terminal-aliasesList terminal aliases (source feed code → your terminal)POST /pricing/imports/terminal-aliasesCreate a terminal alias (used by the next commit)GET /pricing/imports/{id}Import batch status + first-50 preview rowsPOST /pricing/imports/{id}/cancelCancel a PREVIEW batch (idempotent)POST /pricing/imports/{id}/commitCommit a PREVIEW batch into rack prices (single-shot)GET /pricing/rackGet rack pricingGET /pricing/terminal/{id}Rack prices for a specific terminal
Product Taxonomy
GET /product-taxonomy/unitsList the platform-global unit-of-measure catalog accepted by order-line unitCode
Reference Data
GET /master-terminalsList IRS-seeded master terminals — the directory loading-number matching keys off
Supplier Terminals
GET /supplier-terminalsList supplier terminalsPOST /supplier-terminalsCreate a supplier terminalGET /supplier-terminals/{id}Get supplier terminal detailPUT /supplier-terminals/{id}Update a supplier terminalDELETE /supplier-terminals/{id}Archive a supplier terminal (soft — stays GET-by-id resolvable with isActive: false)
Suppliers
POST /suppliersCreate a supplier in the caller's network
Tax Rates
GET /tax-ratesList your tax-rate schedule (filter: category, activeOnly, effectiveAt)POST /tax-ratesCreate a tax rate (PERUNIT or PERCENTAGE, optional product/customer rules)GET /tax-rates/{id}Get a tax ratePUT /tax-rates/{id}Update a tax rate (rule arrays are full-replacement; omit to leave unchanged)DELETE /tax-rates/{id}Deactivate a tax rate (soft — history keeps referencing it)
Webhooks
GET /webhooksList webhook subscriptionsPOST /webhooksCreate a webhook subscription (response carries the signing secret ONCE)GET /webhooks/{id}Get a webhook subscriptionPATCH /webhooks/{id}Update url/events/description/isActiveDELETE /webhooks/{id}Delete a webhook subscriptionGET /webhooks/{id}/deliveriesDelivery history incl.POST /webhooks/{id}/replayRe-enqueue events since a timestamp (catch-up; same stable event ids)POST /webhooks/{id}/rotate-secretRotate the signing secret (response carries the new secret ONCE)