EYMINT
DocumentationAPI Reference
BlogDashboard
EYMINT
SectionsDocumentationAPI Reference
Go to Dashboard

For AI agents: the documentation index is at /llms.txt. Every docs page is also available as markdown by adding .md to its URL.

Overview

  • API Introduction
  • API Reference Overview
  • Authentication
  • Rate Limits
  • Error Codes

Customers

  • Create Customer
  • Get All Customers
  • Get Customer
  • Update Customer
  • Get Customer Keys
  • Toggle Status
  • Delete Customer

License Keys

  • Create Key
  • Get Key Info
  • Update Key
  • Activate Key
  • Sign Offline Key
  • Checkout Floating Session
  • Heartbeat Floating Session
  • Checkin Floating Session
  • Deactivate Key
  • Block Key
  • Unblock Key
  • Delete Key
post/customer

Create Customer

Create a customer to assign license keys to. Requires an `admin` key or the `customer:write` grant; product-bound keys are refused. Counts against the plan's customer limit.

Authentication required: Bearer Token in Authorization header.

Parameters

Idempotency-Key
headerstring

Use a unique value to safely retry this request without repeating its effects.

Example9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d

Request Body (application/json)

namerequired
string

Customer name. 3–255 characters after trimming; can't be a URL or contain control characters.

email
string

Optional. An empty string or null is treated as no email. Must be unique within the workspace. A valid email address, 3–320 characters.

Responses

200Customer created
400Invalid request. Validation errors name the field: `Field '<name>' is required.` or `Field '<name>': <problem>`, and keep the legacy `error: { code: "VALIDATION_ERROR" }` object. A body that isn't valid JSON is also `invalid_request`. An `Idempotency-Key` reused with a different method, path, query or body returns `idempotency_mismatch`. An `Idempotency-Key` longer than 255 characters, or with characters outside printable ASCII, returns `invalid_request`.
401
403The workspace's plan doesn't allow another customer.
409Another customer in this workspace already has this email (`conflict`, code 2). A request with the same `Idempotency-Key` is still running (`idempotency_in_progress`), or an old idempotency record can't be replayed (`idempotency_legacy`).
413
429
503

Response Body (200)

action
string
status
boolean
message
string
data
object
code
integer
Request Example
curl -X POST "https://api.keymint.dev/customer" \
  -H "Authorization: Bearer <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Jane Doe",
  "email": "jane@example.com"
}'
Response (200 OK)
{
  "action": "addCustomer",
  "status": true,
  "data": {
    "id": "078116d0069c32407b4f63",
    "name": "Jane Doe",
    "email": "jane@example.com"
  },
  "message": "Customer added",
  "code": 0
}