API Reference

v2.0.0OpenAPI

Complete reference for the Demurly REST API. (165 endpoints)

Introduction

The Demurly API is organized around REST. It accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

Base URL: https://app.demurly.com

OpenAPI Specification

This documentation is generated from our OpenAPI 3.0 specification. You can download it to generate client SDKs or import into tools like Postman.

Authentication

The Demurly API uses API keys to authenticate requests. You can view and manage your API keys in the Dashboard under Settings > API.

Include your API key in the Authorization header:

Example Requestbash
curl https://app.demurly.com/api/records \
  -H "Authorization: Bearer YOUR_API_KEY"

Keep your API key secure

Your API key has access to your organization's data. Never share it publicly or commit it to version control.

Rate Limits

API requests are rate limited based on your subscription tier:

TierRate LimitBurst Limit
Free60 requests/minute10 requests/second
Professional100 requests/minute20 requests/second
Enterprise1000 requests/minute100 requests/second

Rate limit headers are included in API responses:X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset

Errors

Demurly uses standard HTTP response codes to indicate success or failure of API requests.

CodeDescription
200Success
201Created
400Bad Request - Invalid parameters
401Unauthorized - Invalid or missing API key
403Forbidden - Insufficient permissions
404Not Found - Resource doesn't exist
429Too Many Requests - Rate limit exceeded
500Internal Server Error - Something went wrong

Auth

Authentication and session management

Records

Create, manage, and track demurrage records

Drivers

Driver account management for carriers

Analytics

Reporting, trends, and data analytics

Connections

Carrier-customer relationship management

Payments

Payment processing and confirmation

Subscriptions

Carrier subscription management via Stripe

Stripe

Stripe Connect and billing

Notifications

In-app and email notifications

Terminals

Terminal lookup and management

EDI

Electronic Data Interchange integrations

Import

Bulk data import for drivers and terminals

Export

Data export functionality

Settings

API keys and organization settings

Referrals

Referral program management

Support

Support ticket system

Guest

Guest access for unauthenticated record review

Webhooks

Webhook configuration and testing

Admin

Platform administration (super admin only)

Onboarding

User onboarding flow

Organization

Organization terminal management

Invites

Connection invite management

Payouts

Carrier payout processing

Cron

Scheduled jobs (internal)

Health

System health and status checks

Careers

Careers endpoints

Need help?

Contact our developer support team.

API Reference | Demurly Docs | Demurly