TUMR DOCS
API Reference
Authentication & Tokens
Endpoints for obtaining JWTs, registering users, and managing API keys.
POST
Exchange email and password credentials for an access and refresh JWT pair.
Authentication: Public / None
Request Body Fields
| Field | Type | Requirement | Description |
|---|---|---|---|
| string | Required | Registered account email address. | |
| password | string | Required | Account password string. |
Request ExampleHTTPS Live Endpoint
Response Payload
200 OK
application/jsonPOST
Generate a new Secret API Key for programmatic backend integration.
Authentication: JWT (Admin or Merchant)
Request Body Fields
| Field | Type | Requirement | Description |
|---|---|---|---|
| name | string | Optional | Friendly name identifier for the key (e.g. "Shopify Backend"). Default: Default |
| mode | string | Optional | Key mode. Allowed: "live""test"Default: test |
Request ExampleHTTPS Live Endpoint
Response Payload
201 Created
application/json