Getting Started

Authentication

Micron Delta uses bearer API keys. Include your key in the Authorization header of every request.

Authenticated request
curl https://api.microndelta.com/v1/operations \
  -H "Authorization: Bearer md_live_xxxxxxxxxxxxx" \
  -H "Content-Type: application/json"

Key types

Sandbox keys begin with md_test_ and production keys begin with md_live_. Sandbox keys work against the sandbox environment and never touch production data.

md_test_Sandbox environment — test data only
md_live_Production environment — real operations

Error responses

The API returns standard HTTP status codes. Errors include a structured JSON body with a code and message.

Error response
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid or missing API key",
    "status": 401
  }
}
400Bad request — invalid parameters
401Unauthorized — missing or invalid API key
403Forbidden — insufficient permissions
404Not found — resource does not exist
409Conflict — invalid state transition
429Rate limited — too many requests
500Server error

Pagination

List endpoints return paginated results. Use limit and cursor parameters to page through results.

Paginated response
{
  "data": [...],
  "has_more": true,
  "next_cursor": "op_abc123"
}