Skip to content

Management API reference

Generated from docs/api/management-v1.openapi.json by scripts/gen_sdk_docs.py. Do not edit by hand.

Manage products, plans, licenses and keys. Authenticate with an API key: Authorization: Bearer mk_live_.... The dashboard uses the same API with a session cookie and the headers Team-Id and Environment.

The Management API is for your servers only. It is never reachable from an app on a device. Concepts (scopes, environments, idempotency, errors, paging) are in the overview; how the license objects relate is in concepts.

Overview

  • Base URL: the Management API host of your deployment. Paths start with /v1.
  • Authentication: Authorization: Bearer mk_live_... or mk_test_.... A key belongs to one environment and sees only that environment's data. The secret is shown once, when the key is created.
  • Scopes: <resource>:read or <resource>:write. write includes read. A missing scope gives 403 with code missing_scope. A key can create new keys only with scopes it has itself.
  • Idempotency: write calls accept an Idempotency-Key header. Repeating a call with the same key and the same request returns the first response (header Idempotent-Replayed: true) and changes nothing. The same key with a different request gives 422. Responses are kept at least 24 hours.
  • Paging: lists return { "data": [...], "next_cursor": "..." }, newest first. Pass limit (1 to 100) and cursor. next_cursor is null on the last page.
  • Rate limits: per key, 600 requests per minute by default. Headers RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset tell the rest; at the limit the API answers 429 with Retry-After.
  • Errors: application/problem+json (RFC 9457) with a stable code, see Problem. Every response carries a Request-Id; quote it in support requests.
  • Dashboard endpoints: /v1/auth/*, /v1/me, /v1/teams and the invitation and member endpoints marked "dashboard session" serve the dashboard's sign-in with passkeys. Your servers use API keys and the endpoints marked "API key".

Endpoints

GET /v1/agent-approvals

List the changes agents asked for in this environment, newest first.

Authentication: API key, scope connections:read; or dashboard session

Parameter In Type Required Description
status query string no pending (default) or all.
limit query integer no 1 to 100, default 50.
Status Body
200 AgentApprovalList
400 Problem
401 Problem
403 Problem

GET /v1/agent-approvals/{id}

Get one change an agent asked for.

Authentication: API key, scope connections:read; or dashboard session

Parameter In Type Required Description
id path string yes
Status Body
200 AgentApproval
401 Problem
403 Problem
404 Problem

POST /v1/agent-approvals/{id}/approve

Confirm an agent's change and run it.

Only a signed-in member with a passkey confirmation of the last five minutes. The change runs as the connection (it is the actor in the audit log) with write access only where the connection reads in live and both the member who allowed the connection and you may write. Answers with the approval, including the Management API's answer to the change. Records agent_approval.approved.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes
Status Body
200 AgentApproval
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/agent-approvals/{id}/reject

Reject an agent's change. Nothing runs. Records agent_approval.rejected.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes
Status Body
200 AgentApproval
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/agreements

Which version of the terms and the DPA the team accepted, and when.

Recorded when the team was created (team.agreements_accepted). The full history is in the data export (agreements.jsonl).

Authentication: API key, scope billing:read

Status Body
200 Agreements
401 Problem
403 Problem

GET /v1/analytics

Read the vendor's figures.

Counts per day come from the event log; licenses, devices, versions and channels are the state now. Only this team and environment.

Authentication: API key, scope licenses:read; or dashboard session

Parameter In Type Required Description
days query integer no Days up to today (UTC), 1 to 90, default 30.
product_id query string no Only this product.
Status Body
200 Analytics
400 Problem
401 Problem
403 Problem

GET /v1/api-keys

List API keys of this environment, newest first.

Authentication: API key, scope api_keys:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 Page_ApiKey
400 Problem
401 Problem
403 Problem

POST /v1/api-keys

Create an API key in this environment.

The new key can have at most the scopes of the calling key. With product_id it is bound to that product: the database lets it see and change only rows of the product, and it may only carry releases:read, releases:write, products:read, symbols:write and assets:write.

Authentication: API key, scope api_keys:write

Parameter In Type Required Description
Idempotency-Key header string or null no Makes retries safe: same key and request, same response, no second key.

Request body: CreateApiKey

Status Body
201 CreatedApiKey
400 Problem
401 Problem
403 Problem
422 Problem
429 Problem

GET /v1/api-keys/{id}

Get one API key.

Authentication: API key, scope api_keys:read

Parameter In Type Required Description
id path string yes
Status Body
200 ApiKey
401 Problem
403 Problem
404 Problem

DELETE /v1/api-keys/{id}

Revoke an API key. Revoking a revoked key changes nothing.

Authentication: API key, scope api_keys:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 ApiKey
401 Problem
403 Problem
404 Problem

GET /v1/app-versions

App versions in use: bound devices of a product by the version their app last reported, most devices first.

Authentication: API key, scope releases:read

Parameter In Type Required Description
product_id query string yes
Status Body
200 AppVersions
400 Problem
401 Problem
403 Problem

GET /v1/assets/{id}

Get an asset.

Authentication: API key, scope assets:read

Parameter In Type Required Description
id path string yes
Status Body
200 Asset
401 Problem
403 Problem
404 Problem

DELETE /v1/assets/{id}

Delete an asset (asset.deleted) and its file. Devices that have it keep their copy.

Authentication: API key, scope assets:write

Parameter In Type Required Description
id path string yes
Status Body
200 Asset
401 Problem
403 Problem
404 Problem

PATCH /v1/assets/{id}

Change group, default, visibility, titles or descriptions of an asset (asset.updated). Name and file stay.

Authentication: API key, scope assets:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateAsset

Status Body
200 Asset
400 Problem
401 Problem
403 Problem
404 Problem

POST /v1/assets/{id}/complete

Finish an upload: the asset becomes available to devices.

The server checks size and checksum of the stored file.

Authentication: API key, scope assets:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Asset
401 Problem
403 Problem
404 Problem
409 Problem
503 Problem

POST /v1/auth/confirm/finish

Finish confirming the session with one of the user's passkeys.

Authentication: dashboard session

Request body: FinishCeremony

Status Body
200 Confirmed
400 Problem
401 Problem

POST /v1/auth/confirm/start

Start confirming the session: options for navigator.credentials.get() with the signed-in user's passkeys.

Authentication: dashboard session

Status Body
200 Ceremony
401 Problem

POST /v1/auth/login/finish

Finish signing in with a passkey. Sets the session cookie.

Authentication: none (open endpoint)

Request body: FinishCeremony

Status Body
200 User
400 Problem
401 Problem

POST /v1/auth/login/start

Start signing in: returns options for navigator.credentials.get() without a list of credentials; the browser offers the user's passkeys.

Authentication: none (open endpoint)

Status Body
200 Ceremony

POST /v1/auth/logout

Sign out: ends the session and clears the cookie.

Authentication: dashboard session

Status Body
204 none
401 Problem

POST /v1/auth/recover

Recover access with email and TOTP code after losing all passkeys. Opens a session of 15 minutes that can only add a new passkey.

Authentication: none (open endpoint)

Request body: Recover

Status Body
200 User
400 Problem
401 Problem

POST /v1/auth/register/finish

Finish signing up: stores the passkey, creates the user and signs in.

Authentication: none (open endpoint)

Request body: FinishCeremony

Status Body
201 User
400 Problem
401 Problem
409 Problem

POST /v1/auth/register/start

Start signing up: returns options to create a passkey.

Authentication: none (open endpoint)

Request body: StartRegistration

Status Body
200 Ceremony
400 Problem
409 Problem
422 Problem

POST /v1/auth/sso/finish

Finish signing in with the provider's answer. Sets the session cookie.

Authentication: none (open endpoint)

Request body: FinishSso

Status Body
200 SsoSignedIn
400 Problem
401 Problem
403 Problem
502 Problem
503 Problem

POST /v1/auth/sso/saml/{connection_id}/acs

Assertion consumer service of a SAML connection.

The identity provider posts its SAMLResponse here (HTTP-POST binding) with the RelayState from start. A valid response sends the browser to the dashboard's /sso/callback with a new state for finish; otherwise with error=sso_refused.

Authentication: none (open endpoint)

Parameter In Type Required Description
connection_id path string yes
Status Body
303 none
503 Problem

GET /v1/auth/sso/saml/{connection_id}/metadata

Metadata of the SAML service provider of a connection, to import at the identity provider.

Authentication: none (open endpoint)

Parameter In Type Required Description
connection_id path string yes
Status Body
200 none
404 Problem

POST /v1/auth/sso/start

Start signing in with the team's identity provider.

Returns the provider's sign-in page and sets a cookie that binds the sign-in to this browser. The provider sends the browser back to the dashboard's /sso/callback, which calls finish.

Authentication: none (open endpoint)

Request body: StartSso

Status Body
200 SsoRedirect
400 Problem
404 Problem
502 Problem
503 Problem

GET /v1/automation-templates

Rules to start from: chargebacks, device resets, refunds.

Authentication: API key, scope automations:read

Status Body
200 AutomationTemplateList
401 Problem
403 Problem

GET /v1/automations

List the rules of this environment, newest first.

Authentication: API key, scope automations:read

Status Body
200 AutomationList
401 Problem
403 Problem

POST /v1/automations

Create a rule.

From then on every new event of the trigger in this environment starts a run of the rule, carried out within seconds. Changes the rule makes show it as actor (automation:<id>) in the audit log; they start no other rules. At most 50 rules per environment. Records automation.created.

Authentication: API key, scope automations:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateAutomation

Status Body
201 Automation
400 Problem
401 Problem
403 Problem
409 Problem

POST /v1/automations/test

Try a rule on a past event without changing anything.

Evaluates the conditions and the threshold as a run would and says per action and license what would happen (would_run, already, not_applicable). Without event_id, takes the newest event of the trigger. 422 no_event if there is none.

Authentication: API key, scope automations:read

Request body: TestAutomation

Status Body
200 AutomationTest
400 Problem
401 Problem
403 Problem
422 Problem

GET /v1/automations/{id}

Get one rule.

Authentication: API key, scope automations:read

Parameter In Type Required Description
id path string yes
Status Body
200 Automation
401 Problem
403 Problem
404 Problem

DELETE /v1/automations/{id}

Delete a rule with its runs; answers with the rule as it was. Records automation.deleted.

Authentication: API key, scope automations:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Automation
401 Problem
403 Problem
404 Problem

PATCH /v1/automations/{id}

Change a rule. Runs already started keep going with the rule as it is when they are carried out. Records automation.updated.

Authentication: API key, scope automations:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateAutomation

Status Body
200 Automation
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/automations/{id}/runs

List the runs of a rule, newest first, from the last 30 days.

Authentication: API key, scope automations:read

Parameter In Type Required Description
id path string yes
limit query integer no 1 to 100, default 20. Newest first; runs are kept 30 days.
Status Body
200 AutomationRunList
400 Problem
401 Problem
403 Problem
404 Problem

GET /v1/billing

Show what the team pays and where it stands.

Works while the team is blocked. 404 not_billed while the team pays nothing.

Authentication: API key, scope billing:read

Status Body
200 BillingOverview
401 Problem
403 Problem
404 Problem

POST /v1/billing-webhooks/{provider}

Receive a notification from Noctix's payment provider.

Called by the provider, not by vendors: no API key, the provider's signature authenticates it. A failure counts only once the provider confirms it on request; a charge-back blocks the team at once.

Authentication: none (open endpoint)

Parameter In Type Required Description
provider path string yes
Status Body
200 BillingNotificationReceipt
400 Problem
401 Problem
404 Problem
503 Problem

POST /v1/billing/retry

Charge the current term again.

After a failed charge, once the payment method is fixed at the provider. The next billing round, within minutes, charges again; paying ends a block at once. Records billing.retry_requested. 409 nothing_to_retry if the term is paid, a charge is in progress, or no charge failed yet.

Authentication: API key, scope billing:write

Status Body
202 BillingOverview
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/blocklist

List entries, newest first, expired ones included.

Authentication: API key, scope blocklist:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
product_id query string no Entries of this product and the team-wide ones.
list query BlocklistList no
kind query BlocklistKind no
value query string no Exact canonical value, for example 203.0.113.7/32.
Status Body
200 Page_BlocklistEntry
400 Problem
401 Problem
403 Problem

POST /v1/blocklist

Add an entry.

Authentication: API key, scope blocklist:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateBlocklistEntry

Status Body
201 BlocklistEntry
400 Problem
401 Problem
403 Problem
409 Problem

GET /v1/blocklist/{id}

Get one entry.

Authentication: API key, scope blocklist:read

Parameter In Type Required Description
id path string yes
Status Body
200 BlocklistEntry
401 Problem
403 Problem
404 Problem

DELETE /v1/blocklist/{id}

Remove an entry. It stops applying at once.

Authentication: API key, scope blocklist:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 BlocklistEntry
401 Problem
403 Problem
404 Problem

GET /v1/buy-buttons

List the buy buttons of this environment.

Authentication: API key, scope payments:read

Status Body
200 BuyButtonList
401 Problem
403 Problem

POST /v1/buy-buttons

Create a buy button for a plan.

The checkout window shows it at /{locale}/buy/{id} of the web app, embedded on the allowed domains or as a direct link.

Authentication: API key, scope payments:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateBuyButton

Status Body
201 BuyButton
400 Problem
401 Problem
403 Problem
409 Problem
422 Problem

GET /v1/buy-buttons/{id}

Get one buy button.

Authentication: API key, scope payments:read

Parameter In Type Required Description
id path string yes
Status Body
200 BuyButton
401 Problem
403 Problem
404 Problem

DELETE /v1/buy-buttons/{id}

Delete a buy button. Embedded copies stop working; checkouts it started and their licenses stay.

Authentication: API key, scope payments:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 BuyButton
401 Problem
403 Problem
404 Problem

PATCH /v1/buy-buttons/{id}

Change a buy button. Plan and payment account stay; for another plan, create another button.

Authentication: API key, scope payments:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateBuyButton

Status Body
200 BuyButton
400 Problem
401 Problem
403 Problem
404 Problem
422 Problem

GET /v1/buy/checkouts/{id}

Read the result of a checkout from a buy button with its receipt in the Buy-Receipt header: once paid, with the license keys. A wrong receipt is not found.

Authentication: none (open endpoint)

Parameter In Type Required Description
id path string yes
Buy-Receipt header string yes
Status Body
200 BuyReceipt
404 Problem

GET /v1/buy/vendors/{team_id}

Read the vendor of a cancellation page. No credentials.

Authentication: none (open endpoint)

Parameter In Type Required Description
team_id path string yes
environment query LoginEnvironment no test for the test environment; live by default.
Status Body
200 CancelVendor
404 Problem

POST /v1/buy/vendors/{team_id}/cancellations

Cancel a contract with the vendor. No credentials. Every declaration is accepted.

Authentication: none (open endpoint)

Parameter In Type Required Description
team_id path string yes
environment query LoginEnvironment no test for the test environment; live by default.

Request body: NewCancellationInput

Status Body
201 CancellationReceipt
400 Problem
404 Problem
429 Problem

POST /v1/buy/vendors/{team_id}/withdrawals

Withdraw from a contract with the vendor. No credentials. Every declaration is accepted; nothing is refunded by itself.

Authentication: none (open endpoint)

Parameter In Type Required Description
team_id path string yes
environment query LoginEnvironment no test for the test environment; live by default.

Request body: NewWithdrawalInput

Status Body
201 WithdrawalReceipt
400 Problem
404 Problem
429 Problem

GET /v1/buy/{id}

Read a buy button for the checkout window. No credentials.

Authentication: none (open endpoint)

Parameter In Type Required Description
id path string yes
Status Body
200 PublicBuyButton
404 Problem

POST /v1/buy/{id}/checkouts

Start a checkout from a buy button: the buyer gave their email and consented to immediate provision. Answers with the provider's payment page and the receipt. No credentials; only from the web app's origin.

Authentication: none (open endpoint)

Parameter In Type Required Description
id path string yes

Request body: StartBuyCheckout

Status Body
201 StartedBuyCheckout
400 Problem
403 Problem
404 Problem
409 Problem
422 Problem
429 Problem
503 Problem

POST /v1/buy/{id}/coupon

Check a coupon code against a buy button before ordering (#74): the checkout shows the discount and the total. No credentials; only from the web app's origin, counted like every anonymous call.

Authentication: none (open endpoint)

Parameter In Type Required Description
id path string yes

Request body: BuyCouponCode

Status Body
200 BuyCoupon
400 Problem
404 Problem
422 Problem
429 Problem

GET /v1/buy/{id}/legal

Read the vendor's terms and withdrawal policy for the checkout's own pages. No credentials.

Authentication: none (open endpoint)

Parameter In Type Required Description
id path string yes
Status Body
200 BuyLegalTexts
404 Problem

GET /v1/cancellations

List cancellation declarations, newest first.

Authentication: API key, scope orders:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
status query CancellationStatus no
Status Body
200 Page_Cancellation
400 Problem
401 Problem
403 Problem

GET /v1/cancellations/{id}

Get one cancellation declaration.

Authentication: API key, scope orders:read

Parameter In Type Required Description
id path string yes
Status Body
200 Cancellation
401 Problem
403 Problem
404 Problem

POST /v1/cancellations/{id}/resolve

Mark an open declaration as handled, with a note and the end of the contract. Cancel the order or subscription yourself first, such as with POST /v1/orders/{id}/cancel.

Authentication: API key, scope orders:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: ResolveCancellation

Status Body
200 Cancellation
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/changelog/{product_id}

Read the public patch notes of a product. No credentials; off unless the vendor turned on public_changelog for the environment.

Authentication: none (open endpoint)

Parameter In Type Required Description
product_id path string yes
environment query test or live no Default live.
channel query string no stable (default) or a channel the vendor made selectable for customers. Releases of channels with a lower rank are included.
locale query en or de no Language of the notes, en (default) or de; else English, else any language there is.
since query string no Only versions newer than this one, such as the app's own version.
before query string no Only versions older than this one, for the next page.
limit query integer no 1 to 100, default 20.
Status Body
200 Changelog
400 Problem
404 Problem

GET /v1/checkout-style

Get the style of the buy pages in this environment.

Authentication: API key, scope payments:read

Status Body
200 CheckoutStyle
401 Problem
403 Problem

PATCH /v1/checkout-style

Change the style of the buy pages in this environment. Refuses colors with too little contrast (low_contrast_text, low_contrast_primary). Records checkout_style.updated with the names of the changed fields.

Authentication: API key, scope payments:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: UpdateCheckoutStyle

Status Body
200 CheckoutStyle
400 Problem
401 Problem
403 Problem
422 Problem

GET /v1/checkouts

List the checkouts of this environment with their payments, newest first.

A checkout for a pack of quota units carries top_up and creates no order; the others create one once paid.

Authentication: API key, scope payments:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
status query CheckoutStatus no
customer_id query string no
account_id query string no Only checkouts on this payment account.
top_up query boolean no true: only packs of quota units (top_up), false: only purchases of licenses.
license_id query string no Only packs of quota units bought for this license.
Status Body
200 Page_Checkout
400 Problem
401 Problem
403 Problem

POST /v1/checkouts

Open a checkout on a connected payment account.

The buyer pays at url, in the provider's own payment form. Once the provider confirms the payment, an order with source = provider and external number = checkout ID issues the licenses. The platform fee of the account, if any, is kept through the provider.

Authentication: API key, scope payments:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateCheckout

Status Body
201 Checkout
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem
503 Problem

GET /v1/checkouts/{id}

Get one checkout with its payments.

Authentication: API key, scope payments:read

Parameter In Type Required Description
id path string yes
Status Body
200 Checkout
401 Problem
403 Problem
404 Problem

GET /v1/connections

List the team's connections, newest first, ended ones included.

Authentication: API key, scope connections:read; or dashboard session

Status Body
200 Page_Connection
401 Problem
403 Problem

DELETE /v1/connections/{id}

End a connection. Its tokens stop working at once; the client has to sign in again.

Authentication: API key, scope connections:write; or dashboard session

Parameter In Type Required Description
id path string yes
Status Body
200 Connection
401 Problem
403 Problem
404 Problem

GET /v1/coupons

List the coupons of this environment.

Authentication: API key, scope payments:read

Parameter In Type Required Description
archived query boolean no Include archived coupons. Default false.
Status Body
200 CouponList
401 Problem
403 Problem

POST /v1/coupons

Create a coupon.

Buyers enter the code in the checkout of a buy button. Records coupon.created.

Authentication: API key, scope payments:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateCoupon

Status Body
201 Coupon
400 Problem
401 Problem
403 Problem
409 Problem
422 Problem

GET /v1/coupons/{id}

Get one coupon with its redemptions.

Authentication: API key, scope payments:read

Parameter In Type Required Description
id path string yes
Status Body
200 Coupon
401 Problem
403 Problem
404 Problem

PATCH /v1/coupons/{id}

Change a coupon. Checkouts that used it keep their price. Records coupon.updated.

Authentication: API key, scope payments:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateCoupon

Status Body
200 Coupon
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

POST /v1/coupons/{id}/archive

Archive a coupon: it can no longer be redeemed, open checkouts with it can still be paid. Its code stays taken. Records coupon.archived.

Authentication: API key, scope payments:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Coupon
401 Problem
403 Problem
404 Problem

GET /v1/crash-groups

List crash groups, last seen first.

Authentication: API key, scope crashes:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
product_id query string no
status query CrashGroupStatus no
kind query CrashKind no
Status Body
200 Page_CrashGroup
400 Problem
401 Problem
403 Problem

GET /v1/crash-groups/{id}

Get one crash group.

Authentication: API key, scope crashes:read

Parameter In Type Required Description
id path string yes
Status Body
200 CrashGroup
401 Problem
403 Problem
404 Problem

DELETE /v1/crash-groups/{id}

Delete a group with its reports (crash_group.deleted). A later report with the same fingerprint starts a new group.

Authentication: API key, scope crashes:write

Parameter In Type Required Description
id path string yes
Status Body
200 CrashGroup
401 Problem
403 Problem
404 Problem

PATCH /v1/crash-groups/{id}

Change status, assignee or notes of a group (crash_group.updated). Resolving remembers the highest version seen so far.

Authentication: API key, scope crashes:write

Parameter In Type Required Description
id path string yes

Request body: CrashGroupPatch

Status Body
200 CrashGroup
400 Problem
401 Problem
403 Problem
404 Problem

GET /v1/crash-groups/{id}/reports

List the reports of a group, newest first.

Authentication: API key, scope crashes:read

Parameter In Type Required Description
id path string yes
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 Page_CrashReportItem
400 Problem
401 Problem
403 Problem
404 Problem

GET /v1/crash-reports/{id}

Get one report.

Authentication: API key, scope crashes:read

Parameter In Type Required Description
id path string yes
Status Body
200 CrashReportItem
401 Problem
403 Problem
404 Problem

DELETE /v1/crash-reports/{id}

Delete one report (crash_report.deleted), for example on a request of the user who sent it. The group keeps its count.

Authentication: API key, scope crashes:write

Parameter In Type Required Description
id path string yes
Status Body
200 CrashReportItem
401 Problem
403 Problem
404 Problem

GET /v1/crash-stats

Crash numbers per version: devices, crashes and crashes per 1,000 device-days, each compared with the version before. Devices are counted hourly from the activations seen each day; numbers are kept 90 days.

Authentication: API key, scope crashes:read

Parameter In Type Required Description
product_id query string yes
days query integer no Days back from today (UTC), 1 to 90, default 30.
Status Body
200 CrashStats
400 Problem
401 Problem
403 Problem
404 Problem

GET /v1/customer-sign-in/microsoft

Sign-in of end customers with Microsoft, in this environment.

Authentication: API key, scope customers:read; or dashboard session

Status Body
200 CustomerMicrosoft
400 Problem
401 Problem
403 Problem
404 Problem
503 Problem

PUT /v1/customer-sign-in/microsoft

Let end customers sign in to the portal with their Microsoft work or school account.

Register an app in Microsoft Entra for "accounts in any organizational directory", add the redirect_uris of the answer as web redirect URIs and create a client secret. Only owners and admins. Records customer_microsoft.created or .updated.

Authentication: API key, scope customers:admin; or dashboard session

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: PutCustomerMicrosoft

Status Body
200 CustomerMicrosoft
201 CustomerMicrosoft
400 Problem
401 Problem
403 Problem
503 Problem

DELETE /v1/customer-sign-in/microsoft

Stop offering sign-in with Microsoft and forget which Microsoft accounts belong to which customer. Customers and their licenses stay. Records customer_microsoft.deleted.

Authentication: API key, scope customers:admin; or dashboard session

Parameter In Type Required Description
Idempotency-Key header string or null no
Status Body
204 none
400 Problem
401 Problem
403 Problem
404 Problem

GET /v1/customers

List end customers, newest first.

Authentication: API key, scope customers:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
email query string no Exact, ignoring case.
external_user_id query string no
Status Body
200 Page_Customer
400 Problem
401 Problem
403 Problem

POST /v1/customers

Create an end customer.

Authentication: API key, scope customers:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateCustomer

Status Body
201 Customer
400 Problem
401 Problem
403 Problem
409 Problem
422 Problem

GET /v1/customers/{id}

Get one end customer.

Authentication: API key, scope customers:read

Parameter In Type Required Description
id path string yes
Status Body
200 Customer
401 Problem
403 Problem
404 Problem

PATCH /v1/customers/{id}

Change an end customer.

Authentication: API key, scope customers:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateCustomer

Status Body
200 Customer
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

GET /v1/customers/{id}/account

An end customer's account, if they have one.

Authentication: API key, scope customers:read

Parameter In Type Required Description
id path string yes
Status Body
200 CustomerAccount
401 Problem
403 Problem
404 Problem

POST /v1/customers/{id}/account/remove-totp

Turn off TOTP of an end customer's account, e.g. after they lost their authenticator. Check who is asking first. Records customer.account_totp_disabled.

Authentication: API key, scope customers:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 CustomerAccount
400 Problem
401 Problem
403 Problem
404 Problem

GET /v1/customers/{id}/data

Get everything held about an end customer.

For a data subject's request for access (GDPR Art. 15) and data portability (Art. 20): the customer, their licenses, devices, sessions, resets, monthly usage, the events about them and, under related, their orders, declarations, subscriptions, linked accounts, emails, quotas, remote actions, update results and crash reports. Each call records customer.data_accessed.

Authentication: API key, scope customers:read

Parameter In Type Required Description
id path string yes
Status Body
200 CustomerData
401 Problem
403 Problem
404 Problem

POST /v1/customers/{id}/erase

Erase an end customer and everything about them.

Cannot be undone. In one transaction: the customer's licenses are revoked and deleted with their devices, sessions, resets and usage; events about the customer keep type, subject, actor and time but lose their data and IP address; the customer is deleted. Records customer.erased with the counts. Needs an Idempotency-Key. Fetch what you must keep yourself first, with GET /v1/customers/{id}/data.

Authentication: API key, scope customers:admin

Parameter In Type Required Description
id path string yes
Idempotency-Key header string yes
Status Body
200 Erasure
400 Problem
401 Problem
403 Problem
404 Problem
422 Problem

GET /v1/customers/{id}/licenses

List the licenses of an end customer, newest first.

Authentication: API key, scope customers:read, licenses:read

Parameter In Type Required Description
id path string yes
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 Page_License
400 Problem
401 Problem
403 Problem
404 Problem

GET /v1/customers/{id}/microsoft-accounts

Microsoft accounts the customer signs in with.

Authentication: API key, scope customers:read; or dashboard session

Parameter In Type Required Description
id path string yes
Status Body
200 CustomerMicrosoftLinks
400 Problem
401 Problem
403 Problem

Remove a Microsoft account from a customer, e.g. after the person left the customer's company. Their next sign-in with it creates a new customer, or finds one by a trusted address. Records customer.microsoft_unlinked.

Authentication: API key, scope customers:write; or dashboard session

Parameter In Type Required Description
id path string yes
link_id path string yes
Idempotency-Key header string or null no
Status Body
204 none
400 Problem
401 Problem
403 Problem
404 Problem

POST /v1/customers/{id}/portal-link

Create a sign-in link to the portal for a customer.

The link is valid once and for 15 minutes. Send it to the customer yourself, e.g. from your account page; it is shown only here.

Authentication: API key, scope customers:write

Parameter In Type Required Description
id path string yes

Request body: any

Status Body
201 PortalLink
400 Problem
401 Problem
403 Problem
404 Problem
503 Problem

DELETE /v1/debug-symbols/{id}

Delete a symbol file (debug_symbols.deleted). Frames of its module then show as sent.

Authentication: API key, scope symbols:write

Parameter In Type Required Description
id path string yes
Status Body
200 DebugSymbols
401 Problem
403 Problem
404 Problem

POST /v1/debug-symbols/{id}/complete

Finish an upload: the file becomes the symbols of its debug ID.

The server reads the stored file and checks size, checksum and its MODULE line, which must name the announced debug ID. An earlier file of the debug ID is removed.

Authentication: API key, scope symbols:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 DebugSymbols
401 Problem
403 Problem
404 Problem
409 Problem
503 Problem

GET /v1/device-batches/{id}

A batch.

Authentication: API key, scope devices:read

Parameter In Type Required Description
id path string yes
Status Body
200 DeviceBatch
401 Problem
403 Problem
404 Problem

PATCH /v1/device-batches/{id}

Relabel or block a batch (device_batch.updated).

The devices of a blocked batch are not usable, whatever their own state; unblocking restores it.

Authentication: API key, scope devices:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: DeviceBatchPatch

Status Body
200 DeviceBatch
400 Problem
401 Problem
403 Problem
404 Problem

GET /v1/device-cas/{id}

A device CA.

Authentication: API key, scope devices:read

Parameter In Type Required Description
id path string yes
Status Body
200 DeviceCa
401 Problem
403 Problem
404 Problem

DELETE /v1/device-cas/{id}

Delete a device CA that has no devices (device_ca.deleted).

To retire a CA with devices, block it.

Authentication: API key, scope devices:write

Parameter In Type Required Description
id path string yes
Status Body
200 DeviceCa
401 Problem
403 Problem
404 Problem
409 Problem

PATCH /v1/device-cas/{id}

Rename or block a device CA (device_ca.updated).

A blocked CA takes no new batches, and none of its devices is usable until it is active again.

Authentication: API key, scope devices:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: DeviceCaPatch

Status Body
200 DeviceCa
400 Problem
401 Problem
403 Problem
404 Problem

GET /v1/device-codes/{user_code}

Look up a device code the customer entered, to show what it stands for before confirming. Case and dashes do not matter.

Authentication: API key, scope activations:read

Parameter In Type Required Description
user_code path string yes
Status Body
200 DeviceCode
401 Problem
403 Problem
404 Problem
503 Problem

POST /v1/device-codes/{user_code}/approve

Confirm a device code for a license. The SDK gets its license token on its next poll; the device limit and the other checks of activate apply then. Confirming again for the same license changes nothing; a code confirmed for another license is refused.

Authentication: API key, scope activations:write

Parameter In Type Required Description
user_code path string yes
Idempotency-Key header string or null no

Request body: ApproveDeviceCode

Status Body
200 DeviceCode
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
503 Problem

GET /v1/discord

Get the Discord settings of this environment.

Authentication: API key, scope discord:read

Status Body
200 DiscordSettings
401 Problem
403 Problem
503 Problem

PUT /v1/discord

Connect or change the Discord application of this environment.

Noctix checks with the bot token that the bot is on the server before it stores anything. Records discord.connected or discord.updated. Choosing another server forgets the roles given on the old one.

Authentication: API key, scope discord:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: PutDiscord

Status Body
200 DiscordConnection
400 Problem
401 Problem
403 Problem
422 Problem
502 Problem
503 Problem

DELETE /v1/discord

Disconnect the Discord application. Records discord.disconnected.

Role rules and linked accounts stay. Roles already given stay on the server until you connect it again or take them away in Discord.

Authentication: API key, scope discord:write

Status Body
204 none
401 Problem
403 Problem
404 Problem

List the linked Discord accounts.

Authentication: API key, scope discord:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 Page_DiscordLink
400 Problem
401 Problem
403 Problem

GET /v1/discord/role-rules

List the role rules.

Authentication: API key, scope discord:read

Status Body
200 array of DiscordRoleRule
401 Problem
403 Problem

POST /v1/discord/role-rules

Create a role rule. Records discord.role_rule_created; the next round gives the role.

Authentication: API key, scope discord:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateDiscordRoleRule

Status Body
201 DiscordRoleRule
400 Problem
401 Problem
403 Problem
409 Problem
422 Problem

DELETE /v1/discord/role-rules/{id}

Delete a role rule. Records discord.role_rule_deleted; the next round takes the role back from customers no other rule gives it to.

Authentication: API key, scope discord:write

Parameter In Type Required Description
id path string yes
Status Body
204 none
401 Problem
403 Problem
404 Problem

GET /v1/discord/roles

List the roles of the connected server, read from Discord.

Authentication: API key, scope discord:read

Status Body
200 array of DiscordRole
401 Problem
403 Problem
409 Problem
422 Problem
502 Problem
503 Problem

POST /v1/discord/sync

Give and take back roles now, instead of waiting for the next round (every five minutes). Records discord.roles_synced for every customer whose roles changed.

Authentication: API key, scope discord:write

Status Body
200 DiscordSyncResult
401 Problem
403 Problem
409 Problem
503 Problem

GET /v1/domains

List the team's own domains.

Authentication: API key, scope domains:read; or dashboard session

Status Body
200 CustomDomainList
401 Problem
403 Problem
503 Problem

POST /v1/domains

Claim a domain.

Set the records of the answer, then call verify. At most ten domains per team.

Authentication: API key, scope domains:write; or dashboard session

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: AddCustomDomain

Status Body
201 CustomDomain
400 Problem
401 Problem
403 Problem
409 Problem
503 Problem

DELETE /v1/domains/{id}

Remove a domain.

The network in front stops serving it; portal or Client API answer only under the platform's own host names again.

Authentication: API key, scope domains:write; or dashboard session

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 CustomDomain
401 Problem
403 Problem
404 Problem
503 Problem

POST /v1/domains/{id}/verify

Verify a domain.

Looks up the TXT record. Holding the token, the domain is verified and handed to the network in front. For a verified domain, refreshes the state there.

Authentication: API key, scope domains:write; or dashboard session

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 CustomDomain
401 Problem
403 Problem
404 Problem
409 Problem
503 Problem

GET /v1/download-buttons

List the download buttons of this environment.

Authentication: API key, scope releases:read

Status Body
200 DownloadButtonList
401 Problem
403 Problem

POST /v1/download-buttons

Create a download button for a product.

The download window shows it at /{locale}/download/{id} of the web app, embedded on the allowed domains or as a direct link.

Authentication: API key, scope releases:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateDownloadButton

Status Body
201 DownloadButton
400 Problem
401 Problem
403 Problem
409 Problem
422 Problem

GET /v1/download-buttons/{id}

Get one download button.

Authentication: API key, scope releases:read

Parameter In Type Required Description
id path string yes
Status Body
200 DownloadButton
401 Problem
403 Problem
404 Problem

DELETE /v1/download-buttons/{id}

Delete a download button. Embedded copies stop working; links it gave out run out within 5 minutes.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 DownloadButton
401 Problem
403 Problem
404 Problem

PATCH /v1/download-buttons/{id}

Change a download button. The product stays; for another product, create another button.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateDownloadButton

Status Body
200 DownloadButton
400 Problem
401 Problem
403 Problem
404 Problem
422 Problem

GET /v1/download/{id}

Read a download button for the download window. No credentials.

Authentication: none (open endpoint)

Parameter In Type Required Description
id path string yes
Status Body
200 PublicDownloadButton
404 Problem

POST /v1/download/{id}/files

List the files a license key is offered. No credentials; the key is the proof. A key that cannot download gets the reason and the buy button.

Authentication: none (open endpoint)

Parameter In Type Required Description
id path string yes

Request body: DownloadKey

Status Body
200 PublicDownloads
400 Problem
403 Problem
404 Problem
429 Problem

POST /v1/download/{id}/links

A link that downloads one offered file for 5 minutes. No credentials; the key is the proof.

Authentication: none (open endpoint)

Parameter In Type Required Description
id path string yes

Request body: DownloadLinkRequest

Status Body
200 PortalDownloadLink
400 Problem
403 Problem
404 Problem
409 Problem
429 Problem
503 Problem

GET /v1/entitlements

List entitlements of this environment, newest first.

Authentication: API key, scope entitlements:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
product_id query string no Only items of this product. Ignored for products.
archived query boolean no true: only archived items, false: only current items. Default: all.
Status Body
200 Page_Entitlement
400 Problem
401 Problem
403 Problem

POST /v1/entitlements

Create an entitlement for a product in this environment.

Authentication: API key, scope entitlements:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateEntitlement

Status Body
201 Entitlement
400 Problem
401 Problem
403 Problem
409 Problem
422 Problem

GET /v1/entitlements/{id}

Get one entitlement.

Authentication: API key, scope entitlements:read

Parameter In Type Required Description
id path string yes
Status Body
200 Entitlement
401 Problem
403 Problem
404 Problem

PATCH /v1/entitlements/{id}

Change the label of an entitlement.

Authentication: API key, scope entitlements:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateEntitlement

Status Body
200 Entitlement
400 Problem
401 Problem
403 Problem
404 Problem
422 Problem

POST /v1/entitlements/{id}/archive

Archive an entitlement.

It can no longer be added to plans; plans that have it keep it.

Authentication: API key, scope entitlements:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Entitlement
401 Problem
403 Problem
404 Problem

POST /v1/entitlements/{id}/restore

Restore an archived entitlement.

Authentication: API key, scope entitlements:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Entitlement
401 Problem
403 Problem
404 Problem

GET /v1/events

List events of the team, newest first.

An API key sees the events of its environment and the team-level events. A dashboard session sees the events of the Environment header and the team-level events, or only the team-level events without the header.

Authentication: API key, scope events:read

Parameter In Type Required Description
type query string no Exact type (license.created) or a prefix of whole segments (license matches license.created and license.key.revealed).
subject_id query string no Only events about this object.
actor query string no member:<id>, api_key:<id>, customer:<id>, oauth:<id>, automation:<id> or system.
since query string no From this time, inclusive. RFC 3339 UTC with seconds.
until query string no Before this time, exclusive. RFC 3339 UTC with seconds.
limit query integer no Page size, 1 to 100, default 20. Not used by the export.
cursor query string no next_cursor of the previous page. Not used by the export.
Status Body
200 Page_Event
400 Problem
401 Problem
403 Problem

GET /v1/events/export

Export events of the team as NDJSON, newest first.

Same filters and visibility as the list, without limit and cursor: one event per line, in the format of the list, streamed until the last matching event. Events written after the export started are not part of it. Every complete export ends with a newline; one that fails midway ends with the line {"error":"export_failed"} without a newline.

Authentication: API key, scope events:read

Parameter In Type Required Description
type query string no Exact type (license.created) or a prefix of whole segments (license matches license.created and license.key.revealed).
subject_id query string no Only events about this object.
actor query string no member:<id>, api_key:<id>, customer:<id>, oauth:<id>, automation:<id> or system.
since query string no From this time, inclusive. RFC 3339 UTC with seconds.
until query string no Before this time, exclusive. RFC 3339 UTC with seconds.
limit query integer no Page size, 1 to 100, default 20. Not used by the export.
cursor query string no next_cursor of the previous page. Not used by the export.
Status Body
200 none
400 Problem
401 Problem
403 Problem

GET /v1/exports

List the team's latest 50 exports, newest first.

Authentication: API key, scope exports:admin

Status Body
200 ExportList
401 Problem
403 Problem

POST /v1/exports

Ask for an export of the team's data.

Builds in the background; follow it with GET /v1/exports/{id}. At most one export of a team is queued or running at a time (409 with the open one's ID otherwise). Records export.requested. Works while the team is suspended or closed, until 30 days after closing.

Authentication: API key, scope exports:admin

Request body: NewExport

Status Body
202 Export
400 Problem
401 Problem
403 Problem
409 Problem
503 Problem

GET /v1/exports/{id}

Get an export and its state.

Authentication: API key, scope exports:admin

Parameter In Type Required Description
id path string yes
Status Body
200 Export
401 Problem
403 Problem
404 Problem

GET /v1/exports/{id}/download

Get a download URL and the password of a completed export.

The URL works for 15 minutes without credentials. Every call records export.downloaded. 409 while the export is not completed, 410 once its file was deleted (7 days after completion).

Authentication: API key, scope exports:admin

Parameter In Type Required Description
id path string yes
Status Body
200 Download
401 Problem
403 Problem
404 Problem
409 Problem
410 Problem
503 Problem

GET /v1/exports/{id}/files/{file_id}/download

Get a download URL for one file an export lists in files.jsonl.

Release files, assets and debug symbol files are not inside the ZIP file; each line of <environment>/files.jsonl names one by id. The URL works for 15 minutes without credentials, while the export can be downloaded (7 days after completion) and the store still holds the file. 404 for a file the export could not list (another team or environment, uploaded later, or removed since), 409 while the export is not completed, 410 once its file was deleted.

Authentication: API key, scope exports:admin

Parameter In Type Required Description
id path string yes
file_id path string yes
Status Body
200 ExportFileDownload
401 Problem
403 Problem
404 Problem
409 Problem
410 Problem
503 Problem

GET /v1/hardware-devices/{id}

A device.

Authentication: API key, scope devices:read

Parameter In Type Required Description
id path string yes
Status Body
200 HardwareDevice
401 Problem
403 Problem
404 Problem

PATCH /v1/hardware-devices/{id}

Set the state of a device (hardware_device.updated).

internal marks devices for the vendor's own tests, suspended stops a device until it is active again, revoked stops it for good and ends its activations (activation.deactivated), so revocation lists name them.

Authentication: API key, scope devices:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: HardwareDevicePatch

Status Body
200 HardwareDevice
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/invitations

List invitations of the team, newest first, including used ones.

Authentication: API key, scope members:read; or dashboard session

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 Page_Invitation
400 Problem
401 Problem
403 Problem

POST /v1/invitations

Invite someone by email. Valid for seven days. Sending the link is up to the caller for now.

Authentication: API key, scope members:write; or dashboard session

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateInvitation

Status Body
201 CreatedInvitation
400 Problem
401 Problem
403 Problem

POST /v1/invitations/accept

Accept an invitation as the signed-in user. Returns the team joined.

Authentication: dashboard session

Request body: AcceptInvitation

Status Body
200 Team
400 Problem
401 Problem
404 Problem

DELETE /v1/invitations/{id}

Revoke an open invitation. Revoking a used or revoked one changes nothing.

Authentication: API key, scope members:write; or dashboard session

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Invitation
401 Problem
403 Problem
404 Problem

GET /v1/legal-details

Get the legal details of this environment.

Authentication: API key, scope payments:read

Status Body
200 LegalDetails
401 Problem
403 Problem

PATCH /v1/legal-details

Change the legal details of this environment. Records legal_details.updated with the names of the changed fields.

Authentication: API key, scope payments:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: UpdateLegalDetails

Status Body
200 LegalDetails
400 Problem
401 Problem
403 Problem
422 Problem

GET /v1/licenses

Search licenses of this environment, newest first.

Authentication: API key, scope licenses:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20. Ignored by the export.
cursor query string no next_cursor of the previous page.
product_id query string no
plan_id query string no
state query StateName no
customer_id query string no
order_ref query string no
tag query string no Licenses with this tag.
key query string no A license key as typed, with or without separators. Needs product_id. A key with a typo is refused with invalid_license_key before any license is looked up.
created_from query string no Created at or after, RFC 3339 UTC.
created_until query string no Created before, RFC 3339 UTC.
flagged query boolean no true: only licenses waiting for review; false: only others.
include_keys query boolean no Export only: add a key column. Default false.
Status Body
200 Page_License
400 Problem
401 Problem
403 Problem

POST /v1/licenses

Create licenses from a plan.

One license, or up to 10000 in one request. The keys are in the answer; keep them, a replay of the same idempotent request answers without them.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateLicenses

Status Body
201 CreatedLicenses
400 Problem
401 Problem
403 Problem
409 Problem
422 Problem

GET /v1/licenses/export

Export licenses of this environment as CSV, newest first.

Same filters as the list, at most 100000 rows; narrow the filters for more. Cells that a spreadsheet would run as a formula start with '.

Authentication: API key, scope licenses:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20. Ignored by the export.
cursor query string no next_cursor of the previous page.
product_id query string no
plan_id query string no
state query StateName no
customer_id query string no
order_ref query string no
tag query string no Licenses with this tag.
key query string no A license key as typed, with or without separators. Needs product_id. A key with a typo is refused with invalid_license_key before any license is looked up.
created_from query string no Created at or after, RFC 3339 UTC.
created_until query string no Created before, RFC 3339 UTC.
flagged query boolean no true: only licenses waiting for review; false: only others.
include_keys query boolean no Export only: add a key column. Default false.
Status Body
200 none
400 Problem
401 Problem
403 Problem

GET /v1/licenses/{id}

Get one license.

Authentication: API key, scope licenses:read

Parameter In Type Required Description
id path string yes
Status Body
200 License
401 Problem
403 Problem
404 Problem

PATCH /v1/licenses/{id}

Change notes, tags, metadata, the order number or the canary flag of a license.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateLicense

Status Body
200 License
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

GET /v1/licenses/{id}/activations

List the devices of a license, with its device limit and reset quota.

Authentication: API key, scope activations:read

Parameter In Type Required Description
id path string yes
include_ended query boolean no Also list activations that have ended. Default false.
Status Body
200 Activations
401 Problem
403 Problem
404 Problem

POST /v1/licenses/{id}/activations/reset

Reset every device of a license.

With self_service, each device counts against the quota; if not all fit, none is reset.

Authentication: API key, scope activations:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: any

Status Body
200 ResetResult
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

GET /v1/licenses/{id}/activations/{activation_id}/remote-actions

List the remote actions of one device, newest first.

Authentication: API key, scope activations:read

Parameter In Type Required Description
id path string yes
activation_id path string yes
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 Page_RemoteAction
400 Problem
401 Problem
403 Problem
404 Problem

POST /v1/licenses/{id}/activations/{activation_id}/remote-actions

Send a remote action to one device of a license (remote_action.created).

The app takes it with its next remote_actions call, at most once. The parameters must fit the definition of that name.

Authentication: API key, scope activations:write

Parameter In Type Required Description
id path string yes
activation_id path string yes
Idempotency-Key header string or null no

Request body: SendRemoteAction

Status Body
201 RemoteAction
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/licenses/{id}/activations/{activation_id}/reset

Reset one device of a license.

The device is unbound and can be replaced by another. With self_service, the plan's reset rule applies.

Authentication: API key, scope activations:write

Parameter In Type Required Description
id path string yes
activation_id path string yes
Idempotency-Key header string or null no

Request body: any

Status Body
200 ResetResult
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

POST /v1/licenses/{id}/change-plan

Move a license to another plan of its product. Its dates stay.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: ChangePlan

Status Body
200 License
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

GET /v1/licenses/{id}/channel

The channel of a license and the newest release it is offered.

Authentication: API key, scope licenses:read

Parameter In Type Required Description
id path string yes
Status Body
200 LicenseChannel
401 Problem
403 Problem
404 Problem

PUT /v1/licenses/{id}/channel

Set or clear the license's own channel.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: SetLicenseChannel

Status Body
200 LicenseChannel
400 Problem
401 Problem
403 Problem
404 Problem

GET /v1/licenses/{id}/config

The remote config that applies to a license: per key the most specific value (license, plan, an entitlement of its plan, product). Keys without a value are left out. Shown whatever the license's state; the client API delivers it to valid licenses only.

Authentication: API key, scope config:read

Parameter In Type Required Description
id path string yes License ID
Status Body
200 LicenseConfig
401 Problem
403 Problem
404 Problem

POST /v1/licenses/{id}/convert

Convert a trial into a paid license on another plan of its product. The term starts again under the new plan; an expired trial becomes active. The license stays marked as the customer's trial.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: ChangePlan

Status Body
200 License
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

POST /v1/licenses/{id}/extend

Extend a license: new end date, or days added. An expired license becomes active.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: Extend

Status Body
200 License
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

GET /v1/licenses/{id}/key

Show the key of a license, as it was issued.

Authentication: API key, scope licenses:read

Parameter In Type Required Description
id path string yes
Status Body
200 LicenseKey
401 Problem
403 Problem
404 Problem

POST /v1/licenses/{id}/pause

Pause an active license. Its term stops until it is resumed.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 License
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/licenses/{id}/resets

The reset log of a license, newest first.

Authentication: API key, scope activations:read

Parameter In Type Required Description
id path string yes
Status Body
200 Resets
401 Problem
403 Problem
404 Problem

POST /v1/licenses/{id}/resume

Resume a paused license. Its end moves by the paused time.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 License
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/licenses/{id}/revoke

Revoke a license, from any state. This is final.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: Revoke

Status Body
200 License
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

GET /v1/licenses/{id}/sessions

List the running sessions of a license.

Authentication: API key, scope activations:read

Parameter In Type Required Description
id path string yes
Status Body
200 SessionList
401 Problem
403 Problem
404 Problem
503 Problem

POST /v1/licenses/{id}/sessions/{session_id}/revoke

Revoke a running session.

The session ends at its next heartbeat; the app then has to start a new one, which the license's limits decide. Revoking twice changes nothing.

Authentication: API key, scope activations:write

Parameter In Type Required Description
id path string yes
session_id path string yes
Idempotency-Key header string or null no
Status Body
200 Session
401 Problem
403 Problem
404 Problem
503 Problem

POST /v1/licenses/{id}/suspend

Suspend an unused, active or paused license with a reason. Unsuspending it returns it to that state.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: Suspend

Status Body
200 License
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

POST /v1/licenses/{id}/transfer

Transfer a license to another customer, or to none.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: Transfer

Status Body
200 License
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

POST /v1/licenses/{id}/unsuspend

Lift the suspension of a license: it returns to the state it was suspended from.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 License
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/licenses/{id}/usage

List the quotas of a license and their use.

Authentication: API key, scope licenses:read

Parameter In Type Required Description
id path string yes
Status Body
200 UsageList
401 Problem
403 Problem
404 Problem

POST /v1/licenses/{id}/usage

Report use of a quota.

Counts amount units of the entitlement for the license, once per report_id. A report that would go past the quota plus the units granted on top is refused with 409 quota_exhausted and counts nothing; the same report_id can be sent again after a grant.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
id path string yes

Request body: ReportUsage

Status Body
200 UsageReported
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/licenses/{id}/usage/checkout

Open a checkout for a pack of quota units for this license.

The buyer pays at the checkout's url, in the provider's payment form. Once the provider confirms the payment, the license gets the pack's units times quantity on top of its quota (usage.granted), once per checkout, and the checkout is completed without an order. The checkout's customer is the license's. Not for resellers, and not for revoked licenses.

Authentication: API key, scope payments:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: StartUsageCheckout

Status Body
201 Checkout
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem
503 Problem

POST /v1/licenses/{id}/usage/grant

Grant units of a quota on top of the plan's.

For a purchase of more units: the license may use them in addition to the quota of its plan (usage.granted). Send an Idempotency-Key, so a retry does not grant twice. Not for resellers.

Authentication: API key, scope licenses:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: GrantUsage

Status Body
200 UsageCounter
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

GET /v1/mail/messages

List emails to end customers, newest first.

Authentication: API key, scope mail:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
status query MailStatus no
order_id query string no
customer_id query string no
Status Body
200 Page_MailMessage
400 Problem
401 Problem
403 Problem

GET /v1/mail/messages/{id}

Get one email.

Authentication: API key, scope mail:read

Parameter In Type Required Description
id path string yes
Status Body
200 MailMessage
401 Problem
403 Problem
404 Problem

POST /v1/mail/messages/{id}/retry

Send a failed email again.

The email goes back into the queue with fresh attempts and is sent within seconds. Only failed emails can be retried.

Authentication: API key, scope mail:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 MailMessage
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/mail/settings

Get the email settings of this environment.

Authentication: API key, scope mail:read

Status Body
200 MailSettings
401 Problem
403 Problem

PATCH /v1/mail/settings

Change the email settings of this environment.

Authentication: API key, scope mail:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: UpdateMailSettings

Status Body
200 MailSettings
400 Problem
401 Problem
403 Problem
422 Problem

GET /v1/mail/smtp

Get your SMTP server, without the password.

Authentication: API key, scope mail:read

Status Body
200 MailSmtp
401 Problem
403 Problem
404 Problem

PUT /v1/mail/smtp

Set your SMTP server.

The password is stored encrypted and never shown again. Until a test email went out (POST /v1/mail/smtp/test) and you switch it on (/activate), Noctix keeps sending your emails.

Authentication: API key, scope mail:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: PutMailSmtp

Status Body
200 MailSmtp
400 Problem
401 Problem
403 Problem
422 Problem

DELETE /v1/mail/smtp

Delete your SMTP server with its password. Noctix sends your emails again.

Authentication: API key, scope mail:write

Parameter In Type Required Description
Idempotency-Key header string or null no
Status Body
200 MailSmtp
401 Problem
403 Problem
404 Problem

POST /v1/mail/smtp/activate

Switch your SMTP server on: emails to your customers go through it.

Authentication: API key, scope mail:write

Parameter In Type Required Description
Idempotency-Key header string or null no
Status Body
200 MailSmtp
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/mail/smtp/deactivate

Switch your SMTP server off: Noctix sends your emails again.

Authentication: API key, scope mail:write

Parameter In Type Required Description
Idempotency-Key header string or null no
Status Body
200 MailSmtp
401 Problem
403 Problem
404 Problem

POST /v1/mail/smtp/test

Send a test email through your SMTP server.

Connects with the stored settings, logs in and sends a short email to to. On success the settings count as verified and can be switched on. The answer says what failed otherwise; the stored settings stay as they are.

Authentication: API key, scope mail:write

Request body: TestMailSmtp

Status Body
200 MailSmtpTest
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/mail/templates

List the templates of every kind and language, built-in or your own.

Authentication: API key, scope mail:read

Status Body
200 MailTemplates
401 Problem
403 Problem

GET /v1/mail/templates/{kind}/{locale}

Get the template of a kind and language.

Authentication: API key, scope mail:read

Parameter In Type Required Description
kind path MailKind yes
locale path Locale yes
Status Body
200 MailTemplate
401 Problem
403 Problem
404 Problem

PUT /v1/mail/templates/{kind}/{locale}

Store your own text for a kind of email and language.

Authentication: API key, scope mail:write

Parameter In Type Required Description
kind path MailKind yes
locale path Locale yes
Idempotency-Key header string or null no

Request body: PutMailTemplate

Status Body
200 MailTemplate
400 Problem
401 Problem
403 Problem
404 Problem
422 Problem

DELETE /v1/mail/templates/{kind}/{locale}

Delete your own text; the built-in text applies again.

Authentication: API key, scope mail:write

Parameter In Type Required Description
kind path MailKind yes
locale path Locale yes
Idempotency-Key header string or null no
Status Body
200 MailTemplate
401 Problem
403 Problem
404 Problem

POST /v1/mail/templates/{kind}/{locale}/preview

Render a template with sample data and your branding.

Without a body the stored or built-in text is rendered; with subject or body that text instead, so a change can be checked before it is stored. Nothing is sent.

Authentication: API key, scope mail:read

Parameter In Type Required Description
kind path MailKind yes
locale path Locale yes

Request body: PreviewMailTemplate

Status Body
200 MailPreview
400 Problem
401 Problem
403 Problem
404 Problem
422 Problem

GET /v1/me

The signed-in user.

Authentication: dashboard session

Status Body
200 User
401 Problem

GET /v1/me/passkeys

Passkeys of the signed-in user.

Authentication: dashboard session

Status Body
200 array of PasskeyInfo
401 Problem

POST /v1/me/passkeys/finish

Finish adding a passkey. In a recovery session this ends every session of the user and signs in normally (new session cookie).

Authentication: dashboard session

Request body: FinishAddPasskey

Status Body
201 PasskeyInfo
400 Problem
401 Problem

POST /v1/me/passkeys/start

Start adding a passkey. Also the only step a recovery session allows.

Authentication: dashboard session

Status Body
200 Ceremony
401 Problem

DELETE /v1/me/passkeys/{id}

Remove a passkey. The last one stays.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes
Status Body
204 none
401 Problem
404 Problem
409 Problem

PATCH /v1/me/passkeys/{id}

Rename a passkey.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes

Request body: RenamePasskey

Status Body
200 PasskeyInfo
400 Problem
401 Problem
404 Problem

GET /v1/me/totp

Whether TOTP recovery is set up.

Authentication: dashboard session

Status Body
200 TotpStatus
401 Problem

POST /v1/me/totp

Start setting up TOTP: returns a new secret. Confirm it with a code before it counts. Replaces an unconfirmed secret.

Authentication: dashboard session

Status Body
201 TotpSetup
401 Problem
409 Problem

DELETE /v1/me/totp

Remove TOTP. Recovery is then no longer possible.

Authentication: dashboard session

Status Body
204 none
401 Problem
404 Problem

POST /v1/me/totp/confirm

Confirm TOTP with a code from the app. Only then recovery works.

Authentication: dashboard session

Request body: TotpCode

Status Body
200 TotpStatus
400 Problem
401 Problem
404 Problem
429 Problem

GET /v1/members

List members of the team, newest first.

Authentication: API key, scope members:read; or dashboard session

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 Page_Member
400 Problem
401 Problem
403 Problem

DELETE /v1/members/{id}

Remove a member. Members may remove themselves to leave the team.

Authentication: API key, scope members:write; or dashboard session

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Member
401 Problem
403 Problem
404 Problem
409 Problem

PATCH /v1/members/{id}

Change a member's role.

Authentication: API key, scope members:write; or dashboard session

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: ChangeMember

Status Body
200 Member
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/newsletter/confirm

Confirm a newsletter subscription with the link from the confirmation email (double opt-in). No credentials. The link works for 7 days and only for the newest request; confirming twice changes nothing.

Authentication: none (open endpoint)

Parameter In Type Required Description
team query string yes The vendor's team.
environment query LoginEnvironment no test for the test environment; default live.
subscriber query string yes
token query string yes
Status Body
200 LinkOutcome
404 Problem
409 Problem
410 Problem

POST /v1/newsletter/object

Object to a vendor's service information (security notices, maintenance, expiry, new versions) or, with kind=ads, to its advertising to existing customers, with the link from such an email. No credentials, effective at once and for good; objecting twice changes nothing. Like unsubscribing, all parameters are in the query and the body is ignored, for List-Unsubscribe with List-Unsubscribe-Post (RFC 8058).

Authentication: none (open endpoint)

Parameter In Type Required Description
team query string yes The vendor's team.
environment query LoginEnvironment no test for the test environment; default live.
kind query ObjectKind no Default service.
customer query string yes
token query string yes
Status Body
200 ObjectOutcome
404 Problem

GET /v1/newsletter/subscribers

List newsletter subscribers, newest first.

Authentication: API key, scope newsletter:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
status query SubscriberStatus no
customer_id query string no
email query string no Exact address, case does not matter.
Status Body
200 Page_Subscriber
400 Problem
401 Problem
403 Problem

POST /v1/newsletter/subscribers

Ask for a newsletter subscription. The subscriber gets a confirmation email (double opt-in) and counts only once they confirm with its link. A pending or ended subscription of the address gets a new email; a confirmed one stays as it is. Call it from your backend when someone signs up on your website or in your checkout, and name the place in source.

Authentication: API key, scope newsletter:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: NewSubscriber

Status Body
200 SubscriptionRequested
400 Problem
401 Problem
403 Problem
404 Problem

GET /v1/newsletter/subscribers/{id}

Get one newsletter subscriber.

Authentication: API key, scope newsletter:read

Parameter In Type Required Description
id path string yes
Status Body
200 Subscriber
401 Problem
403 Problem
404 Problem

POST /v1/newsletter/subscribers/{id}/unsubscribe

End a newsletter subscription for the subscriber, effective at once, for example when they ask you by email. The record stays as evidence; to remove the person, erase the customer.

Authentication: API key, scope newsletter:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Subscriber
401 Problem
403 Problem
404 Problem

POST /v1/newsletter/unsubscribe

Unsubscribe from a vendor's newsletter with the link from an email. No credentials, effective at once; unsubscribing twice changes nothing. All parameters are in the query and the body is ignored, so this URL also serves List-Unsubscribe with List-Unsubscribe-Post (RFC 8058).

Authentication: none (open endpoint)

Parameter In Type Required Description
team query string yes The vendor's team.
environment query LoginEnvironment no test for the test environment; default live.
subscriber query string yes
token query string yes
Status Body
200 LinkOutcome
404 Problem

GET /v1/newsletters

List newsletters, newest first.

Authentication: API key, scope newsletter:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
status query NewsletterStatus no
Status Body
200 Page_Newsletter
400 Problem
401 Problem
403 Problem

POST /v1/newsletters

Create a newsletter draft. Nothing goes out yet.

Authentication: API key, scope newsletter:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: NewNewsletter

Status Body
201 Newsletter
400 Problem
401 Problem
403 Problem
404 Problem

GET /v1/newsletters/{id}

Get one newsletter.

Authentication: API key, scope newsletter:read

Parameter In Type Required Description
id path string yes
Status Body
200 Newsletter
401 Problem
403 Problem
404 Problem

DELETE /v1/newsletters/{id}

Delete a draft. Answers with the deleted draft.

Authentication: API key, scope newsletter:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Newsletter
401 Problem
403 Problem
404 Problem
409 Problem

PATCH /v1/newsletters/{id}

Change a draft.

Authentication: API key, scope newsletter:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: NewsletterPatch

Status Body
200 Newsletter
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/newsletters/{id}/preview

The newsletter as an email in one language, with your branding and an example unsubscribe link.

Authentication: API key, scope newsletter:read

Parameter In Type Required Description
id path string yes
locale query Locale no Default: the first language the newsletter has, English first.
Status Body
200 MailPreview
401 Problem
403 Problem
404 Problem

GET /v1/newsletters/{id}/recipients

The confirmed subscribers the newsletter reaches now, with the language each gets. Who unsubscribes before sending drops out. For service information, the customers it reaches.

Authentication: API key, scope newsletter:read

Parameter In Type Required Description
id path string yes
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 NewsletterRecipients
400 Problem
401 Problem
403 Problem
404 Problem

POST /v1/newsletters/{id}/send

Send a draft to everyone it reaches now. Each confirmed subscriber gets one email in their language, queued 100 ms apart; it is rendered when it goes out, so whoever unsubscribes before gets nothing. Every email carries an unsubscribe link and List-Unsubscribe for one-click unsubscribing. The newsletter is sending until the last email went out or failed, then sent; with no recipient, sent at once.

Service information goes to each customer it reaches, with a link to object instead, and needs confirm_no_advertising.

Authentication: API key, scope newsletter:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: any

Status Body
200 Newsletter
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/newsletters/{id}/test

Send the newsletter as a test to a member of your team, with [Test] before the subject and an example unsubscribe link. Works in every state.

Authentication: API key, scope newsletter:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: TestNewsletter

Status Body
200 NewsletterTestQueued
400 Problem
401 Problem
403 Problem
404 Problem

GET /v1/oauth/requests/{id}

Show a client's sign-in before answering it. Needs a signed-in user, no team.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes
Status Body
200 OAuthRequest
401 Problem
404 Problem

POST /v1/oauth/requests/{id}/approve

Allow a client's sign-in for the team in Team-Id. The connection acts for you and never beyond your role; in live it reads, and changes only what a member confirms (confirmed_changes). Answers with the address to send the browser back to the client.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes

Request body: ApproveRequest

Status Body
200 Answer
400 Problem
401 Problem
403 Problem
404 Problem
503 Problem

POST /v1/oauth/requests/{id}/deny

Deny a client's sign-in. The client learns only that it was denied.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes
Status Body
200 Answer
401 Problem
404 Problem
503 Problem

POST /v1/offline-licenses

Issue an offline license file for the device of a request code. Every check of activate applies, and the device takes a place of the license like any activation; a device that has one already keeps it and gets a new file. Needs a plan with offline_license_days.

Authentication: API key, scope activations:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: IssueOfflineLicense

Status Body
201 OfflineLicense
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
429 Problem
503 Problem

GET /v1/oidc-trusts

List the OIDC trusts of this environment, newest first.

Authentication: API key, scope api_keys:read

Parameter In Type Required Description
limit query integer no
cursor query string no
product_id query string no
Status Body
200 Page_OidcTrust
400 Problem
401 Problem
403 Problem
503 Problem

POST /v1/oidc-trusts

Trust the CI jobs of a repository for one product.

The jobs then exchange their OIDC token at POST /v1/oidc/token for an API key bound to the product, valid for 15 minutes.

Authentication: API key, scope api_keys:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateOidcTrust

Status Body
201 OidcTrust
400 Problem
401 Problem
403 Problem
503 Problem

GET /v1/oidc-trusts/{id}

Get one OIDC trust.

Authentication: API key, scope api_keys:read

Parameter In Type Required Description
id path string yes
Status Body
200 OidcTrust
401 Problem
403 Problem
404 Problem
503 Problem

DELETE /v1/oidc-trusts/{id}

Delete an OIDC trust. Keys it issued that are still valid are revoked.

Authentication: API key, scope api_keys:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
204 none
401 Problem
403 Problem
404 Problem

POST /v1/oidc/token

Exchange a CI job's OIDC token for a short-lived API key.

Needs no credentials. The token must come from the trust's provider and repository, carry the server's audience, match the trust's ref and CI environment, and is accepted once. The key is bound to the trust's product and expires after 15 minutes.

Authentication: none (open endpoint)

Request body: ExchangeOidcToken

Status Body
201 OidcKey
400 Problem
401 Problem
429 Problem
503 Problem

GET /v1/orders

List orders, newest first.

Authentication: API key, scope orders:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
source query string no
external_id query string no
customer_id query string no
status query OrderStatus no
Status Body
200 Page_Order
400 Problem
401 Problem
403 Problem

POST /v1/orders

Report a paid order and issue its licenses.

One license per unit of each item, from the item's plan, all in one transaction. The keys are in the answer only this once. An order with the same source and external_id that exists already is answered with 200 and its licenses, without keys; with other items it is refused with 409 order_exists.

Authentication: API key, scope orders:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateOrder

Status Body
200 CreatedOrder
201 CreatedOrder
400 Problem
401 Problem
403 Problem
409 Problem
422 Problem

GET /v1/orders/{id}

Get one order.

Authentication: API key, scope orders:read

Parameter In Type Required Description
id path string yes
Status Body
200 Order
401 Problem
403 Problem
404 Problem

POST /v1/orders/{id}/cancel

Cancel an order: the subscription will not renew. The licenses stay as they are and run to the end of their term.

Authentication: API key, scope orders:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 OrderWithLicenses
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/orders/{id}/chargeback

Report a charge-back. Suspends every unused, active and paused license of the order with the reason chargeback, so none can be redeemed or used. Expired, suspended and revoked licenses stay as they are. Reinstate the order if the charge-back is reversed, or refund it.

Authentication: API key, scope orders:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 OrderWithLicenses
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/orders/{id}/refund

Refund an order. Revokes every license of the order with the reason refunded. Final: a refunded order takes no further step.

Authentication: API key, scope orders:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 OrderWithLicenses
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/orders/{id}/reinstate

Reinstate a charged-back order: the charge-back was reversed. Licenses suspended for the charge-back return to the state they had (unused, active or paused); licenses suspended for another reason stay suspended.

Authentication: API key, scope orders:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 OrderWithLicenses
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/orders/{id}/renew

Renew an order: the next period is paid.

Extends every license of the order that has an end, by days or by the duration of its plan, from its end or from now if that has passed. A canceled order becomes paid again.

Authentication: API key, scope orders:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: RenewOrder

Status Body
200 OrderWithLicenses
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

GET /v1/payment-accounts

List the payment accounts of this environment, newest first.

Authentication: API key, scope payments:read

Status Body
200 PaymentAccounts
401 Problem
403 Problem

POST /v1/payment-accounts

Start connecting your own account at a payment provider.

Answers with the provider's page where you approve the connection. The provider returns to return_url with state and code; finish with POST /v1/payment-accounts/{id}/connect. You stay the seller: buyers pay into this account.

Authentication: API key, scope payments:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: StartConnection

Status Body
201 ConnectionStarted
400 Problem
401 Problem
403 Problem
422 Problem
503 Problem

POST /v1/payment-accounts/{id}/connect

Finish connecting a payment account with what the provider returned.

Authentication: API key, scope payments:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: FinishConnection

Status Body
200 PaymentAccount
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem
503 Problem

POST /v1/payment-accounts/{id}/disconnect

Disconnect a payment account.

Its credentials are deleted; no new checkouts open on it and its notifications are refused. Orders, checkouts and payments stay.

Authentication: API key, scope payments:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 PaymentAccount
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/payment-webhooks/{account_id}

Receive a notification from the payment provider.

Called by the provider, not by you: no API key, the provider's signature authenticates it. Give the provider the account's webhook_path on this API's host. Stripe instead sends the events of all connected accounts to /v1/payment-webhooks/stripe, set up once by the platform; the event names the account. A notification counts once, with a valid signature inside the time window, and only after the provider confirms the payment's state on request.

Authentication: none (open endpoint)

Parameter In Type Required Description
account_id path string yes
Status Body
200 NotificationReceipt
202 NotificationReceipt
400 Problem
401 Problem
404 Problem
503 Problem

POST /v1/payments/{id}/refund

Refund a payment, entirely or in part, through the provider.

A full refund: once the provider confirms it, the payment is refunded and the order is refunded, every license of it revoked. If the provider only accepts the refund for now (pending), that happens when it reports the refund done. A partial refund (amount below the rest) only gives money back, such as what is left after the buyer's share for a digital service used until a withdrawal: the payment stays paid, the licenses stay, and refunded_amount counts it at once, also while pending. To end the licenses as well, refund or cancel the order.

Authentication: API key, scope payments:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: any

Status Body
200 Refund
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem
503 Problem

GET /v1/plan

Show the team's Noctix plan, its limits and what the team uses.

Authentication: API key, scope billing:read; or dashboard session

Status Body
200 TeamPlan
401 Problem
403 Problem

PUT /v1/plan/usage-cap

Set the team's monthly cap of usage billing.

Usage above the plan's allowance of storage and downloads is billed up to this cap; at the cap, new uploads stop until the month ends, and downloads keep working. 0 turns usage billing off. Records team.usage_cap_changed.

Authentication: API key, scope billing:write; or dashboard session

Request body: SetUsageCap

Status Body
200 TeamFileUsage
400 Problem
401 Problem
403 Problem

GET /v1/plans

List plans of this environment, newest first.

Authentication: API key, scope plans:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
product_id query string no Only items of this product. Ignored for products.
archived query boolean no true: only archived items, false: only current items. Default: all.
Status Body
200 Page_Plan
400 Problem
401 Problem
403 Problem

POST /v1/plans

Create a plan in this environment.

Authentication: API key, scope plans:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreatePlan

Status Body
201 Plan
400 Problem
401 Problem
403 Problem
409 Problem
422 Problem

GET /v1/plans/{id}

Get one plan.

Authentication: API key, scope plans:read

Parameter In Type Required Description
id path string yes
Status Body
200 Plan
401 Problem
403 Problem
404 Problem

PATCH /v1/plans/{id}

Change a plan.

Authentication: API key, scope plans:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdatePlan

Status Body
200 Plan
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

POST /v1/plans/{id}/archive

Archive a plan.

It issues no new licenses; existing licenses stay valid. Archiving an archived plan changes nothing.

Authentication: API key, scope plans:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Plan
401 Problem
403 Problem
404 Problem

POST /v1/plans/{id}/restore

Restore an archived plan.

Authentication: API key, scope plans:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Plan
401 Problem
403 Problem
404 Problem

GET /v1/portal/account

The signed-in customer's account.

Authentication: dashboard session

Status Body
200 PortalAccount
401 Problem
404 Problem

POST /v1/portal/account/password

Change the password.

Needs the current password; wrong attempts count towards the lock. Other portal sessions of the customer end. Records customer.account_password_changed.

Authentication: dashboard session

Request body: AccountPasswordChange

Status Body
204 none
400 Problem
401 Problem
404 Problem
429 Problem

POST /v1/portal/account/totp

Start setting up TOTP: returns a new secret. Confirm it with a code from the app; until then sign-in needs no code.

Authentication: dashboard session

Status Body
201 AccountTotpSetup
401 Problem
404 Problem
409 Problem

POST /v1/portal/account/totp/confirm

Turn TOTP on with a code from the app. From then on sign-in needs a code. Records customer.account_totp_enabled.

Authentication: dashboard session

Request body: AccountTotpCode

Status Body
204 none
400 Problem
401 Problem
404 Problem
409 Problem

POST /v1/portal/account/totp/remove

Turn TOTP off. Needs the password and a current code. Records customer.account_totp_disabled.

Authentication: dashboard session

Request body: AccountTotpRemove

Status Body
204 none
400 Problem
401 Problem
404 Problem
429 Problem

POST /v1/portal/accounts

Register an account with email and password.

Only for teams with a product in the identity mode account or both. Noctix emails a link that confirms the address; the account works once it is confirmed. The answer is the same whether the address has an account or not: if it has, the email says so and offers a new password instead. At most three emails per account and hour. Records customer.account_registered.

Authentication: none (open endpoint)

Request body: AccountRegister

Status Body
202 AccountEmailAccepted
400 Problem
403 Problem
429 Problem
503 Problem

POST /v1/portal/accounts/password-reset

Ask for a link to set a new password.

If the address has a confirmed account, Noctix emails a link valid once and for an hour. The answer is the same whether it has or not. At most three emails per account and hour.

Authentication: none (open endpoint)

Request body: AccountResetRequest

Status Body
202 AccountEmailAccepted
400 Problem
429 Problem
503 Problem

POST /v1/portal/accounts/password-reset/confirm

Set a new password with the token of the link from the email.

The link is used up, and so are all other open links of the account; failed attempts and a lock are cleared, other portal sessions of the customer end. TOTP stays on. A portal session starts. Records customer.account_password_reset. With TOTP on, the link alone is not enough: without code the answer is 401 totp_required and the link stays usable. A wrong code counts as a failed sign-in; five in a row lock the account for 15 minutes.

Authentication: none (open endpoint)

Request body: AccountResetConfirm

Status Body
200 PortalMe
400 Problem
401 Problem
429 Problem

POST /v1/portal/accounts/sign-in

Sign in with email and password, and the TOTP code if TOTP is on.

Opens a portal session of 12 hours in the cookie __Host-portal. Without a code when one is needed: 401 totp_required. Five failed attempts in a row lock the account for 15 minutes (429 account_locked). Records customer.account_signed_in or customer.account_sign_in_failed.

Authentication: none (open endpoint)

Request body: AccountSignIn

Status Body
200 PortalMe
400 Problem
401 Problem
429 Problem

POST /v1/portal/accounts/verify

Confirm the address with the token of the link from the email.

The link is used up. The account gets its customer: the oldest customer of the vendor with this address and no account, so licenses bought with it show up, or a new one. A portal session starts as with a sign-in link. Records customer.account_verified.

Authentication: none (open endpoint)

Request body: AccountToken

Status Body
200 PortalMe
400 Problem
401 Problem

GET /v1/portal/branding

The vendor's branding for the portal. With team it needs no session, so the sign-in page can show it; without, it is the branding of the signed-in customer's vendor. An unknown team is not found.

Authentication: none (open endpoint); or dashboard session

Parameter In Type Required Description
team query string no The vendor's team. Without it, the team of the portal session.
environment query string no live (default) or test.
Status Body
200 PortalBranding
400 Problem
401 Problem
404 Problem

GET /v1/portal/device-codes/{user_code}

Look up a device code the app shows, with the customer's licenses that can take the device. Case and dashes do not matter. Tries are limited per customer and address.

Authentication: dashboard session

Parameter In Type Required Description
user_code path string yes
Status Body
200 PortalDeviceCode
401 Problem
404 Problem
429 Problem
503 Problem

POST /v1/portal/device-codes/{user_code}/approve

Confirm a device code for one of the customer's licenses or a key. The app gets its license token on its next poll, where the device limit and the other checks of activate apply.

Authentication: dashboard session

Parameter In Type Required Description
user_code path string yes

Request body: PortalApproveCode

Status Body
200 PortalDeviceCode
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
429 Problem
503 Problem

GET /v1/portal/discord

The customer's Discord link.

Authentication: dashboard session

Status Body
200 PortalDiscord
401 Problem

DELETE /v1/portal/discord

Unlink the customer's Discord account. Noctix takes back the roles it gave, as far as Discord lets it, and records discord.unlinked.

Authentication: dashboard session

Status Body
204 none
401 Problem
403 Problem
404 Problem

POST /v1/portal/discord/callback

Finish linking with the code and state Discord sent the customer back with. Records discord.linked and gives the roles due at once. A Discord account links to one customer of the vendor.

Authentication: dashboard session

Request body: PortalDiscordCallback

Status Body
200 PortalDiscordLink
400 Problem
401 Problem
403 Problem
409 Problem
502 Problem
503 Problem

POST /v1/portal/discord/start

Start linking a Discord account: returns Discord's page to send the customer to. Discord sends them back to the portal's callback page.

Authentication: dashboard session

Status Body
200 PortalDiscordStart
401 Problem
403 Problem
409 Problem
503 Problem

GET /v1/portal/domain

Find the vendor of a portal domain.

The portal asks this when it is opened under a host name of a vendor (#450), so it needs no ?team=. Only verified domains for the portal are found.

Authentication: none (open endpoint)

Parameter In Type Required Description
hostname query string yes The host name the portal is opened under, such as portal.example.com.
Status Body
200 PortalDomain
404 Problem

GET /v1/portal/licenses

The customer's licenses with their devices, newest first.

Authentication: dashboard session

Status Body
200 PortalLicenses
401 Problem

POST /v1/portal/licenses/redeem

Redeem a license by its key.

A license without a customer becomes the signed-in customer's (license.transferred). Redeeming a key the customer already has changes nothing.

Authentication: dashboard session

Request body: PortalRedeem

Status Body
200 PortalLicense
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/portal/licenses/{id}/activations/{activation_id}/remote-actions

Send a remote action to one of the customer's devices (remote_action.created with sent_by: customer). Only actions the vendor allowed for customers.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes
activation_id path string yes

Request body: SendRemoteAction

Status Body
201 RemoteAction
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/portal/licenses/{id}/activations/{activation_id}/reset

Remove a device from one of the customer's licenses.

Follows the plan's self-service rule: allowed or not, so many devices per period, then a wait before a new device can be bound. A reset past the quota is refused with reset_limit_reached and the next possible time.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes
activation_id path string yes
Status Body
200 ResetResult
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/portal/licenses/{id}/channel

The channel of one of the customer's licenses and the channels it can be moved to.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes
Status Body
200 PortalLicenseChannel
401 Problem
404 Problem

PUT /v1/portal/licenses/{id}/channel

Move one of the customer's licenses into a selectable channel, or back to the default with null.

Records license.channel_changed. The app gets the new channel with its next license token. A channel that is not selectable is refused with channel_not_selectable; a license the vendor put into such a channel cannot be changed here (channel_locked).

Authentication: dashboard session

Parameter In Type Required Description
id path string yes

Request body: SetPortalChannel

Status Body
200 PortalLicenseChannel
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/portal/licenses/{id}/downloads

Files one of the customer's licenses can download. Another customer's license is not found.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes
Status Body
200 PortalDownloads
401 Problem
404 Problem

POST /v1/portal/licenses/{id}/downloads/{file_id}

A link that downloads one offered file for 5 minutes.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes
file_id path string yes
Status Body
200 PortalDownloadLink
401 Problem
404 Problem
409 Problem
429 Problem
503 Problem

GET /v1/portal/licenses/{id}/releases

Published releases offered to one of the customer's licenses, with their notes. Another customer's license is not found.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes
locale query Locale no Language of the notes. Default en.
Status Body
200 PortalReleases
401 Problem
404 Problem

GET /v1/portal/licenses/{id}/remote-action-types

List the remote actions the customer may send to the devices of one of their licenses.

Authentication: dashboard session

Parameter In Type Required Description
id path string yes
Status Body
200 PortalRemoteActionTypes
401 Problem
404 Problem

POST /v1/portal/login

Ask for a sign-in link by email.

If the address belongs to a customer of the team in this environment, Noctix emails a link that is valid once and for 15 minutes. The answer is the same whether the address is known or not. At most three emails per customer and hour.

Authentication: none (open endpoint)

Request body: PortalLogin

Status Body
202 PortalLoginAccepted
400 Problem
403 Problem
429 Problem
503 Problem

POST /v1/portal/logout

Sign out of the portal.

Authentication: dashboard session

Status Body
204 none
401 Problem

GET /v1/portal/me

The signed-in customer.

Authentication: dashboard session

Status Body
200 PortalMe
401 Problem

PATCH /v1/portal/me

Set the signed-in customer's language.

The portal sends it when the customer signs in or switches the language, so later emails (e.g. the license email of the next order) arrive in it. Records customer.updated.

Authentication: dashboard session

Request body: UpdatePortalMe

Status Body
200 PortalMe
400 Problem
401 Problem
403 Problem

GET /v1/portal/microsoft

Whether the vendor offers sign-in with Microsoft.

Authentication: none (open endpoint)

Parameter In Type Required Description
team_id query string yes The vendor's team.
environment query LoginEnvironment no Default live.
Status Body
200 MicrosoftOffer
400 Problem

POST /v1/portal/microsoft/finish

Finish signing in with Microsoft.

Takes code and state from the callback, in the browser that started the sign-in. Opens a portal session of 12 hours in the cookie __Host-portal. The first sign-in links the Microsoft account to a customer: one with the same address if Microsoft confirmed the address's domain or the vendor allowed the tenant by name, else a new one. A tenant the vendor did not allow gets 403 microsoft_tenant_not_allowed. Records customer.microsoft_signed_in, and customer.microsoft_linked on the first sign-in.

Authentication: none (open endpoint)

Request body: FinishMicrosoft

Status Body
200 PortalMe
400 Problem
401 Problem
403 Problem
502 Problem
503 Problem

POST /v1/portal/microsoft/start

Start signing in with a Microsoft work or school account.

Returns Microsoft's sign-in page and sets a cookie that binds the sign-in to this browser. Microsoft sends the browser back to the portal's /portal/microsoft/callback, which calls finish.

Authentication: none (open endpoint)

Request body: StartMicrosoft

Status Body
200 MicrosoftRedirect
400 Problem
404 Problem
502 Problem
503 Problem

POST /v1/portal/offline-licenses

Issue the offline license for the device of a request code.

Only the customer's own licenses of the code's product qualify; a code of another product, vendor or environment answers 404 license_not_found. Every check of activate applies and the device takes a place of the license. Records activation.offline_issued.

Authentication: dashboard session

Request body: PortalOfflineRequest

Status Body
201 OfflineLicense
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
429 Problem
503 Problem

POST /v1/portal/session

Sign in with the token of a sign-in link.

The link is used up; a portal session of 12 hours starts in the cookie __Host-portal. Records customer.portal_signed_in. If the customer has an account with TOTP on, the link alone is not enough: without code the answer is 401 totp_required and the link stays usable. A wrong code counts as a failed sign-in; five in a row lock the account for 15 minutes (429 account_locked).

Authentication: none (open endpoint)

Request body: PortalSessionRequest

Status Body
200 PortalMe
400 Problem
401 Problem
403 Problem
429 Problem

GET /v1/products

List products, newest first.

Authentication: API key, scope products:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
product_id query string no Only items of this product. Ignored for products.
archived query boolean no true: only archived items, false: only current items. Default: all.
Status Body
200 Page_Product
400 Problem
401 Problem
403 Problem

POST /v1/products

Create a product.

The product exists in test and live; settings apply to the request's environment.

Authentication: API key, scope products:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateProduct

Status Body
201 Product
400 Problem
401 Problem
403 Problem
422 Problem

GET /v1/products/{id}

Get one product.

Authentication: API key, scope products:read

Parameter In Type Required Description
id path string yes
Status Body
200 Product
401 Problem
403 Problem
404 Problem

PATCH /v1/products/{id}

Change a product.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateProduct

Status Body
200 Product
400 Problem
401 Problem
403 Problem
404 Problem
422 Problem

POST /v1/products/{id}/archive

Archive a product.

Its plans issue no new licenses, in either environment; existing licenses stay valid. Archiving an archived product changes nothing.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Product
401 Problem
403 Problem
404 Problem

GET /v1/products/{id}/assets

List the assets of a product, newest first.

Authentication: API key, scope assets:read

Parameter In Type Required Description
id path string yes
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 Page_Asset
400 Problem
401 Problem
403 Problem
404 Problem

POST /v1/products/{id}/assets

Announce an asset and get the URL to upload its file to.

Upload the file with one PUT to upload.url with the headers in upload.headers, then call complete. The URL works for one hour. An earlier pending asset of the same name is dropped; a ready one keeps the name (name_taken).

Authentication: API key, scope assets:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: AnnounceAsset

Status Body
201 Asset
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
503 Problem

GET /v1/products/{id}/attestation

Read the App Attest and Play Integrity settings of a product.

Authentication: API key, scope products:read

Parameter In Type Required Description
id path string yes
Status Body
200 DeviceAttestation
401 Problem
403 Problem
404 Problem

PATCH /v1/products/{id}/attestation

Change the App Attest and Play Integrity settings of a product.

Apple Team ID and bundle ID go together (422 apple_incomplete). Play keys need a package name (422 android_package_required) and must be the two keys from the Play Console (400 invalid_play_keys). Records device_attestation.updated with the names of the changed fields, never the keys.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateDeviceAttestation

Status Body
200 DeviceAttestation
400 Problem
401 Problem
403 Problem
404 Problem
422 Problem

GET /v1/products/{id}/channels

List the channels of a product, by rank.

Authentication: API key, scope releases:read

Parameter In Type Required Description
id path string yes
Status Body
200 ReleaseChannels
401 Problem
403 Problem
404 Problem

PUT /v1/products/{id}/channels/{name}

Create or change a channel.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
name path string yes
Idempotency-Key header string or null no

Request body: PutReleaseChannel

Status Body
200 ReleaseChannel
400 Problem
401 Problem
403 Problem
404 Problem

DELETE /v1/products/{id}/channels/{name}

Delete a channel. stable and beta return to their defaults; another channel can go only while no release, plan or license uses it.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
name path string yes
Idempotency-Key header string or null no
Status Body
200 ReleaseChannels
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/products/{id}/config-keys

List the keys of a product, by name.

Authentication: API key, scope config:read

Parameter In Type Required Description
id path string yes Product ID
Status Body
200 Page_ConfigKey
401 Problem
403 Problem
404 Problem

POST /v1/products/{id}/config-keys

Add a key to a product's schema.

Authentication: API key, scope config:write

Parameter In Type Required Description
id path string yes Product ID
Idempotency-Key header string or null no

Request body: CreateConfigKey

Status Body
201 ConfigKey
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/products/{id}/config-keys/{key}

Get one key.

Authentication: API key, scope config:read

Parameter In Type Required Description
id path string yes Product ID
key path string yes
Status Body
200 ConfigKey
401 Problem
403 Problem
404 Problem

DELETE /v1/products/{id}/config-keys/{key}

Delete a key with all its values. Licenses no longer receive it.

Authentication: API key, scope config:write

Parameter In Type Required Description
id path string yes Product ID
key path string yes
Idempotency-Key header string or null no
Status Body
200 DeletedConfigKey
401 Problem
403 Problem
404 Problem

PATCH /v1/products/{id}/config-keys/{key}

Change a key's description and rules. Name and type stay.

Authentication: API key, scope config:write

Parameter In Type Required Description
id path string yes Product ID
key path string yes
Idempotency-Key header string or null no

Request body: UpdateConfigKey

Status Body
200 ConfigKey
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/products/{id}/config-schema

The product's schema as a JSON Schema (2020-12) document: one optional property per key, nothing else allowed. Embed it in your app so the SDK can check the config it receives against your own copy.

Authentication: API key, scope config:read

Parameter In Type Required Description
id path string yes Product ID
Status Body
200 object
401 Problem
403 Problem
404 Problem

GET /v1/products/{id}/config-values

List a product's values, newest first.

Authentication: API key, scope config:read

Parameter In Type Required Description
id path string yes Product ID
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
key query string no Values of this key only.
scope query ConfigScope no
target_id query string no Values for this plan, entitlement or license only.
Status Body
200 Page_ConfigValue
400 Problem
401 Problem
403 Problem
404 Problem

PUT /v1/products/{id}/config-values

Set the value of a key for the product, a plan, an entitlement or a license. The same value again changes nothing.

Authentication: API key, scope config:write

Parameter In Type Required Description
id path string yes Product ID
Idempotency-Key header string or null no

Request body: SetConfigValue

Status Body
200 ConfigValue
201 ConfigValue
400 Problem
401 Problem
403 Problem
404 Problem

DELETE /v1/products/{id}/config-values/{value_id}

Delete a value. A less specific value, if any, applies again.

Authentication: API key, scope config:write

Parameter In Type Required Description
id path string yes Product ID
value_id path string yes
Idempotency-Key header string or null no
Status Body
200 ConfigValue
401 Problem
403 Problem
404 Problem

GET /v1/products/{id}/debug-symbols

List the symbol files of a product, newest first.

Authentication: API key, scope symbols:read

Parameter In Type Required Description
id path string yes
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 Page_DebugSymbols
400 Problem
401 Problem
403 Problem
404 Problem

POST /v1/products/{id}/debug-symbols

Announce a symbol file and get the URL to upload it to.

Make the file with dump_syms from the module's debug information, upload it with one PUT to upload.url with the headers in upload.headers, then call complete. The URL works for one hour. An earlier pending file of the same debug ID is dropped.

Authentication: API key, scope symbols:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: AnnounceDebugSymbols

Status Body
201 DebugSymbols
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
503 Problem

GET /v1/products/{id}/device-batches

List the product's batches, newest first.

Authentication: API key, scope devices:read

Parameter In Type Required Description
id path string yes
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 Page_DeviceBatch
400 Problem
401 Problem
403 Problem
404 Problem

POST /v1/products/{id}/device-batches

Provision a batch of devices.

Every certificate must be valid now, carry a usable serial as common name and be signed by an active CA of the product. One refused certificate refuses the whole batch (422 invalid_certificates, the detail names up to 10 by index); nothing is stored then. Records device_batch.created.

Authentication: API key, scope devices:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: NewDeviceBatch

Status Body
201 DeviceBatch
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

GET /v1/products/{id}/device-cas

List the product's device CAs, by name.

Authentication: API key, scope devices:read

Parameter In Type Required Description
id path string yes
Status Body
200 DeviceCaList
401 Problem
403 Problem
404 Problem

POST /v1/products/{id}/device-cas

Register a device CA for a product.

The certificate must be a CA certificate with an Ed25519 or ECDSA P-256 key that has not expired. At most 20 CAs per product and environment. Records device_ca.created.

Authentication: API key, scope devices:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: NewDeviceCa

Status Body
201 DeviceCa
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

GET /v1/products/{id}/hardware-devices

List the product's devices, newest first, by batch or serial.

Authentication: API key, scope devices:read

Parameter In Type Required Description
id path string yes
batch_id query string no Only devices of this batch.
serial query string no Only the device with this serial.
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 Page_HardwareDevice
400 Problem
401 Problem
403 Problem
404 Problem

POST /v1/products/{id}/imports/keyauth

Import keys, subscriptions and users from KeyAuth.

Users become end customers (external user ID keyauth:<username>), keys and subscriptions become licenses on the plans their levels map to, each with a new key; old KeyAuth keys stop working. The report names every license with old and new key and every row not imported with its reason. Rows imported earlier are skipped as already_imported, so a large export can go in several requests of at most 1000 rows. With dry_run nothing is stored. Not for resellers.

Authentication: API key, scope licenses:write, customers:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: KeyauthImport

Status Body
200 ImportReport
201 ImportReport
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

GET /v1/products/{id}/keys

List the signing keys of a product.

Keys of the request's environment only: test and live have separate keys. The first call for a product in an environment creates its first active key. Build every key that is not retired into your app.

Authentication: API key, scope products:read

Parameter In Type Required Description
id path string yes
Status Body
200 SigningKeyList
401 Problem
403 Problem
404 Problem
503 Problem

POST /v1/products/{id}/keys

Create a new signing key.

First step of a rotation. The new key is pending: it signs nothing yet, so you can ship it in an app update first. Then activate it.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
201 SigningKey
401 Problem
403 Problem
404 Problem
503 Problem

POST /v1/products/{id}/keys/{kid}/activate

Activate a pending signing key.

Second step of a rotation. New tokens are signed with this key; the previous active key becomes retiring and still verifies the tokens it signed until they expire.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
kid path string yes
Idempotency-Key header string or null no
Status Body
200 SigningKey
401 Problem
403 Problem
404 Problem
409 Problem
503 Problem

POST /v1/products/{id}/keys/{kid}/retire

Retire a signing key.

Last step of a rotation, once tokens signed with the old key have expired (24 hours by default) and your users have the app update. Pending keys can be retired too. The active key cannot.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
kid path string yes
Idempotency-Key header string or null no
Status Body
200 SigningKey
401 Problem
403 Problem
404 Problem
409 Problem
503 Problem

GET /v1/products/{id}/protection

The protection profile of a product: which layers are active, what each signal does, and what the setup does not protect against.

Authentication: API key, scope products:read

Parameter In Type Required Description
id path string yes
Status Body
200 ProtectionProfile
401 Problem
403 Problem
404 Problem

GET /v1/products/{id}/proxy-targets

List the product's proxy targets, by name.

Authentication: API key, scope proxy:read

Parameter In Type Required Description
id path string yes
Status Body
200 ProxyTargetList
401 Problem
403 Problem
404 Problem

POST /v1/products/{id}/proxy-targets

Set up a proxy target for a product.

The URL must use https and resolve only to public addresses; private, local and reserved networks are refused (422 target_not_allowed), now and on every call. At most 20 targets per product and environment. The answer holds the signing secret, the only time it is shown. Records proxy_target.created.

Authentication: API key, scope proxy:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: NewProxyTarget

Status Body
201 ProxyTargetWithSecret
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

GET /v1/products/{id}/release-keys

List the release keys of a product.

Authentication: API key, scope products:read

Parameter In Type Required Description
id path string yes
Status Body
200 ReleaseKeyList
401 Problem
403 Problem
404 Problem

POST /v1/products/{id}/release-keys

Add a public key for release lists.

From now on release lists signed with its private key are accepted for this product and environment. At most two keys at once: active and reserve.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: AddReleaseKey

Status Body
201 ReleaseKey
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

DELETE /v1/products/{id}/release-keys/{key_id}

Remove a release key.

Release lists signed with it are refused from now on; a stored list stays.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
key_id path string yes
Idempotency-Key header string or null no
Status Body
200 ReleaseKey
401 Problem
403 Problem
404 Problem

POST /v1/products/{id}/release-lists

Publish a release list signed by the vendor.

The list must verify with one of the product's release keys, name this product and environment, and have a higher seq than the current one. From now on update and download offer only releases it names and does not revoke.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: PublishReleaseList

Status Body
201 ReleaseListOut
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/products/{id}/release-lists/current

The current release list of a product.

Authentication: API key, scope products:read

Parameter In Type Required Description
id path string yes
Status Body
200 ReleaseListOut
401 Problem
403 Problem
404 Problem

GET /v1/products/{id}/remote-action-types

List the remote action definitions of a product, by name.

The answer is also the schema an app embeds for the SDK, which drops every action that does not fit it.

Authentication: API key, scope products:read

Parameter In Type Required Description
id path string yes
Status Body
200 RemoteActionTypes
401 Problem
403 Problem
404 Problem

POST /v1/products/{id}/remote-action-types

Define a remote action for a product (remote_action_type.created).

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: CreateRemoteActionType

Status Body
201 RemoteActionType
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/products/{id}/restore

Restore an archived product.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Product
401 Problem
403 Problem
404 Problem

GET /v1/products/{id}/storage

Show how much a product's release files take in the file store.

Old files are removed once an hour: pending uploads after a day, files of published releases beyond the newest keep_releases of their channel and platform, and files of releases withdrawn a week ago. Never a draft's file, a file uploaded in the last 7 days or a file of a version a device still reports.

Authentication: API key, scope releases:read

Parameter In Type Required Description
id path string yes
Status Body
200 ProductStorage
401 Problem
403 Problem
404 Problem

GET /v1/products/{id}/user-token-keys

List the user token keys of a product.

Authentication: API key, scope products:read

Parameter In Type Required Description
id path string yes
Status Body
200 UserTokenKeyList
401 Problem
403 Problem
404 Problem

POST /v1/products/{id}/user-token-keys

Add a public key for user tokens.

From now on activate accepts user tokens signed with its private key for this product and environment. At most five keys at once.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: AddUserTokenKey

Status Body
201 UserTokenKey
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

DELETE /v1/products/{id}/user-token-keys/{key_id}

Remove a user token key.

User tokens signed with it are refused from now on.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
key_id path string yes
Idempotency-Key header string or null no
Status Body
200 UserTokenKey
401 Problem
403 Problem
404 Problem

GET /v1/products/{id}/wrapping-key

Get the wrapping key for encrypted release files.

Your build pipeline encrypts each release file with a random content key and wraps that key for this public key (release-tool encrypt), then announces the file with encryption. Only the signing service holds the private half; on each download it wraps the content key again for the device. Keys of the request's environment only; the first call creates the key.

Authentication: API key, scope products:read

Parameter In Type Required Description
id path string yes
Status Body
200 WrappingKey
401 Problem
403 Problem
404 Problem
503 Problem

GET /v1/proxy-targets/{id}

A proxy target.

Authentication: API key, scope proxy:read

Parameter In Type Required Description
id path string yes
Status Body
200 ProxyTarget
401 Problem
403 Problem
404 Problem

DELETE /v1/proxy-targets/{id}

Delete a proxy target (proxy_target.deleted). Apps that call it get ok without proxy.

Authentication: API key, scope proxy:write

Parameter In Type Required Description
id path string yes
Status Body
200 ProxyTarget
401 Problem
403 Problem
404 Problem

PATCH /v1/proxy-targets/{id}

Change a proxy target (proxy_target.updated). The name stays; headers replaces all headers.

Authentication: API key, scope proxy:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: ProxyTargetPatch

Status Body
200 ProxyTarget
400 Problem
401 Problem
403 Problem
404 Problem
422 Problem

POST /v1/proxy-targets/{id}/rotate-secret

Give a proxy target a new signing secret (proxy_target.secret_rotated). The old secret stops signing at once.

Authentication: API key, scope proxy:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 ProxyTargetWithSecret
401 Problem
403 Problem
404 Problem

GET /v1/releases

List releases, newest first.

Authentication: API key, scope releases:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
product_id query string no
channel query string no
status query ReleaseStatus no
Status Body
200 Page_Release
400 Problem
401 Problem
403 Problem

POST /v1/releases

Create a release as a draft.

Authentication: API key, scope releases:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateRelease

Status Body
201 Release
400 Problem
401 Problem
403 Problem
409 Problem

GET /v1/releases/{id}

Get one release.

Authentication: API key, scope releases:read

Parameter In Type Required Description
id path string yes
Status Body
200 Release
401 Problem
403 Problem
404 Problem

PATCH /v1/releases/{id}

Change platforms or notes.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateRelease

Status Body
200 Release
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/releases/{id}/block

Block a version (#92): a published release is withdrawn, and every device that runs the version gets version_outdated from validate and, from update, the newest release of its channel as a required update, never an older one. Cannot be undone; publish a new version instead.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Release
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/releases/{id}/builds

List the approved builds of a release.

Authentication: API key, scope releases:read

Parameter In Type Required Description
id path string yes
Status Body
200 ReleaseBuilds
401 Problem
403 Problem
404 Problem

POST /v1/releases/{id}/builds

Approve a build: its SHA-256 for one platform of the release.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: NewReleaseBuild

Status Body
201 ReleaseBuild
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

DELETE /v1/releases/{id}/builds/{build_id}

Remove an approved build. Devices that run it count as unknown builds from their next call.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
build_id path string yes
Status Body
204 none
401 Problem
403 Problem
404 Problem

GET /v1/releases/{id}/files

List the files of a release: the ready file of each platform and pending uploads.

Authentication: API key, scope releases:read

Parameter In Type Required Description
id path string yes
Status Body
200 ReleaseFiles
401 Problem
403 Problem
404 Problem

POST /v1/releases/{id}/files

Announce a file and get the URL to upload it to.

Upload the file with one PUT to upload.url with the headers in upload.headers, then call complete. The URL works for one hour. A replay with the same idempotency key returns the file without upload; announce again for a new URL.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: AnnounceFile

Status Body
201 ReleaseFile
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
503 Problem

DELETE /v1/releases/{id}/files/{file_id}

Remove a file from a draft release.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
file_id path string yes
Status Body
204 none
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/releases/{id}/files/{file_id}/complete

Finish an upload: the file becomes the release's file for its platform.

Checks that the store holds the file with the announced size (and checksum, where the store reports it). An earlier file of the platform is removed.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
file_id path string yes
Idempotency-Key header string or null no
Status Body
200 ReleaseFile
401 Problem
403 Problem
404 Problem
409 Problem
503 Problem

GET /v1/releases/{id}/files/{file_id}/download

Get a link that downloads a ready file for 15 minutes, to check what was uploaded.

Authentication: API key, scope releases:read

Parameter In Type Required Description
id path string yes
file_id path string yes
Status Body
200 FileDownload
401 Problem
403 Problem
404 Problem
409 Problem
503 Problem

GET /v1/releases/{id}/internal-notes

Get the internal notes of a release: notes and commits for your team.

Authentication: API key, scope releases:read

Parameter In Type Required Description
id path string yes
Status Body
200 InternalNotes
401 Problem
403 Problem
404 Problem

PUT /v1/releases/{id}/internal-notes

Replace the internal notes of a release, in any status. Records release.internal_notes_updated with the number of commits, not the texts.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: PutInternalNotes

Status Body
200 InternalNotes
400 Problem
401 Problem
403 Problem
404 Problem

POST /v1/releases/{id}/promote

Move a release to another channel, such as from beta to stable. It keeps its ID, file and checksum.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: PromoteRelease

Status Body
200 Release
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/releases/{id}/publish

Publish a draft.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Release
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/releases/{id}/rollout

Change who is offered the release: a share of devices, or pause it.

Setting percent ends the release's schedule of rollout steps (rollout.next_step_at becomes null). Pausing keeps it; resuming starts the current step's time again.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateRollout

Status Body
200 Release
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/releases/{id}/withdraw

Withdraw a published release.

Authentication: API key, scope releases:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 Release
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/remote-action-types/{id}

Get a remote action definition.

Authentication: API key, scope products:read

Parameter In Type Required Description
id path string yes
Status Body
200 RemoteActionType
401 Problem
403 Problem
404 Problem

DELETE /v1/remote-action-types/{id}

Delete a remote action definition (remote_action_type.deleted). Pending actions of that name are cancelled.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
Status Body
200 RemoteActionType
401 Problem
403 Problem
404 Problem

PATCH /v1/remote-action-types/{id}

Change titles, parameters or whether customers may send a remote action (remote_action_type.updated). The name stays.

Authentication: API key, scope products:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateRemoteActionType

Status Body
200 RemoteActionType
400 Problem
401 Problem
403 Problem
404 Problem

DELETE /v1/remote-actions/{id}

Cancel a remote action the app has not taken yet (remote_action.cancelled).

Authentication: API key, scope activations:write

Parameter In Type Required Description
id path string yes
Status Body
200 RemoteAction
401 Problem
403 Problem
404 Problem
409 Problem

POST /v1/reports

Report illegal content or abuse on a page hosted for a vendor.

Authentication: none (open endpoint)

Request body: NewReport

Status Body
201 ReportReceipt
400 Problem
403 Problem
429 Problem

GET /v1/reseller-quotas

List quotas. A reseller sees only their own.

Authentication: API key, scope members:read

Parameter In Type Required Description
member_id query string no Only this member's quotas.
Status Body
200 ResellerQuotas
401 Problem
403 Problem

POST /v1/reseller-quotas

Grant or withdraw units of a reseller's quota for a plan.

Authentication: API key, scope members:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: ChangeResellerQuota

Status Body
200 ResellerQuota
400 Problem
401 Problem
403 Problem
409 Problem

GET /v1/scim/v2/Groups

Authentication: API key, scope scim:read

Parameter In Type Required Description
filter query string no Such as userName eq "ada@acme.com".
startIndex query integer no 1-based index of the first result.
count query integer no At most 100.
Status Body
200 none
400 none
401 Problem

POST /v1/scim/v2/Groups

Authentication: API key, scope scim:write

Status Body
201 none
400 none
401 Problem
409 none

GET /v1/scim/v2/Groups/{id}

Authentication: API key, scope scim:read

Parameter In Type Required Description
id path string yes
Status Body
200 none
401 Problem
404 none

PUT /v1/scim/v2/Groups/{id}

Authentication: API key, scope scim:write

Parameter In Type Required Description
id path string yes
Status Body
200 none
400 none
401 Problem
404 none
409 none

DELETE /v1/scim/v2/Groups/{id}

Authentication: API key, scope scim:write

Parameter In Type Required Description
id path string yes
Status Body
204 none
401 Problem
404 none

PATCH /v1/scim/v2/Groups/{id}

Authentication: API key, scope scim:write

Parameter In Type Required Description
id path string yes
Status Body
200 none
400 none
401 Problem
404 none
409 none

GET /v1/scim/v2/ServiceProviderConfig

What this server supports (RFC 7643, 5).

Authentication: API key, scope scim:read

Status Body
200 none
401 Problem

GET /v1/scim/v2/Users

Users of the team, for the identity provider.

Authentication: API key, scope scim:read

Parameter In Type Required Description
filter query string no Such as userName eq "ada@acme.com".
startIndex query integer no 1-based index of the first result.
count query integer no At most 100.
Status Body
200 none
400 none
401 Problem
403 none

POST /v1/scim/v2/Users

Provision a person: finds the member with this email or creates an account, and makes it a member while a role applies.

Authentication: API key, scope scim:write

Status Body
201 none
400 none
401 Problem
403 none
409 none

GET /v1/scim/v2/Users/{id}

Authentication: API key, scope scim:read

Parameter In Type Required Description
id path string yes
Status Body
200 none
401 Problem
404 none

PUT /v1/scim/v2/Users/{id}

Authentication: API key, scope scim:write

Parameter In Type Required Description
id path string yes
Status Body
200 none
400 none
401 Problem
404 none
409 none

DELETE /v1/scim/v2/Users/{id}

Deprovision a person: the membership ends at once.

Authentication: API key, scope scim:write

Parameter In Type Required Description
id path string yes
Status Body
204 none
401 Problem
404 none

PATCH /v1/scim/v2/Users/{id}

Authentication: API key, scope scim:write

Parameter In Type Required Description
id path string yes
Status Body
200 none
400 none
401 Problem
404 none
409 none

GET /v1/shop-connections

List the environment's shop connections, newest first.

Authentication: API key, scope shops:read

Status Body
200 ShopConnections
401 Problem
403 Problem

POST /v1/shop-connections

Connect a shop.

The secret is stored sealed and never shown again. Point the shop's webhooks at webhook_path: in Shopify the topics orders/paid, orders/updated and orders/cancelled, in WooCommerce order.created and order.updated (with WooCommerce Subscriptions also subscription.updated), in Stripe checkout.session.completed, checkout.session.async_payment_succeeded, invoice.paid, charge.refunded, charge.dispute.created, charge.dispute.closed and customer.subscription.deleted, in Paddle transaction.completed, subscription.canceled, adjustment.created and adjustment.updated. For Gumroad, set the full webhook URL as Ping endpoint and, through the API's resource subscriptions, for sale, refund, dispute, dispute_won and subscription_ended. For Google Play, create a Pub/Sub push subscription on the app's real-time developer notifications topic with authentication as the key's service account and the full webhook URL as endpoint (and audience). Records shop_connection.created.

Authentication: API key, scope shops:write

Request body: NewShopConnection

Status Body
201 ShopConnection
400 Problem
401 Problem
403 Problem
409 Problem

GET /v1/shop-connections/{id}

Get a shop connection.

Authentication: API key, scope shops:read

Parameter In Type Required Description
id path string yes
Status Body
200 ShopConnection
401 Problem
403 Problem
404 Problem

DELETE /v1/shop-connections/{id}

Delete a shop connection and its webhook log. Orders and licenses it created stay. Records shop_connection.deleted.

Authentication: API key, scope shops:write

Parameter In Type Required Description
id path string yes
Status Body
200 ShopConnection
401 Problem
403 Problem
404 Problem

PATCH /v1/shop-connections/{id}

Change a shop connection: name, shop, secret, product mappings, email, or disable it. Records shop_connection.updated with the names of the changed fields.

Authentication: API key, scope shops:write

Parameter In Type Required Description
id path string yes

Request body: ShopConnectionPatch

Status Body
200 ShopConnection
400 Problem
401 Problem
403 Problem
404 Problem

POST /v1/shop-webhooks/{connection_id}

Receive a webhook from a connected shop.

Called by the shop, not by you: no API key, the shop's signature authenticates it. A delivery counts once; an order is created once per order number of the shop.

Authentication: none (open endpoint)

Parameter In Type Required Description
connection_id path string yes
Status Body
200 ShopWebhookReceipt
202 ShopWebhookReceipt
400 Problem
401 Problem
404 Problem
422 Problem
503 Problem

GET /v1/sso

The team's SSO connection.

Authentication: API key, scope sso:read; or dashboard session

Status Body
200 SsoConnection
401 Problem
403 Problem
404 Problem
503 Problem

PUT /v1/sso

Create or replace the team's SSO connection. Owners only, signed in with a passkey; API keys get 403 owner_required. A new provider drops the identities linked through the old one.

For OIDC the issuer's discovery document must load; for SAML nothing is fetched. Enforcing needs one successful sign-in with this provider; while enforced, protocol, issuer, client, sign-on URL and certificate cannot change.

Authentication: API key, scope sso:write; or dashboard session

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: PutSsoConnection

Status Body
200 SsoConnection
201 SsoConnection
400 Problem
401 Problem
403 Problem
409 Problem
422 Problem
503 Problem

DELETE /v1/sso

Delete the team's SSO connection. Sessions opened with it end; members sign in with their passkey again. Owners only, signed in with a passkey.

Authentication: API key, scope sso:write; or dashboard session

Parameter In Type Required Description
Idempotency-Key header string or null no
Status Body
204 none
401 Problem
403 Problem
404 Problem

POST /v1/sso/verify-domains

Check the DNS proofs of the connection's email domains.

For each pending domain, looks up the TXT record domains[].record names and marks the domain verified once it holds the token. Only verified domains admit people at SSO sign-in and SCIM. Domains without the record stay pending; the answer is the connection either way. Owners only, like the connection itself. Records sso_connection.domain_verified.

Authentication: API key, scope sso:write; or dashboard session

Parameter In Type Required Description
Idempotency-Key header string or null no
Status Body
200 SsoConnection
401 Problem
403 Problem
404 Problem
503 Problem

GET /v1/storefront

Get the shop of this environment.

Authentication: API key, scope payments:read

Status Body
200 Storefront
401 Problem
403 Problem

PATCH /v1/storefront

Change the shop of this environment. A slug another vendor uses is refused (409 slug_taken), as are reserved ones (422 slug_reserved); switching on needs a slug (422 slug_required), and every button must be one of this environment (422 unknown_buy_button). Records storefront.updated with the names of the changed fields.

Authentication: API key, scope payments:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: UpdateStorefront

Status Body
200 Storefront
400 Problem
401 Problem
403 Problem
409 Problem
422 Problem

GET /v1/storefront/vault/{team_id}

Read a vendor's key vault button for its embed script: who the vendor is and on which hosts the button may be framed. Not found while the vendor allows no host. No credentials.

Authentication: none (open endpoint)

Parameter In Type Required Description
team_id path string yes
environment query LoginEnvironment no test for the test environment; live by default.
Status Body
200 PublicVault
404 Problem

GET /v1/storefront/{slug}

Read a vendor's shop by its slug. Only a shop that is switched on, only its active buy buttons. No credentials.

Authentication: none (open endpoint)

Parameter In Type Required Description
slug path string yes
environment query LoginEnvironment no test for the test environment; live by default.
Status Body
200 PublicStorefront
404 Problem

GET /v1/teams

Teams of the signed-in user. Send a team's ID as Team-Id to act in it.

Authentication: dashboard session

Status Body
200 array of Team
401 Problem

POST /v1/teams

Create a team. The signed-in user becomes its owner.

Creating a team concludes the terms and the DPA: send the versions the user accepted. Records team.created and team.agreements_accepted. 422 agreements_required without them, 409 agreements_outdated if they are not the current ones (reload the terms and ask again).

Authentication: dashboard session

Request body: CreateTeam

Status Body
201 Team
400 Problem
401 Problem
409 Problem
422 Problem

GET /v1/usage-packs

List the packs of quota units of this environment, newest first.

Authentication: API key, scope payments:read

Parameter In Type Required Description
plan_id query string no Only packs of this plan.
archived query boolean no Also archived packs.
Status Body
200 UsagePackList
401 Problem
403 Problem

POST /v1/usage-packs

Offer a pack of quota units to the licenses of a plan.

The plan's entitlement must have an integer value, its quota. Buyers get the pack through POST /v1/licenses/{id}/usage/checkout. Records usage_pack.created.

Authentication: API key, scope payments:write

Parameter In Type Required Description
Idempotency-Key header string or null no

Request body: CreateUsagePack

Status Body
201 UsagePack
400 Problem
401 Problem
403 Problem
409 Problem
422 Problem

GET /v1/usage-packs/{id}

Get one pack of quota units.

Authentication: API key, scope payments:read

Parameter In Type Required Description
id path string yes
Status Body
200 UsagePack
401 Problem
403 Problem
404 Problem

PATCH /v1/usage-packs/{id}

Change a pack. Open checkouts keep what they sold. Records usage_pack.updated.

Authentication: API key, scope payments:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: UpdateUsagePack

Status Body
200 UsagePack
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem
422 Problem

POST /v1/usage-packs/{id}/archive

Archive a pack: it can no longer be bought, open checkouts for it can still be paid. Records usage_pack.archived.

Authentication: API key, scope payments:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no
Status Body
200 UsagePack
401 Problem
403 Problem
404 Problem

GET /v1/webhook-deliveries

List deliveries of the environment, newest first. Deliveries are kept for 30 days after they ended.

Authentication: API key, scope webhooks:read

Parameter In Type Required Description
endpoint_id query string no
event_id query string no
state query WebhookDeliveryState no
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 Page_WebhookDelivery
400 Problem
401 Problem
403 Problem

GET /v1/webhook-deliveries/{id}

Get a delivery with its attempts.

Authentication: API key, scope webhooks:read

Parameter In Type Required Description
id path string yes
Status Body
200 WebhookDelivery
401 Problem
403 Problem
404 Problem

POST /v1/webhook-deliveries/{id}/retry

Send a delivery again, now.

A delivery that succeeded or failed gets one more attempt; a pending one is sent now instead of at its scheduled time. The event and its ID stay the same, so a receiver that remembers IDs skips a repeat. Records webhook_delivery.retried.

Authentication: API key, scope webhooks:write

Parameter In Type Required Description
id path string yes
Status Body
202 WebhookDelivery
401 Problem
403 Problem
404 Problem

GET /v1/webhook-endpoints

List the environment's endpoints, newest first.

Authentication: API key, scope webhooks:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
Status Body
200 Page_WebhookEndpoint
400 Problem
401 Problem
403 Problem

POST /v1/webhook-endpoints

Add an endpoint.

The URL must use https and resolve only to public addresses; private, local and reserved networks are refused (422 target_not_allowed), now and on every delivery. At most 20 endpoints per environment. The answer holds the signing secret, the only time it is shown. Records webhook_endpoint.created.

Authentication: API key, scope webhooks:write

Request body: NewWebhookEndpoint

Status Body
201 WebhookEndpointWithSecret
400 Problem
401 Problem
403 Problem
409 Problem
422 Problem

GET /v1/webhook-endpoints/{id}

Get an endpoint.

Authentication: API key, scope webhooks:read

Parameter In Type Required Description
id path string yes
Status Body
200 WebhookEndpoint
401 Problem
403 Problem
404 Problem

DELETE /v1/webhook-endpoints/{id}

Delete an endpoint with its deliveries; answers with the endpoint as it was. Records webhook_endpoint.deleted.

Authentication: API key, scope webhooks:write

Parameter In Type Required Description
id path string yes
Status Body
200 WebhookEndpoint
401 Problem
403 Problem
404 Problem

PATCH /v1/webhook-endpoints/{id}

Change an endpoint: URL, description, event types, or enable and disable it. Records webhook_endpoint.updated with what changed.

Authentication: API key, scope webhooks:write

Parameter In Type Required Description
id path string yes

Request body: WebhookEndpointPatch

Status Body
200 WebhookEndpoint
400 Problem
401 Problem
403 Problem
404 Problem
422 Problem

POST /v1/webhook-endpoints/{id}/rotate-secret

Replace an endpoint's secret.

Not for the format discord (409 not_signed). The answer holds the new secret, the only time it is shown. For 24 hours every delivery is signed with the previous and the new secret, so the receiver can switch at any time in between. Records webhook_endpoint.secret_rotated.

Authentication: API key, scope webhooks:write

Parameter In Type Required Description
id path string yes
Status Body
200 WebhookEndpointWithSecret
401 Problem
403 Problem
404 Problem
409 Problem

GET /v1/withdrawals

List withdrawal declarations, newest first.

Authentication: API key, scope orders:read

Parameter In Type Required Description
limit query integer no Page size, 1 to 100, default 20.
cursor query string no next_cursor of the previous page.
status query WithdrawalStatus no
Status Body
200 Page_Withdrawal
400 Problem
401 Problem
403 Problem

GET /v1/withdrawals/{id}

Get one withdrawal declaration.

Authentication: API key, scope orders:read

Parameter In Type Required Description
id path string yes
Status Body
200 Withdrawal
401 Problem
403 Problem
404 Problem

POST /v1/withdrawals/{id}/resolve

Mark an open declaration as handled, with a note. Refund the order yourself first if the right of withdrawal existed, such as with POST /v1/payments/{id}/refund; the refund revokes its licenses.

Authentication: API key, scope orders:write

Parameter In Type Required Description
id path string yes
Idempotency-Key header string or null no

Request body: ResolveWithdrawal

Status Body
200 Withdrawal
400 Problem
401 Problem
403 Problem
404 Problem
409 Problem

Objects

AcceptInvitation

Field Type Required Description
token string yes The token from the invitation link.

Acceptance

One acceptance.

Field Type Required Description
accepted_at string yes
accepted_by string or null no Member who accepted; null once they left the team.
version string yes Version key: the first 12 hex characters of SHA-256 over the contract text.

AccountEmailAccepted

The request was taken. If it applies, an email is on its way; the answer is the same either way.

Field Type Required Description
expires_in_s integer yes How long the link in the email stays valid.

AccountPasswordChange

Field Type Required Description
current_password string yes
new_password string yes 10 to 128 characters.

AccountRegister

Field Type Required Description
email string yes
environment any no
locale any no
password string yes 10 to 128 characters.
team_id string yes The vendor's team.

AccountResetConfirm

Field Type Required Description
code string or null no The current code from the authenticator app, if the account has TOTP on: the link alone proves only the mailbox.
password string yes 10 to 128 characters.
token string yes The token from the link (the part after #).

AccountResetRequest

Field Type Required Description
email string yes
environment any no
locale any no
team_id string yes

AccountSignIn

Field Type Required Description
code string or null no The current code of the authenticator app, if TOTP is on.
email string yes
environment any no
password string yes
team_id string yes

AccountToken

Field Type Required Description
token string yes The token from the link (the part after #).

AccountTotpCode

Field Type Required Description
code string yes Six digits from the authenticator app.

AccountTotpRemove

Field Type Required Description
code string yes Six digits from the authenticator app.
password string yes

AccountTotpSetup

A new TOTP secret for an authenticator app.

Field Type Required Description
secret string yes Base32, for entering by hand.
uri string yes otpauth:// URI, for a QR code.

ActionParam

One parameter of an action.

Field Type Required Description
enum array or null no The only values a string may have, 1 to 20.
max_length integer or null no Characters of a string at most, 1 to 200 (default 200).
maximum integer or null no Largest value of an integer.
minimum integer or null no Smallest value of an integer.
required boolean no Every action must carry it.
type ParamType yes

ActionSender

Who sent an action.

Values: vendor, customer

ActionStatus

Where an action is.

Values: pending, delivered, cancelled, expired

Activation

A device bound to a license, or once bound.

Field Type Required Description
app_version string or null no
deactivated_at string or null no Set when the activation ended, by reset or deactivation.
device_features array of string yes Feature IDs of a hwid device. The server holds only keyed digests, never the measured values.
device_kind DeviceKind yes
device_name string or null no
environment EnvironmentName yes
first_seen_at string yes RFC 3339, UTC.
id string yes
last_seen_at string yes
license_id string yes
platform string or null no

Activations

Devices of a license with its limit and reset quota.

Field Type Required Description
data array of Activation yes
device_limit integer yes Devices this license may bind: its own limit or the plan's.
devices_bound integer yes Devices bound now.
reset_quota ResetQuota yes

ActorKind

Kind of actor.

Values: member, api_key, customer, oauth, system, automation

AddCustomDomain

A host name to claim.

Field Type Required Description
hostname string yes For example portal.example.com. Lower case, no scheme, port or path.
purpose string yes portal or client_api.

AddReleaseKey

A key to add.

Field Type Required Description
name string yes 1 to 100 characters, for example where the private key lives.
public_key string yes Ed25519 public key as PASERK k4.public (or the 32 bytes in base64url).

AddUserTokenKey

A key to add.

Field Type Required Description
name string yes 1 to 100 characters, for example where the private key lives.
public_key string yes Ed25519 public key as PASERK k4.public (or the 32 bytes in base64url).

AgentApproval

A change in live that waits for, or got, a member's answer.

Field Type Required Description
body object yes The request body as the agent sent it.
client_name string yes
connection_id string yes The connection that asked (/v1/connections).
created_at string yes RFC 3339, UTC.
decided_at string or null no RFC 3339, UTC.
decided_by string or null no The member who confirmed or rejected it.
environment EnvironmentName yes
expires_at string yes RFC 3339, UTC: unanswered by then, the approval expires.
id string yes
method string yes
operation string yes Operation of the connector, such as create_plan.
path string yes Management API path the change runs on once confirmed.
response_body object or null no Answer of the Management API once it ran.
response_status integer or null no HTTP status of the change once it ran.
status ApprovalStatus yes

AgentApprovalList

Field Type Required Description
data array of AgentApproval yes

Agreements

The terms and the DPA the team accepted, and the current versions.

Field Type Required Description
current_dpa_version string yes
current_terms_version string yes
dpa any no
terms any no

Analytics

The vendor's figures in this environment.

Field Type Required Description
active_device_days integer yes Devices count as in use when seen within this many days.
channels array of AnalyticsShare yes Active licenses per release channel, most first.
days integer yes
per_day array of AnalyticsDay yes Every day of the period, oldest first.
platforms array of AnalyticsShare yes Devices in use per platform, most first.
product_id string or null no
totals AnalyticsTotals yes
versions array of AnalyticsShare yes Devices in use per app version, most first.

AnalyticsDay

One day (UTC).

Field Type Required Description
activations integer yes Devices bound (activation.created).
created integer yes New licenses (license.created).
date string yes
ended integer yes Licenses whose end fell on the day.
redeemed integer yes First use of a key (license.activated).
revoked integer yes Revoked licenses (license.revoked).

AnalyticsShare

A value and how many count it.

Field Type Required Description
count integer yes
value string or null no Version, platform or channel; null if the device sent none, other for the versions beyond the first 19.

AnalyticsTotals

The state now.

Field Type Required Description
active_devices integer yes Bound devices seen within active_device_days.
active_licenses integer yes Licenses in the state active.
bound_devices integer yes Bound devices, seen or not.
ending_soon integer yes Active licenses that end within the next 30 days.
licenses integer yes Licenses that are not revoked.

AnnounceAsset

An asset about to be uploaded.

Field Type Required Description
default boolean no Makes this the default of its group; needs group.
description object no By language (en, de), up to 500 characters each.
encryption any no
entitlement string or null no Entitlement code, required exactly for entitled.
filename string yes File name devices store the file under, 1 to 200 characters.
group string or null no Same rules as name.
module_token string or null no Makes the asset a WebAssembly module (#653, protocol section 6.18): the module token you signed for this file with your release key (release-tool sign-module). It must verify with one of the product's release keys and name this product, environment, size and SHA-256. Needs the product setting modules; never with encryption.
name string yes 1 to 100 of a-z, 0-9, ., _, -, starting with a letter or digit. Unique in the product; give new content a new name.
sha256 string yes 64 hex characters.
size_bytes integer yes 1 byte to 5 GiB.
title object no By language (en, de), up to 100 characters each.
visibility AssetVisibility yes

AnnounceDebugSymbols

A symbol file about to be uploaded.

Field Type Required Description
arch string or null no
debug_id string yes Breakpad debug ID from the file's MODULE line; dashes and case do not matter.
module string yes Module name from the MODULE line, 1 to 256 characters.
os string or null no Up to 32 characters each, as in the MODULE line.
sha256 string yes 64 hex characters.
size_bytes integer yes 1 byte to 512 MiB.

AnnounceFile

Field Type Required Description
encryption any no
filename string yes Name the file is downloaded as, up to 200 characters, without /, \, " or control characters.
platform string yes One of the release's platforms.
sha256 string yes SHA-256 of the file, 64 hex characters. For an encrypted file, size and checksum are those of the encrypted file.
size_bytes integer yes 1 byte to 5 GiB.

Answer

Where to send the browser after the answer.

Field Type Required Description
redirect_to string yes

ApiKey

An API key. The secret is never returned after creation.

Field Type Required Description
created_at string yes
environment EnvironmentName yes
expires_at string or null no RFC 3339, UTC.
hint string yes Last four characters of the secret.
id string yes
last_used_at string or null no
name string yes
oidc_trust_id string or null no The OIDC trust that issued the key for a CI job, which then expires after 15 minutes.
product_id string or null no The product the key is bound to, or null for a key of the whole environment. A bound key reaches only this product.
revoked_at string or null no
scopes array of string yes

AppVersion

Devices on one app version.

Field Type Required Description
app_version string or null no As the app reported it; null for devices that have not reported one yet.
devices integer yes
release_ids array of string yes Releases of the product with this version, in any channel.

AppVersions

Field Type Required Description
data array of AppVersion yes

ApprovalStatus

State of an approval.

Values: pending, approved, rejected, expired

ApproveDeviceCode

The license to confirm a code for: exactly one of both.

Field Type Required Description
license_id string or null no A license of the code's product, for example one the customer picked.
license_key string or null no Or the license key the customer entered.

ApproveRequest

The vendor's answer: allow for the team in Team-Id.

Field Type Required Description
live LiveAccess yes
test TestAccess yes

Asset

A file of a product outside its releases.

Field Type Required Description
created_at string yes RFC 3339, UTC.
default boolean yes The asset of its group to take when the user chose none.
description object yes
encrypted boolean yes Whether the asset is encrypted (encryption when announced). Devices get its content key wrapped for them with each download.
entitlement string or null no Entitlement code, exactly when visibility is entitled.
filename string yes File name devices store the file under.
group string or null no Group the user chooses one asset of, such as voice.
id string yes
module any no
name string yes Fixed for the life of the asset.
product_id string yes
ready_at string or null no
sha256 string yes SHA-256, hex. For an encrypted asset, size and checksum are those of the encrypted file.
size_bytes integer yes
source_sha256 string or null no For an encrypted asset: SHA-256 of the file before encryption, if given when announced (lower-case hex). release-tool asset finds the asset again by it.
status string yes pending until complete, then ready.
title object yes By language: en, de.
updated_at string yes
upload any no
visibility AssetVisibility yes

AssetModule

The module an asset carries, as its module token names it.

Field Type Required Description
name string yes Name the app loads the module by.
token string yes The module token as announced.
version string yes

AssetVisibility

Who may see an asset.

Values: public, entitled, unlisted

Automation

A rule that runs on events of this environment.

Field Type Required Description
actions array of RuleAction yes Carried out in order.
conditions array of Condition yes All must hold.
created_at string yes RFC 3339, UTC.
enabled boolean yes
environment EnvironmentName yes
id string yes
name string yes
threshold any no
trigger string yes Event type that starts the rule, such as order.charged_back.
updated_at string yes RFC 3339, UTC.

AutomationList

Field Type Required Description
data array of Automation yes

AutomationRun

What a rule did, or would do, for one event.

Field Type Required Description
attempts integer yes
automation_id string yes
completed_at string or null no RFC 3339, UTC; null while pending.
created_at string yes RFC 3339, UTC.
detail object yes reason (ran, conditions_not_met, below_threshold, no_license, disabled, rate_limited, error, ...) and, once the rule ran, actions with an outcome per license: done, already, not_applicable, not_found or no_license.
event_id string yes
id string yes
state RunState yes

AutomationRunList

Field Type Required Description
data array of AutomationRun yes

AutomationTemplate

A rule to start from.

Field Type Required Description
actions array of RuleAction yes
conditions array of Condition yes
description string yes
key string yes
name string yes
threshold any no
trigger string yes

AutomationTemplateList

Field Type Required Description
data array of AutomationTemplate yes

AutomationTest

Result of a dry run. Nothing was changed.

Field Type Required Description
detail object yes As for a run; outcomes are would_run instead of done.
event_id string yes
state RunState yes succeeded when the rule would run, skipped when not.

BillingBlockReason

Why billing blocked the team.

Values: unpaid, charged_back

BillingCharge

A charge for a term.

Field Type Required Description
amount integer yes Minor units.
attempt integer yes 1 is 4 days before the end, 2 two days after a failed 1, further ones follow a retry.
created_at string yes
currency string yes
id string yes
settled_at string or null no
state BillingChargeState yes
term_end string yes End of the term this charge renews.
usage_amount integer yes Of amount: usage above the file allowance of finished months (GET /v1/plan, files).

BillingChargeState

State of a charge.

Values: pending, processing, paid, failed, charged_back

BillingMethod

How the team pays.

Values: card, sepa_debit

BillingNotice

An email about billing to the team's owners and admins, kept as proof.

Field Type Required Description
attempt integer yes The charge attempt of a charge_failed, 0 otherwise.
kind string yes pre_notification, charge_failed, final_warning, blocked or unblocked.
recipients integer yes How many owners and admins received it.
sent_at string yes
term_end string yes

BillingNotificationReceipt

What came of a notification.

Field Type Required Description
outcome string yes applied or ignored.

BillingOverview

What the team pays Noctix, and where it stands.

Field Type Required Description
amount integer yes Per term, in minor units.
block_reason any no
blocked_at string or null no
blocks_at string yes When licensing and selling stop if the term stays unpaid.
charges array of BillingCharge yes The latest 20 charges, newest first.
currency string yes
ended_at string or null no When the billing ended (status ended); nothing is charged after term_end.
method BillingMethod yes
next_charge_at string yes When the next term is charged: 4 days before the end (for SEPA no earlier than 14 days after the pre-notification).
notices array of BillingNotice yes The latest 50 notices, newest first.
retry_requested_at string or null no The vendor asked to charge again; the next round does it.
status BillingStatus yes
term_days integer yes
term_end string yes End of the paid term.
usage_amount integer yes Usage above the file allowance the next charge adds to amount: months that ended at least 18 days before the end of the term, each at most the cap. Charged in euros only.

BillingStatus

Where the team stands.

Values: active, payment_due, payment_failed, blocked, ended

BlocklistEntry

Field Type Required Description
created_at string yes RFC 3339, UTC.
environment EnvironmentName yes
expires_at string or null no RFC 3339, UTC. After this the entry no longer applies.
id string yes
kind BlocklistKind yes
list BlocklistList yes
note string or null no
product_id string or null no null: every product of the team.
value string yes Canonical form: a network with prefix length, an upper-case country code, or an ID.

BlocklistKind

What an entry matches.

Values: ip, country, license, activation, customer

BlocklistList

Block or allow.

Values: block, allow

BuyButton

A buy button: one plan at one price on one payment account.

Field Type Required Description
account_id string yes The payment account buyers pay to.
active boolean yes An inactive button sells nothing; the checkout window says so.
allowed_domains array of string yes Hosts the button may be embedded on; *. covers all subdomains. Empty: only the direct checkout link works.
created_at string yes RFC 3339, UTC.
currency string yes ISO 4217, lower case.
environment EnvironmentName yes
id string yes
label string yes Text on the button.
plan_id string yes
unit_amount integer yes Price of one license in the currency's minor unit (cents).
updated_at string yes RFC 3339, UTC.

BuyButtonList

The buy buttons of one environment, oldest first.

Field Type Required Description
data array of BuyButton yes

BuyCoupon

What a coupon takes off the button's price (#74). The checkout shows the total before the order button.

Field Type Required Description
code string yes The code, upper case.
currency string yes ISO 4217, lowercase.
discount integer yes What the coupon takes off.
total integer yes What the buyer pays; for a subscription, every payment.
unit_amount integer yes The price before the discount, in minor units.

BuyCouponCode

A coupon code to check before ordering.

Field Type Required Description
code string yes

BuyEmbedding

Where the checkout shows the provider's payment fields (#591).

Values: page, frame

BuyLegalTexts

The vendor's texts for the checkout's own pages (#380).

Field Type Required Description
terms_text string or null no
withdrawal_de string or null no
withdrawal_en string or null no

BuyPaymentForm

The provider's payment fields for the checkout (#591). The checkout loads the provider's script and confirms the payment with its order button.

Field Type Required Description
account string yes The vendor's account at the provider.
client_secret string yes Lets this browser pay this checkout only.
payment_methods array of PaymentMethod yes The ways to pay the fields offer.
provider string yes Whose script to load, such as stripe.
publishable_key string yes The platform's publishable key at the provider.

BuyReceipt

The result of a checkout from a buy button.

Field Type Required Description
checkout_id string yes
email string or null no Where the keys were mailed.
licenses array of ReceiptLicense yes Once completed.
status ReceiptStatus yes

BuyStyle

The style the checkout window and the buy button apply.

Field Type Required Description
css string or null no The vendor's own CSS (#467) in the canonical form the server wrote, every selector under .nx-vendor-css; null without.
dark Palette yes
density Density yes
font Font yes
light Palette yes
radius integer or null no Corner radius of button and fields in px; null: the token.
scheme Scheme yes

CancelVendor

The vendor of a cancellation page.

Field Type Required Description
branding PortalBranding yes
environment EnvironmentName yes
legal_name string or null no The seller's legal name from the legal details, if given.
team_id string yes

Cancellation

A cancellation declaration, as the vendor sees it.

Field Type Required Description
confirm_email string yes Where the confirmation went.
contract string or null no Order number or license key as entered.
customer_id string or null no
email string yes The address the buyer bought with.
ends_at string or null no When the contract ends, once known. RFC 3339, UTC.
environment EnvironmentName yes
id string yes
kind CancellationKind yes
locale Locale yes
name string yes
note string or null no The vendor's note when resolving.
open_reason any no
order_id string or null no The order it matched.
reason string or null no For an extraordinary cancellation.
received_at string yes When the declaration arrived. RFC 3339, UTC.
refund any no
requested_for string or null no The wished date, YYYY-MM-DD; null for the earliest possible.
resolved_at string or null no RFC 3339, UTC.
status CancellationStatus yes

CancellationKind

Ordinary or extraordinary (for cause) cancellation.

Values: ordinary, extraordinary

CancellationReceipt

The receipt of a declaration: its content and the time it arrived, to keep and print.

Field Type Required Description
confirm_email string yes
contract string or null no
email string yes
ends_at string or null no The end of the contract, if known. RFC 3339, UTC.
id string yes
kind CancellationKind yes
name string yes
reason string or null no
received_at string yes RFC 3339, UTC.
refund any no
requested_for string or null no
status CancellationStatus yes canceled: the subscription ends at ends_at. open: the vendor handles the declaration and confirms the end.
vendor string yes The vendor's name.

CancellationRefund

An amount given back, in the currency's minor unit.

Field Type Required Description
amount integer yes
currency string yes ISO 4217, lowercase.

CancellationStatus

What happened to a declaration.

Values: canceled, open, resolved

Ceremony

A WebAuthn ceremony in progress.

Field Type Required Description
challenge_id string yes Send back with the finish request. Valid for five minutes, once.
options object yes Options for navigator.credentials.create() or .get(), as JSON (binary fields base64url).

ChangeMember

Field Type Required Description
role Role yes

ChangePlan

Field Type Required Description
plan_id string yes A plan of the same product, not archived.

ChangeResellerQuota

Field Type Required Description
change integer yes Units to grant (positive) or withdraw (negative), up to 1000000 at a time. A quota holds 0 to 1000000 units.
member_id string yes A member of this team with the role reseller.
plan_id string yes A plan of this environment. Granting needs a plan that is not archived; withdrawing works for any.

Changelog

Field Type Required Description
branding PortalBranding yes Name, logo and colors of the vendor, as in the portal.
channel string yes
channels array of string yes The channels that can be asked for: stable and the channels the vendor made selectable for customers, most stable first.
data array of ChangelogEntry yes Newest version first.
next_before string or null no Pass as before for older versions; null on the last page.
product_id string yes
product_name string yes

ChangelogEntry

One published release with its public notes.

Field Type Required Description
channel string yes
notes string or null no The notes in the language asked for, else English, else any; null if the release has none.
notes_locale string or null no Language of notes.
platforms array of string yes windows, macos, linux, ios, android.
published_at string or null no RFC 3339, UTC.
version string yes SemVer.

ChannelSource

Where a license's channel comes from.

Values: license, entitlement, plan, default

Checkout

A purchase opened at the provider. The buyer pays at url, in the provider's own payment form.

Field Type Required Description
account_id string yes
ads_notice any no
amount integer yes Total in the currency's minor unit.
confirmation any no
consent any no
coupon_id string or null no The coupon the buyer redeemed (#74).
created_at string yes RFC 3339, UTC.
currency string yes
customer_id string or null no
discount integer yes What the coupon took off, in minor units; amount is after it.
environment EnvironmentName yes
expires_at string or null no RFC 3339, UTC.
external_id string or null no The checkout's ID at the provider.
id string yes
interval_days integer or null no Days between payments of a subscription; null for a one-time payment.
items array of CheckoutItem yes
order_id string or null no The order the payment created.
payments array of Payment yes Payments of this checkout, oldest first.
platform_fee integer yes Kept by the platform through the provider, in minor units.
status CheckoutStatus yes
subscription string or null no The subscription's ID at the provider, once paid.
top_up any no
updated_at string yes RFC 3339, UTC.
url string or null no Where the buyer pays.

CheckoutAdsNotice

When and which notice on advertising to existing customers the buyer saw (#694; docs/legal.md, section 8a).

Field Type Required Description
at string yes RFC 3339, UTC.
version string yes The notice's version, such as existing-customer-ads-1.

CheckoutConfirmation

The confirmation email of a purchase.

Field Type Required Description
mail_id string yes
sent_at string or null no RFC 3339, UTC.
status MailStatus yes

CheckoutConsent

When and to which text the buyer consented to immediate provision (docs/legal-checkout.md, section 4).

Field Type Required Description
at string yes RFC 3339, UTC.
locale string or null no en or de, with version.
version string or null no The text's version, such as digital-content-1; null for checkouts from before it was kept.

CheckoutItem

One line of a checkout: a plan, how many licenses, and the price of one.

Field Type Required Description
plan_id string yes Plan in this environment, not archived.
quantity integer yes 1 to 10000; all items together at most 10000.
unit_amount integer yes Price of one license in the currency's minor unit (cents), 0 to 100000000.

CheckoutStatus

Values: open, completed

CheckoutStyle

The style of this environment.

Field Type Required Description
custom_css string or null no The vendor's own CSS as written (#467). Only shaping: classes from a fixed list, properties such as border-radius, padding, font-size or letter-spacing within bounds; no colors, no functions, no at-rules. "Secured by" and the mandatory elements of the checkout cannot be selected.
dark StyleColors yes
density Density yes
font Font yes
light StyleColors yes
radius integer or null no Corner radius of button and fields in px, 0 to 24; null: the token.
resolved BuyStyle yes What the window shows, with the branding's accent color where primary is empty.
scheme Scheme yes

CheckoutTopUp

What a checkout for a pack of quota units sells (#611).

Field Type Required Description
entitlement string yes Entitlement code of the quota.
license_id string yes
pack_id string yes
quantity integer yes Packs bought.
units integer yes Units per pack, as sold.

Commit

One commit that went into a release.

Field Type Required Description
author string or null no Name of the author, up to 200 characters.
committed_at string or null no RFC 3339, UTC.
message string yes Commit message, up to 1000 characters.
sha string yes Commit hash, 7 to 64 hex digits.
url string or null no Link to the commit in your code host, https:// only.

Condition

A condition on the event. All conditions of a rule must hold.

Field Type Required Description
field string yes type, subject_id, actor.kind, actor.id or data.<path> with dot-separated keys, such as data.reason.
op Op yes
value object or null no The value to compare with. Not used by exists and not_exists; an array for in; a number for gt, gte, lt and lte.

ConfigKey

A key of a product's remote config in this environment.

Field Type Required Description
created_at string yes RFC 3339, UTC.
description string or null no
environment EnvironmentName yes
id string yes
key string yes Lower case letters, digits and _, starting with a letter, at most 64 characters. Fixed at creation.
max_length integer or null no Longest string in characters; null for other types.
maximum number or null no Largest allowed value of an integer or number key.
minimum number or null no Smallest allowed value of an integer or number key.
product_id string yes
type ConfigKeyType yes Fixed at creation.
updated_at string yes RFC 3339, UTC.

ConfigKeyType

Type of a key's values.

Values: boolean, integer, number, string

ConfigScope

What a value applies to. For one license, the most specific value wins: license, then plan, then entitlement, then product.

Values: product, entitlement, plan, license

ConfigValue

A value of a key for the product, a plan, an entitlement or a license.

Field Type Required Description
created_at string yes RFC 3339, UTC.
environment EnvironmentName yes
id string yes
key string yes
product_id string yes
scope ConfigScope yes
target_id string or null no Plan, entitlement or license ID; null for product.
updated_at string yes RFC 3339, UTC.
value any yes Boolean, number or string, as the key's type says.

Confirmed

When the session was confirmed.

Field Type Required Description
confirmed_at string yes RFC 3339, UTC. Sensitive steps accept it for five minutes.
valid_until string yes

Connection

A client connected to the team.

Field Type Required Description
client_name string yes
created_at string yes
id string yes
last_used_at string or null no
live_changes boolean yes Changes in live, each once a member confirms it.
live_scopes array of string yes
member_id string yes The member who allowed it. Their role still limits every call.
revoked_at string or null no
test_scopes array of string yes

ConnectionStarted

A connection in progress: send the vendor to redirect_url.

Field Type Required Description
account PaymentAccount yes
redirect_url string yes The provider's page where the vendor approves the connection. It returns to return_url with state and code.

Coupon

A coupon code for the checkout.

Field Type Required Description
amount_off integer or null no In minor units of currency; null for a percentage.
archived_at string or null no RFC 3339, UTC.
code string yes What the buyer enters, upper case.
created_at string yes RFC 3339, UTC.
currency string or null no ISO 4217, lowercase, with amount_off.
ends_at string or null no RFC 3339, UTC; null: no end.
environment EnvironmentName yes
id string yes
max_redemptions integer or null no null: no limit.
pending integer yes Open checkouts that hold a redemption until they expire.
percent_off integer or null no 1 to 99; null for an amount off.
plan_ids array of string yes Plans the coupon applies to; empty: every plan.
redeemed integer yes Paid checkouts that used the coupon.
starts_at string or null no RFC 3339, UTC; null: from creation.
status CouponStatus yes Whether a buyer can redeem it now.
updated_at string yes RFC 3339, UTC.

CouponList

The coupons of one environment, newest first.

Field Type Required Description
data array of Coupon yes

CouponStatus

Values: active, scheduled, expired, used_up, archived

CrashFrame

One stack frame, innermost first. A function or an address is required.

Field Type Required Description
address string or null no Instruction address, 0x and hex.
file string or null no Source file, up to 500 characters.
function string or null no Up to 300 characters.
line integer or null no
module string or null no Module or library, up to 300 characters.
module_build_id string or null no Build ID of the module, for debug symbols; letters, digits and -. For symbols the server resolves (#508), the Breakpad debug ID of the module.
module_offset string or null no Offset of the instruction in its module, 0x and hex. With module_build_id, the server resolves the frame with the debug symbols the vendor uploaded.

CrashGroup

Reports with the same kind, exception and top frames.

Field Type Required Description
assignee_id string or null no Member the group is assigned to.
culprit string or null no The top frame.
environment EnvironmentName yes
first_seen_at string yes RFC 3339, UTC.
first_version string yes App version of the first and of the highest report.
id string yes
kind CrashKind yes
last_seen_at string yes
last_version string yes
notes string or null no The team's notes, up to 10,000 characters.
product_id string yes
regressed_at string or null no Last time a report reopened the group after it was resolved.
report_count integer yes Reports received, including those deleted or past their retention.
resolved_at string or null no
resolved_version string or null no Highest version seen when the group was resolved.
status CrashGroupStatus yes
title string yes Exception and top frame, never the text of a message unless the report had nothing else.
updated_at string yes

CrashGroupPatch

Changes to a group. Missing fields stay; null removes assignee or notes.

Field Type Required Description
assignee_id string or null no A member of the team.
notes string or null no Up to 10,000 characters.
status any no

CrashGroupStatus

Where the team stands with a group.

Values: new, in_progress, resolved, ignored

CrashKind

What a crash report is about.

Values: crash, exit, error

CrashReportItem

One report as the SDK sent it. Holds no IP address.

Field Type Required Description
activation_id string yes
app_version string yes
build string or null no
contact string or null no Only for error: how to reach the user, if they gave it.
environment EnvironmentName yes
exception string or null no
expires_at string yes
frames array of CrashFrame yes
group_id string yes
id string yes
kind CrashKind yes
license_id string yes
log array of string yes
message string or null no
occurred_at string yes RFC 3339, UTC: on the device, on the server, and when it is deleted.
platform Platform yes
product_id string yes
received_at string yes
steps string or null no Only for error: what the user did before.

CrashStats

Crash numbers of a product per version, highest version first.

Field Type Required Description
days integer yes
product_id string yes
versions array of CrashStatsVersion yes

CrashStatsDay

Devices and crashes of one version on one day.

Field Type Required Description
crashes integer yes Crashes and unexpected exits that day, without reports the user wrote.
day string yes YYYY-MM-DD, UTC.
devices integer yes Devices seen that day with the version.

CrashStatsVersion

Numbers of one version over the requested days.

Field Type Required Description
crash_rate number or null no Crashes per 1,000 device-days; null without devices.
crashes integer yes
days array of CrashStatsDay yes Oldest day first.
device_days integer yes Sum of devices over the days.
peak_devices integer yes Most devices on one day.
previous_crash_rate number or null no
previous_version string or null no The next lower version with numbers, and its rate.
version string yes

CreateApiKey

Field Type Required Description
expires_at string or null no Optional expiry, RFC 3339 UTC with seconds (2027-01-31T00:00:00Z).
name string yes 1 to 100 characters.
product_id string or null no Binds the key to one product of the team, for a CI pipeline: it then reaches only that product's releases. A bound key may only carry releases:read, releases:write, products:read, symbols:write and assets:write.
scopes array of string yes At least one; at most the scopes of the calling key.

CreateAutomation

Field Type Required Description
actions array of RuleAction yes 1 to 5.
conditions array of Condition no Up to 10.
enabled boolean or null no Default true.
name string yes 1 to 100 characters.
threshold any no
trigger string yes An event type of this environment, such as order.charged_back or activation.reset. Events that rules cause start no rules.

CreateBlocklistEntry

Field Type Required Description
expires_at string or null no RFC 3339, in the future. Leave out for an entry without end.
kind BlocklistKind yes
list any no
note string or null no Why, for your team. 1 to 500 characters.
product_id string or null no Only this product. Leave out for every product of the team.
value string yes The address, network, country code or ID to match.

CreateBuyButton

Field Type Required Description
account_id string yes A payment account of this environment. It must be connected when a buyer starts a checkout.
active boolean or null no Default true.
allowed_domains array of string no Up to 20 hosts such as kestrel.example or *.kestrel.example, with an optional port. Default: none, only the direct link.
currency string yes ISO 4217, such as eur.
label string yes 1 to 60 characters. Start with a verb and name the product.
plan_id string yes Plan in this environment, not archived. A subscription plan needs a duration: it is the period of each payment.
unit_amount integer yes Price of one license in the currency's minor unit, 0 to 100000000.

CreateCheckout

Field Type Required Description
account_id string yes A connected payment account of this environment.
cancel_url string yes https URL the buyer returns to without paying.
currency string yes ISO 4217, such as eur.
customer_id string or null no
items array of CheckoutItem yes 1 to 20 items, each plan at most once. A plan with the term model subscription makes the checkout a subscription; it is then the only item.
success_url string yes https URL the buyer returns to after paying.

CreateConfigKey

Field Type Required Description
description string or null no For your team, 1 to 500 characters.
key string yes
max_length integer or null no String keys only, 1 to 4096; default 4096.
maximum number or null no Integer and number keys only.
minimum number or null no Integer and number keys only.
type ConfigKeyType yes

CreateCoupon

Field Type Required Description
amount_off integer or null no In minor units, with currency. It must stay below the price it is redeemed on.
code string yes 3 to 40 letters, digits, - and _, unique in the environment in any case. Stored upper case.
currency string or null no ISO 4217; only buy buttons in this currency take the coupon.
ends_at string or null no RFC 3339, after starts_at and in the future.
max_redemptions integer or null no At least 1.
percent_off integer or null no 1 to 99. Give either this or amount_off.
plan_ids array of string no Up to 100 plans of this environment. Default: every plan.
starts_at string or null no RFC 3339.

CreateCustomer

Field Type Required Description
email string or null no Up to 320 characters.
external_user_id string or null no 1 to 200 characters, unique in this environment.
locale any no
metadata object or null no JSON object, at most 50 keys and 8 KiB.
name string or null no 1 to 200 characters.

CreateDiscordRoleRule

A new rule: exactly one of plan_id and entitlement.

Field Type Required Description
entitlement string or null no Entitlement code; a plan grants it unless its value is false or 0.
plan_id string or null no
role_id string yes

CreateDownloadButton

Field Type Required Description
active boolean or null no Default true.
allowed_domains array of string no Up to 20 hosts such as kestrel.example or *.kestrel.example, with an optional port. Default: none, only the direct link.
buy_button_id string or null no A buy button of this environment for a plan of the same product.
label string yes 1 to 60 characters. Start with a verb and name the product.
product_id string yes Product in this environment.

CreateEntitlement

Field Type Required Description
code string yes a-z first, then up to 63 of a-z 0-9 _. Unique per product and environment; cannot be changed later.
label string yes 1 to 200 characters.
product_id string yes

CreateInvitation

Field Type Required Description
email string yes
role Role yes

CreateLicenses

Field Type Required Description
customer_id string or null no
device_limit integer or null no Devices each license may bind, 1 to 10000. Default: the plan's limit.
metadata object or null no JSON object, at most 50 keys and 8 KiB.
notes string or null no Up to 5000 characters.
order_ref string or null no Order number in your shop, 1 to 200 characters.
plan_id string yes Plan of the new licenses, in this environment, not archived.
quantity integer or null no 1 to 10000, default 1. All licenses get the same fields and are created in one transaction: all or none.
tags array or null no Up to 20, each 1 to 64 of A-Z a-z 0-9 _ - : ..

CreateOidcTrust

Field Type Required Description
ci_environment string or null no Deployment environment of the CI job, such as release.
issuer string or null no Defaults to the public service of the provider. Others only if the operator allows them (GitHub Enterprise, self-managed GitLab).
name string yes 1 to 100 characters.
product_id string yes
provider string yes github or gitlab.
ref_pattern string or null no Full ref, exact or ending in *: refs/tags/v*, refs/heads/main.
repository string yes owner/name on GitHub, the project path on GitLab.
repository_id string or null no Numeric repository or project ID. Recommended; otherwise the ID of the first job that signs in is kept.
scopes array or null no Defaults to ["releases:write"]. Only releases:read, releases:write, products:read, symbols:write and assets:write.

CreateOrder

Field Type Required Description
customer_id string or null no
external_id string yes Your order number, 1 to 200 characters. With source unique in this environment. Also set as order_ref on the licenses.
items array of OrderItem yes 1 to 20 items, each plan at most once.
send_email boolean or null no Email the keys to the customer. Default: license_emails of the mail settings. true needs a customer with an email address.
source string or null no 1 to 40 of a-z 0-9 _ - ., starting with a letter or digit. Default api.

CreatePlan

Field Type Required Description
channel string or null no A channel of the product; default null (stable).
device_binding boolean or null no Default true.
device_limit integer or null no 1 to 10000, default 1.
duration_days integer or null no 1 to 36500. Required except for perpetual and fixed_date.
ends_at string or null no Required for fixed_date, in the future, RFC 3339 UTC with seconds.
entitlements object or null no Codes of entitlements of the product, with their values. At most 256.
grace_days integer or null no 0 to 365, default 0.
idle_release_minutes integer or null no 1 to 43200 makes the plan floating; default null. Never shorter than two heartbeat intervals of the product.
name string yes 1 to 200 characters.
offline_license_days integer or null no 1 to 365 lets the plan issue offline license files of this term; default null (no offline licenses).
offline_tolerance_days integer or null no 0 to 30; default the product's setting.
product_id string yes
reset_rule any no
service_kind any no
session_limit integer or null no 1 to 10000; default no limit.
term_model TermModel yes
Field Type Required Description
locale any no

CreateProduct

Field Type Required Description
heartbeat_interval_s integer or null no 10 to 86400, default 300.
identity_mode any no
license_key_format any no
name string yes 1 to 200 characters.
settings any no

CreateRelease

Field Type Required Description
channel string or null no Default stable. Lower-case letters, digits and -, up to 32.
min_from_version string or null no Lowest app version a device may update from (stepping stone), SemVer below version. Devices below get the newest release they may reach first.
notes object or null no Release notes by language (en, de), up to 20000 characters each.
platforms array or null no Any of windows, macos, linux, ios, android.
product_id string yes
version string yes SemVer, such as 2.4.0 or 2.5.0-beta.1.

CreateRemoteActionType

A new definition.

Field Type Required Description
customer_allowed boolean no
description object no By language (en, de), up to 500 characters each.
name string yes
params object no
title object no By language (en, de), up to 100 characters each.

CreateTeam

Field Type Required Description
dpa_version string or null no Version key of the DPA the user accepted, like terms_version.
name string yes 1 to 100 characters.
terms_version string or null no Version key of the terms the user accepted for the team, as shown on the sign-up page. Must be the current one (GET /v1/agreements names it for existing teams).

CreateUsagePack

Field Type Required Description
amount integer yes Price of one pack in the currency's minor unit, 1 to 100000000.
currency string yes ISO 4217, such as eur.
entitlement string yes
plan_id string yes A plan of this environment whose entitlement entitlement has an integer value, its quota.
units integer yes 1 to 1000000000.

CreatedApiKey

A key right after creation, the only time the secret is shown.

Combines ApiKey and the fields below.

Field Type Required Description
secret string or null no The secret. Shown once; a replay of the same idempotent request returns the key without it.

CreatedInvitation

An invitation right after creation, the only time the token is shown.

Combines Invitation and the fields below.

Field Type Required Description
token string or null no Goes into the invitation link. Shown once; a replay of the same idempotent request returns the invitation without it.

CreatedLicense

A new license with its key.

Combines License and the fields below.

Field Type Required Description
key string or null no The key in the product's format. null in the replay of an idempotent request; fetch it from GET /v1/licenses/{id}/key.

CreatedLicenses

Field Type Required Description
data array of CreatedLicense yes

CreatedOrder

A new order with its licenses.

Field Type Required Description
licenses array of CreatedLicense yes The licenses with their keys. Keys are null when the order was already known; fetch them from GET /v1/licenses/{id}/key.
mail_id string or null no The email with the keys to the buyer, if one was queued; follow it at GET /v1/mail/messages/{id}.
order Order yes

CustomDomain

An own domain of the team.

Field Type Required Description
checked_at string or null no
created_at string yes
edge_status string or null no State at the network in front once verified, for example active, pending, certificate pending_validation or manual (set up by the platform's operators).
hostname string yes
id string yes
purpose string yes portal or client_api.
records array of DnsRecord yes The records to set: the TXT record for the proof and, if the platform names one, the CNAME for the traffic.
status string yes pending until the TXT record is proven, then verified.
verified_at string or null no RFC 3339.

CustomDomainList

The team's domains, oldest first.

Field Type Required Description
data array of CustomDomain yes

Customer

An end customer.

Field Type Required Description
created_at string yes RFC 3339, UTC.
email string or null no
environment EnvironmentName yes
external_user_id string or null no Your own ID for this person, unique in this environment.
id string yes
locale any no
metadata object yes
name string or null no

CustomerAccount

An end customer's account, as the vendor sees it. No password, no secret.

Field Type Required Description
created_at string yes
email string yes
id string yes
locked_until string or null no Set while sign-in is locked after failed attempts.
totp_enabled boolean yes

CustomerData

Everything held about an end customer on your behalf.

Field Type Required Description
account any no
activations array of DataActivation yes Device digests are not included: without the secret on the device they identify nothing. device_features names the features.
customer Customer yes
events array of DataEvent yes Newest first, at most 10000.
generated_at string yes
licenses array of DataLicense yes
related DataRelated yes Orders, declarations, subscriptions, linked accounts, emails, quotas, remote actions, update results and crash reports; at most 10000 rows each.
resets array of Reset yes
sessions array of DataSession yes
usage array of DataUsage yes

CustomerMicrosoft

Sign-in of end customers with Microsoft work or school accounts. The client secret is never shown.

Field Type Required Description
allowed_tenants array of string yes Entra tenant IDs whose people may sign in. Empty: any work or school account.
client_id string yes Application (client) ID of the vendor's app in Entra.
created_at string yes
enabled boolean yes
last_used_at string or null no Last sign-in through Microsoft.
redirect_uris array of string yes Register these as web redirect URIs of the app in Entra: the platform's portal and each verified portal domain of the team.
updated_at string yes

A Microsoft account linked to a customer.

Field Type Required Description
created_at string yes
email string or null no The address Microsoft named at the last sign-in, for display.
id string yes
last_used_at string yes
tenant_id string yes The Entra tenant (organization) of the account.

The customer's linked Microsoft accounts, oldest first.

Field Type Required Description
data array of CustomerMicrosoftLink yes

DataActivation

An activation in a data access, with the IP address while it is kept.

Combines Activation and the fields below.

Field Type Required Description
last_ip string or null no Last address seen, kept 30 days.

DataEvent

An event about the customer.

Field Type Required Description
actor_id string or null no
actor_kind string yes
data object yes
id string yes
ip string or null no
occurred_at string yes
subject_id string or null no
type string yes

DataLicense

A license in a data access, with its key for callers who may read keys.

Combines License and the fields below.

Field Type Required Description
key string or null no The key; null without licenses:read.

DataRelated

Rows of newer tables about the customer, each with the same fields as the file of that table in the data export (docs/api/export-v1.md).

Field Type Required Description
cancellations array of object yes Cancellations that name the customer.
checkouts array of object yes Checkouts of the customer, without the receipt hash.
crash_reports array of object yes Crash and error reports of the licenses and devices.
discord_links array of object yes Linked Discord accounts.
emails array of object yes Emails sent to the customer or about their licenses, kept 30 days.
microsoft_identities array of object yes Linked Microsoft accounts.
newsletter_subscriptions array of object yes Newsletter subscriptions with the record of consent.
orders array of object yes Orders of the customer.
remote_actions array of object yes Remote actions sent to the devices.
update_results array of object yes Update results reported by the devices.
usage_counters array of object yes Quota counters of the licenses.
usage_reports array of object yes Counted usage reports of the licenses.
withdrawals array of object yes Withdrawals that name the customer.

DataSession

A closed session.

Field Type Required Description
activation_id string yes
country string or null no ISO 3166 country code.
ended_at string yes
id string yes
last_heartbeat_at string yes
started_at string yes

DataUsage

Checks of a license in one month.

Field Type Required Description
checks integer yes
license_id string yes
month string yes

DebugSymbols

A Breakpad symbol file of one module build.

Field Type Required Description
arch string or null no
created_at string yes RFC 3339, UTC.
debug_id string yes Breakpad debug ID, upper case without dashes.
id string yes
module string yes
os string or null no
product_id string yes
ready_at string or null no
sha256 string yes SHA-256, hex.
size_bytes integer yes
status string yes pending until complete, then ready.
upload any no

DeletedConfigKey

A deleted key and how many values went with it.

Field Type Required Description
key ConfigKey yes
values_deleted integer yes

Density

Space inside the window.

Values: compact, regular, comfortable

DeviceAttestation

App Attest and Play Integrity settings of a product in one environment.

Field Type Required Description
android_cert_digests array of string yes SHA-256 of the app signing certificates, base64url without padding, as Play reports them. Empty: any certificate.
android_device_verdict DeviceVerdict yes
android_package string or null no
apple_app_id string or null no <team ID>.<bundle ID>, once both are set.
apple_bundle_id string or null no
apple_team_id string or null no Apple Team ID (App ID prefix), 10 capital letters and digits.
play_keys_set boolean yes Whether the Play response keys are set. The keys are never shown.
product_id string yes

DeviceBatch

A batch of devices.

Field Type Required Description
created_at string yes
device_count integer yes
id string yes
label string yes
product_id string yes
status string yes active or blocked. The devices of a blocked batch are not usable; their own state stays.
updated_at string yes

DeviceBatchPatch

Changes to a batch; missing fields stay.

Field Type Required Description
label string or null no
status string or null no active or blocked.

DeviceCa

A device CA.

Field Type Required Description
algorithm string yes ed25519 or p256.
certificate string yes The CA certificate, PEM.
created_at string yes
device_count integer yes Devices this CA issued.
fingerprint string yes SHA-256 of the DER certificate, hex.
id string yes
name string yes
not_after string yes
product_id string yes
status string yes active or blocked. A blocked CA takes no new batches, and its devices are not usable.
updated_at string yes

DeviceCaList

The CAs of a product.

Field Type Required Description
data array of DeviceCa yes

DeviceCaPatch

Changes to a CA; missing fields stay.

Field Type Required Description
name string or null no
status string or null no active or blocked.

DeviceCode

A device code waiting for confirmation.

Field Type Required Description
app_version string yes
approved_at string or null no
created_at string yes
device_name string or null no Set by the app, for example from user input.
expires_at string yes
license_id string or null no Set once confirmed; the SDK gets its license token on its next poll.
platform string yes windows, macos, linux, ios or android.
product_id string yes
user_code string yes

DeviceKind

How a device was recognised.

Values: chip, hwid, install, none

DeviceVerdict

The least device verdict of Play Integrity.

Values: basic, device, strong

DiscordConnection

The connected Discord application. The secrets are never returned.

Field Type Required Description
application_id string yes
created_at string yes
guild_id string yes The server (guild) the bot gives roles on.
updated_at string yes

A customer's linked Discord account.

Field Type Required Description
created_at string yes
customer_id string yes
discord_user_id string yes
granted_roles array of string yes Roles Noctix gave on the server.
id string yes
sync_error string or null no Why the last round could not finish: not_in_server, missing_permissions, unknown_role, bot_token_invalid, rate_limited or discord_unavailable. null when it did.
synced_at string or null no
username string yes

DiscordRole

A role on the Discord server.

Field Type Required Description
id string yes
managed boolean yes Held by an integration; cannot be given.
name string yes
position integer yes Higher is above; the bot can only give roles below its own.

DiscordRoleRule

A role for every customer with a usable license on a plan, or on any plan that grants an entitlement.

Field Type Required Description
created_at string yes
entitlement string or null no Set for a rule by entitlement code.
id string yes
plan_id string or null no Set for a rule by plan.
role_id string yes

DiscordSettings

The Discord settings of this environment.

Field Type Required Description
connection any no
redirect_uri string yes Register this redirect URI in the OAuth2 settings of your Discord application. It follows your verified portal domain.

DiscordSyncResult

What a sync did.

Field Type Required Description
added integer yes Roles given.
failed integer yes Customers the sync could not finish; see sync_error of their links.
removed integer yes Roles taken back.

DnsRecord

A DNS record the vendor sets.

Field Type Required Description
name string yes
type string yes
value string yes

Download

Where to download an export, and how to open it.

Field Type Required Description
password string yes Password of the ZIP file (AES-256). Keep it as safe as the file: it holds every license key in plain text.
sha256 string yes
size_bytes integer yes
url string yes Download URL, valid for 15 minutes, no credentials needed.
url_expires_at string yes

DownloadButton

A download button: the files of one product, against a license key.

Field Type Required Description
active boolean yes An inactive button hands out nothing.
allowed_domains array of string yes Hosts the button may be embedded on; *. covers all subdomains. Empty: only the direct link works.
buy_button_id string or null no Buy button the window offers when a key cannot download.
created_at string yes RFC 3339, UTC.
environment EnvironmentName yes
id string yes
label string yes Text on the button.
product_id string yes
updated_at string yes RFC 3339, UTC.

DownloadButtonList

The download buttons of one environment, oldest first.

Field Type Required Description
data array of DownloadButton yes

DownloadKey

Field Type Required Description
license_key string yes The license key of the product.

DownloadLinkRequest

Field Type Required Description
file_id string yes A file_id from the list of files.
license_key string yes

Entitlement

A feature or tier of a product in one environment. Tokens carry its code in ent.

Field Type Required Description
archived_at string or null no Set when archived. An archived entitlement cannot be added to plans; plans that have it keep it.
code string yes Fixed at creation.
created_at string yes
environment EnvironmentName yes
id string yes
label string yes
product_id string yes

EnvironmentChoice

test or live.

Values: test, live

EnvironmentName

test or live.

Values: test, live

Erasure

Counts of an erasure.

Field Type Required Description
activations integer yes
customer_id string yes
events_redacted integer yes
licenses integer yes
sessions integer yes

Event

One event of the audit log.

Field Type Required Description
actor EventActor yes
data object yes What changed. Never contains secrets.
environment any no
id string yes
ip string or null no Client address, only for 30 days after the event.
occurred_at string yes RFC 3339, UTC, microseconds.
subject_id string or null no ID of the object the event is about.
type string yes

EventActor

Who caused the event.

Field Type Required Description
id string or null no Member, API key or customer ID; null for system.
kind ActorKind yes

ExchangeOidcToken

Field Type Required Description
token string yes The CI job's ID token (a JWT).
trust_id string yes The trust to sign in with.

Export

An export of the team's data.

Field Type Required Description
completed_at string or null no
created_at string yes
downloadable boolean yes Whether the file can still be downloaded.
environments array of string yes
error string or null no
expires_at string or null no The file is deleted at this time.
id string yes
requested_by_id string or null no
requested_by_kind string yes member or api_key.
sha256 string or null no SHA-256 of the file (hex), once completed.
size_bytes integer or null no Size of the file in bytes, once completed.
state string yes queued, running, completed or failed.

ExportFileDownload

Where to download one file of the object store that an export lists.

Field Type Required Description
filename string yes
kind string yes release_file, asset or debug_symbol.
sha256 string yes SHA-256 of the file (hex).
size_bytes integer yes
url string yes Download URL, valid for 15 minutes, no credentials needed. The file comes as it was uploaded; an encrypted one as its ciphertext.
url_expires_at string yes

ExportList

Exports, newest first.

Field Type Required Description
data array of Export yes

Extend

Field Type Required Description
days integer or null no Days to add to the current end, or to now if it has passed. 1 to 36500.
expires_at string or null no New end, RFC 3339 UTC, after the current end. Either this or days.

FileDownload

A short-lived link to the stored file.

Field Type Required Description
expires_at string yes RFC 3339, UTC.
url string yes

FileEncryption

The content key of an encrypted file, wrapped for the product's wrapping key (GET /v1/products/{id}/wrapping-key).

Field Type Required Description
source_sha256 string or null no SHA-256 of the file before encryption, 64 hex characters. Optional; lets a pipeline that runs again find the file, whose ciphertext differs on every run. Devices never get it.
wrapped_key string yes The wrapped content key, 80 bytes, base64url without padding.
wrapping_key_id string yes key_id of the wrapping key the pipeline used.

FinishAddPasskey

Field Type Required Description
challenge_id string yes
credential object yes The PublicKeyCredential from the browser, as JSON.
name string or null no Optional, 1 to 100 characters.

FinishCeremony

Field Type Required Description
challenge_id string yes
credential object yes The PublicKeyCredential from the browser, as JSON.

FinishConnection

Field Type Required Description
code string yes The code the provider returned.
state string yes The state the provider returned.

FinishMicrosoft

Field Type Required Description
code string yes code from the callback's query.
state string yes state from the callback's query.

FinishSso

Field Type Required Description
code string or null no code from the provider's redirect. OIDC only, required there.
state string yes state from the redirect to the dashboard's callback.

Font

Font of the window. No font is loaded from elsewhere.

Values: atkinson, system, serif

GrantUsage

Field Type Required Description
amount integer yes Units added on top of the quota, 1 to 1000000000.
entitlement string yes
reason string or null no Why, such as the order number, up to 200 characters. In the event.

GroupRole

A group at the identity provider and the role it gives.

Field Type Required Description
group string yes
role Role yes admin, support or reseller.

HardwareDevice

A provisioned device.

Field Type Required Description
algorithm string yes ed25519 or p256.
batch_id string yes
ca_id string yes
certificate string yes The device certificate, PEM.
created_at string yes
id string yes
not_after string yes
not_before string yes
product_id string yes
public_key string yes The device key: Ed25519 32 bytes, P-256 the uncompressed point, Base64.
serial string yes Common name of the certificate's subject.
state string yes active, internal (for the vendor's own tests), suspended or revoked.
updated_at string yes
usable boolean yes State active or internal, and neither batch nor CA blocked.

HardwareDevicePatch

A new state for a device.

Field Type Required Description
state string yes active, internal, suspended or revoked. revoked is final.

IdentityMode

How end customers prove their right to use the product.

Values: license_key, account, both

ImportReport

Field Type Required Description
customers_created integer yes
customers_existing integer yes Customers of an earlier import, reused.
dry_run boolean yes
licenses array of ImportedLicense yes
skipped array of SkippedRow yes Rows not imported, each with its reason.
warnings array of SkippedRow yes Rows imported with a change.

ImportedLicense

A license the import creates.

Field Type Required Description
customer_id string or null no null in a dry run for a customer the import would create.
expires_at string or null no RFC 3339. null until the first activation or without an end.
key string or null no The new key. null in a dry run and in the replay of an idempotent request; fetch it from GET /v1/licenses/{id}/key.
keyauth_key string or null no The old key, if the license comes from one.
license_id string or null no null in a dry run.
plan_id string yes
row integer yes Position of the row in keys or users, from 0.
source RowSource yes
username string or null no

InternalNotes

Internal notes of a release: for your team only. Customers, the portal, the client API and the SDKs never see them; they get the public notes of the release.

Field Type Required Description
commits array of Commit yes In the order you sent them, usually newest first.
release_id string yes
text string yes Markdown; empty if none.
updated_at string or null no RFC 3339, UTC. null until the first change.

Invitation

An invitation to the team.

Field Type Required Description
accepted_at string or null no
created_at string yes
email string yes
expires_at string yes
id string yes
invited_by string yes Member or API key that sent it.
revoked_at string or null no
role Role yes

IssueOfflineLicense

The request code and the license to issue the file for: exactly one of license_id and license_key.

Field Type Required Description
license_id string or null no A license of the code's product, for example one the customer picked.
license_key string or null no Or the license key the customer entered.
request_code string yes The code the device shows, offline1. followed by base64url, at most 4096 characters. Whitespace around it is ignored.

KeyCharset

Characters of the random part. crockford32: 0-9A-Z without I L O U (5 bits each). digits: 0-9 (3.3 bits each).

Values: crockford32, digits

KeyStatus

pending: published, does not sign yet. active: signs new tokens, one per product and environment. retiring: no longer signs, still verifies tokens it signed. retired: no longer used; remove it from your app.

Values: pending, active, retiring, retired

KeyauthImport

What to import. All lists are optional, but at least one row is needed.

Field Type Required Description
dry_run boolean or null no true: check everything and answer with the report, store nothing. Default false.
keys array or null no Rows of fetchallkeys.
levels object yes KeyAuth level (as text, e.g. "1") to the ID of a plan of this product. A license gets its term from the plan unless KeyAuth names an expiry for it. Trial plans are not allowed.
subscriptions array or null no Rows of fetchallsubs: subscription name to level. Needed for user subscriptions whose key is not among keys.
users array or null no Rows of fetchallusers, with their subscriptions if the export has them.

KeyauthKey

A key of KeyAuth. Other fields of the row are ignored.

Field Type Required Description
banned string or null no Ban reason, or true. Banned keys are not imported.
key string or null no
level string or null no
note string or null no Becomes the license's notes.
status string or null no Used or Not Used. Informative; usedby decides.
usedby string or null no Username that redeemed the key.

KeyauthSubscription

A subscription of KeyAuth.

Field Type Required Description
level string or null no
name string or null no

KeyauthUser

A user of KeyAuth. Password, HWID and IP address are never read.

Field Type Required Description
banned string or null no Ban reason, or true. Banned users and their licenses are not imported.
email string or null no
subscriptions array or null no
username string or null no

KeyauthUserSubscription

A subscription a user holds.

Field Type Required Description
expiry string or null no End in Unix seconds.
key string or null no The key the user redeemed for it.
subscription string or null no Name of the subscription.

LegalDetails

The vendor's legal details in this environment.

Field Type Required Description
address string or null no Postal address for legal service, one line per part.
email string or null no
imprint_url string or null no Imprint (legal notice) on your website, https://.
legal_name string or null no Legal name with the legal form.
missing array of string yes Fields a live buy button still needs. Empty: complete. withdrawal stands for the policy in at least one language.
phone string or null no
privacy_url string or null no Privacy notice on your website, https://.
tax_note TaxNote yes Tax note next to every price.
terms_text string or null no The terms as text, shown in the checkout and sent with the confirmation email.
terms_url string or null no Terms on your website, https://.
update_months integer or null no Minimum period in months from provision for which you provide software updates (Art. 246a § 1 Abs. 1 Satz 1 Nr. 11c EGBGB). Optional; the checkout and the confirmation email show it when set.
withdrawal_de string or null no Withdrawal policy in German.
withdrawal_en string or null no Withdrawal policy in English.

License

A license. The key is only part of the answer when it is created and from GET /v1/licenses/{id}/key.

Field Type Required Description
canary boolean yes Canary license, such as your own test or pilot license: gets every published release of its channels at once, whatever the rollout share. A paused rollout still stops it.
created_at string yes
customer_id string or null no
device_limit integer or null no Devices this license may bind; null: the plan's limit applies.
environment EnvironmentName yes
expires_at string or null no
flag_reason string or null no
flagged_at string or null no Set while the license waits for review, e.g. after unusually many resets, with the reason.
grace_ends_at string or null no End of the grace period after expires_at (the plan's grace_days). The license stays usable until then. null without an end or without grace days.
id string yes
in_grace boolean yes The term has ended and the grace period is running.
issued_by string or null no Member ID of the reseller who issued the license; null otherwise.
last_checked_at string or null no
metadata object yes
notes string or null no
order_ref string or null no
paused_at string or null no Since when the license is paused. Kept while a paused license is suspended.
plan_id string yes
product_id string yes
starts_at string or null no Start and end of the term, RFC 3339 UTC. null until known, e.g. before the first activation, and expires_at for perpetual plans.
state StateName yes
state_reason string or null no Reason of a suspension or revocation.
suspended_from any no
tags array of string yes
trial boolean yes The license is or was a trial. Stays true after converting it into a paid license: each end customer gets one trial per product.

LicenseChannel

Field Type Required Description
channel ReleaseChannel yes
latest_release any no
source ChannelSource yes

LicenseConfig

The remote config that applies to a license now, whatever its state.

Field Type Required Description
config object yes Key and value, as the SDK will receive them.
entries array of ResolvedConfigValue yes Per key, the value that applies and where it comes from.
license_id string yes

LicenseKey

Field Type Required Description
key string yes

LicenseKeyFormat

How license keys of a product look. The random part carries no data and has at least 125 random bits; one check character follows it, so typing errors are found before the server looks the key up.

Field Type Required Description
charset KeyCharset yes
group_size integer yes Characters per group separated by -, 3 to 10, or 0 for no groups.
length integer yes Random characters, without prefix, check character and separators. At least 25 for crockford32, 38 for digits; at most 64.
prefix string yes Empty, or 1 to 8 of A-Z0-9, followed by - in the key.

LinkOutcome

The outcome of a link.

Field Type Required Description
status SubscriberStatus yes
vendor string yes The vendor's name, for the page.

LiveAccess

What a connection may do in live. It never writes directly: with confirmed_changes (needs live:write) each change waits for a member to confirm it under /v1/agent-approvals.

Values: none, read, confirmed_changes

Locale

Language of the sign-in page and email.

Values: en, de

LoginEnvironment

The request was taken. If the address belongs to a customer, a link is on its way; the answer is the same either way. test or live.

Values: test, live

MailKind

Kind of email.

Values: license_key, portal_link, license_expiring, license_renewed, cancellation_received, withdrawal_received, withdrawal_notice, newsletter_confirm, newsletter, newsletter_test, service_info, customer_ad

MailMessage

One email to an end customer. Kept 30 days.

Field Type Required Description
attempts integer yes Attempts so far.
created_at string yes RFC 3339, UTC.
customer_id string or null no
environment EnvironmentName yes
id string yes
kind MailKind yes
last_error string or null no Why the last attempt failed.
license_id string or null no The license a license_expiring email is about.
locale Locale yes
next_attempt_at string or null no RFC 3339, UTC; while queued, when the next attempt is due.
order_id string or null no
recipient string yes
sent_at string or null no
status MailStatus yes

MailPreview

A rendered email with sample data.

Field Type Required Description
from_name string or null no Display name in From.
html string yes
reply_to string or null no
subject string yes
text string yes

MailSettings

Email settings of this environment.

Field Type Required Description
brand_color string or null no Accent color, #rrggbb. Also the color of the customer portal.
brand_name string or null no Sender name and heading. Default: the product name.
brand_on_color string or null no Text color on brand_color as #rrggbb: white where it reaches 4.5:1, else ink. Computed by the server.
default_locale Locale yes Language when the customer has none.
existing_customer_ads boolean yes Advertising to existing customers (§ 7 Abs. 3 UWG): the checkout of your buy buttons tells buyers below the email field that you use their address for similar products and that they can object at any time. Only buyers who saw it can get newsletters of purpose existing_customers.
expiry_emails boolean yes Email the customer about seven days before a license with an end expires, once per license and term (license_expiring).
license_emails boolean yes Email the keys to the buyer after POST /v1/orders. An order can override it with send_email.
logo_url string or null no Logo shown at the top, https://.
redeem_url string or null no Link to redeem a key with the placeholder {key}, such as https://acme.example/redeem?key={key} or acme://redeem/{key}. Default: the redeem page of the portal.
support_email string or null no Shown in the email and used as Reply-To.

MailSmtp

Your SMTP server for emails to your end customers. The password is never shown again.

Field Type Required Description
active boolean yes Emails go through this server. Needs a successful test.
fallback_to_noctix boolean yes If your server fails, Noctix sends the email instead of retrying through your server.
from_address string yes
from_name string or null no Display name in From; default: your brand name.
host string yes
last_error string or null no The last failure of this server while sending.
last_failure_at string or null no
password_set boolean yes A password is stored. It cannot be read back; replace it with PUT.
port integer yes
reply_to string or null no Reply-To; default: the support address of the mail settings.
security SmtpSecurity yes
updated_at string yes
username string yes
verified_at string or null no RFC 3339, UTC: when a test email last went out through this server with these settings. Changing host, port, security, user, password or sender clears it.

MailSmtpTest

Outcome of a test.

Field Type Required Description
error string or null no Why not: connection, TLS, login or refusal, as the server said.
ok boolean yes The test email was accepted by your server.
smtp MailSmtp yes

MailStatus

Delivery state of an email.

Values: queued, sent, failed

MailTemplate

The text of one kind of email in one language.

Field Type Required Description
body string yes Plain text with placeholders; the HTML part is made from it.
custom boolean yes false: the built-in text, used until you store your own.
kind MailKind yes
locale Locale yes
placeholders array of string yes Placeholders this kind of email knows.
subject string yes One line. Placeholders such as {{product_name}} are filled in.
updated_at string or null no RFC 3339, UTC; null for the built-in text.

MailTemplates

Field Type Required Description
data array of MailTemplate yes

Member

A member of the team.

Field Type Required Description
created_at string yes
email string yes
id string yes
name string yes
role Role yes
user_id string yes

MicrosoftOffer

Whether the portal shows "Sign in with Microsoft".

Field Type Required Description
enabled boolean yes

MicrosoftRedirect

Where to send the browser.

Field Type Required Description
authorization_url string yes Microsoft's sign-in page. Valid for 10 minutes, in this browser.

Named

A product or plan by ID and name.

Field Type Required Description
id string yes
name string yes

NewCancellationInput

A cancellation declaration from the cancellation page.

Field Type Required Description
confirm_email string yes Where the confirmation goes.
contract string or null no Order number or license key; optional, helps to find the contract.
email string yes The address the buyer bought with.
kind CancellationKind yes
locale Locale no
name string yes 1 to 200 characters.
reason string or null no Required for an extraordinary cancellation, else not allowed. Up to 2000 characters.
requested_for string or null no The wished date, YYYY-MM-DD, today or later; null for the earliest possible.

NewDeviceBatch

A new batch.

Field Type Required Description
certificates array of string yes 1 to 100 device certificates, PEM or Base64 of the DER, each issued by an active CA of the product and valid now. The serial of a device is the common name of its subject (1 to 100 of A-Z, a-z, 0-9, ., _, :, -); serials and keys are unique in the product. The request body may have at most 64 KiB; send larger runs as several batches.
label string yes 1 to 100 characters, such as the production line and date.

NewDeviceCa

A new device CA.

Field Type Required Description
certificate string yes X.509 CA certificate (basic constraints CA), PEM or Base64 of the DER, with an Ed25519 or ECDSA P-256 key. Not expired.
name string yes 1 to 100 characters.

NewExport

Request for an export.

Field Type Required Description
environments array or null no Environments to export. Default: both for members, the key's own for API keys. An API key may only export its own environment.

NewNewsletter

A new draft. At least one of en and de.

Field Type Required Description
audience NewsletterAudience no Default: every confirmed subscriber. Service information needs at least one product.
de any no
en any no
name string yes 1 to 200 characters, for your team only.
purpose NewsletterPurpose no Default newsletter. Cannot change later.
service_reason any no

NewProxyTarget

A new target.

Field Type Required Description
description string or null no
entitlement string or null no Entitlement code the plan must grant (a flag that is true, a limit above 0 or a variant); none lets every usable license call.
headers object no Up to 10 headers sent with each call, such as {"Authorization": "Bearer ..."}. Values are sealed and never shown again.
name string yes 1 to 100 of a-z, 0-9, ., _, -, starting with a letter or digit. Unique in the product.
rate_per_minute integer or null no 1 to 600; default 60.
timeout_ms integer or null no 1000 to 10000; default 5000.
url string yes https URL with a public address, without credentials. Put credentials in headers.

NewReleaseBuild

A build to approve.

Field Type Required Description
platform string yes windows, macos, linux, ios or android; one the release is for, if it names platforms.
sha256 string yes SHA-256 of the program as the SDK measures it, 64 hex characters.

NewReport

Field Type Required Description
category ReportCategory yes
description string yes What is wrong and why, 10 to 5000 characters.
email string or null no Optional; for a receipt and the decision. Erased 180 days after the decision.
good_faith boolean yes The reporter confirms that the report is accurate and complete to the best of their knowledge. Must be true.
name string or null no Optional.
url string yes The page with the content, https://....

NewShopConnection

Field Type Required Description
api_key string or null no Stripe: a restricted key (rk_test_... in test, rk_live_... in live) with read access to Checkout Sessions, Charges, Disputes, Invoices and Subscriptions. Google Play: the JSON key file of a Google Cloud service account invited to the Play Console with the rights to view financial data and manage orders and subscriptions; the Pub/Sub push subscription authenticates as the same account. Paddle: an API key of the environment (pdl_sdbx_apikey_... in test, pdl_live_apikey_... in live) with read access to transactions, subscriptions, adjustments and customers. Gumroad: an access token of the seller's account with the scope view_sales. Required for these four, write-only.
name string yes 1 to 100 characters.
products array of ShopProduct no
secret string or null no The secret the shop signs with: Shopify's client secret of the app, the secret set on the WooCommerce webhook, or the signing secret of the Stripe webhook endpoint (whsec_...) or the secret key of the Paddle notification destination (pdl_ntfset_...). 16 to 500 characters. Write-only. Not for the App Store and Google Play, which sign with their own keys, and not for Gumroad, which signs nothing: every Gumroad ping is read again from Gumroad.
send_email boolean or null no
shop ShopName yes
shop_domain string or null no Shopify: <shop>.myshopify.com; WooCommerce: the site's host. Recommended: without it, any shop with the secret can send orders. App Store: the app's bundle ID, required. Google Play: the app's package name, required.

NewSubscriber

A request to subscribe.

Field Type Required Description
customer_id string or null no The end customer to subscribe. Without it, the oldest customer with the address, or a new one.
email string or null no The address. Required unless customer_id names a customer with an address.
locale Locale no Language of the confirmation email, default en.
source string yes Where the subscriber signed up, 1 to 100 characters, for example website-footer or checkout. Kept as evidence.

NewWebhookEndpoint

A new endpoint.

Field Type Required Description
description string or null no
event_types array of string yes At least one of the event types of webhooks-v1.md, section 4.
format WebhookFormat no standard if missing. Cannot be changed later.
url string yes https URL with a public address; for the format discord the channel's webhook URL from Discord.

NewWithdrawalInput

A withdrawal declaration from the withdrawal page.

Field Type Required Description
confirm_email string yes Where the receipt goes.
contract string yes Order number or license key, 1 to 200 characters.
locale Locale no
name string yes 1 to 200 characters.

Newsletter

A newsletter.

Field Type Required Description
audience NewsletterAudience yes
created_at string yes RFC 3339, UTC.
de any no
delivery any no
en any no
environment EnvironmentName yes
id string yes
name string yes For your team only, never in the email.
purpose NewsletterPurpose yes
recipient_count integer or null no Recipients when it was sent; null for a draft.
sent_at string or null no When the last email went out or failed.
service_reason any no
status NewsletterStatus yes
updated_at string yes

NewsletterAudience

Who gets the newsletter, besides being a confirmed subscriber. An empty list does not narrow; the lists narrow together.

Field Type Required Description
license_states array of StateName no Subscribers with a license in one of these states.
locales array of Locale no Subscribers who chose one of these languages.
plan_ids array of string no Subscribers with a license of one of these plans. Up to 50.
product_ids array of string no Subscribers with a license of one of these products. Up to 50.

NewsletterContent

Subject and text in one language. The text is plain; links starting with https:// become links. Every newsletter ends with a line naming why the subscriber gets it and their unsubscribe link.

Field Type Required Description
body string yes 1 to 50,000 characters.
subject string yes 1 to 200 characters, one line.

NewsletterDelivery

Emails of a sent newsletter by state.

Field Type Required Description
failed integer yes Failed for good, or not sent since the subscriber unsubscribed.
queued integer yes Waiting for their turn.
sent integer yes

NewsletterPatch

Changes to a draft. Missing fields stay; null removes a language.

Field Type Required Description
audience any no
de any no
en any no
name string or null no
service_reason any no

NewsletterPurpose

What a draft is.

Values: newsletter, service, existing_customers

NewsletterRecipient

One subscriber (customer for service information) the newsletter reaches.

Field Type Required Description
customer_id string yes
email string yes
locale Locale yes The language they get: their own, or the other one if the newsletter lacks it.
subscriber_id string or null no null for service information, which goes to customers.

NewsletterRecipients

Who the newsletter reaches now.

Field Type Required Description
data array of NewsletterRecipient yes
next_cursor string or null no
total integer yes All of them, not only this page.

NewsletterStatus

Where a newsletter stands.

Values: draft, sending, sent

NewsletterTestQueued

A test email that is queued.

Field Type Required Description
mail_id string yes The email in the outbox, see GET /v1/mail/messages/{id}.

NotificationReceipt

What came of a notification, in the answer to the provider.

Field Type Required Description
status string yes handled, ignored, unconfirmed, deferred, duplicate or processing (the payment is not settled yet; a later notification follows).

OAuthRequest

A sign-in of a client, waiting for the vendor's answer.

Field Type Required Description
client_name string yes Name the client registered with. Chosen by the client itself.
id string yes
redirect_host string yes Host the browser returns to after the answer.
scopes array of string yes What the client asked for: test:read, test:write, live:read, live:write.

ObjectKind

What a customer objects to.

Values: service, ads

ObjectOutcome

The outcome of an objection.

Field Type Required Description
objected boolean yes Always true: the customer gets no service information (or no advertising) any more.
vendor string yes The vendor's name, for the page.

OfflineLicense

An issued offline license.

Field Type Required Description
activation_id string yes The activation of the device; ends like any other.
expires_at string yes End of the file: the plan's offline term, at most the end of the license. The device needs no contact until then.
file string yes Content of the license file (UTF-8 JSON) for the device to import.
file_name string yes Suggested file name.
license_id string yes
product_id string yes

OidcKey

A key for the job, bound to the trust's product.

Field Type Required Description
api_key_id string yes
environment EnvironmentName yes
expires_at string yes RFC 3339, UTC; 15 minutes from now.
product_id string yes
scopes array of string yes
secret string yes Use as Authorization: Bearer ....

OidcTrust

A repository whose CI jobs may sign in for one product.

Field Type Required Description
audience string yes The aud the CI must put in its token.
ci_environment string or null no Only jobs in this deployment environment of the CI.
created_at string yes
environment EnvironmentName yes
id string yes
issuer string yes
last_used_at string or null no
name string yes
product_id string yes
provider string yes github or gitlab.
ref_pattern string or null no Only jobs for matching refs, such as refs/tags/v*.
repository string yes owner/name on GitHub, the project path on GitLab.
repository_id string or null no Numeric repository or project ID. Set on first use if not given.
scopes array of string yes

Op

How a condition compares.

Values: eq, ne, gt, gte, lt, lte, in, exists, not_exists

OpenReason

Why a declaration needs the vendor.

Values: no_match, several_matches, extraordinary, requested_date, not_a_subscription, provider_failed, refund_failed, contract_missing

Order

Field Type Required Description
created_at string yes RFC 3339, UTC.
customer_id string or null no
environment EnvironmentName yes
external_id string yes The order number in your shop.
id string yes
items array of OrderItem yes
license_ids array of string yes Licenses issued by the order, oldest first.
source string yes api for orders reported through this API, or the shop it came from.
status OrderStatus yes
updated_at string yes RFC 3339, UTC.

OrderItem

One line of an order: a plan and how many licenses it issues.

Field Type Required Description
plan_id string yes Plan in this environment, not archived.
quantity integer yes 1 to 10000; all items together at most 10000.

OrderStatus

Where the purchase stands.

Values: paid, canceled, charged_back, refunded

OrderWithLicenses

An order and its licenses after a step.

Field Type Required Description
licenses array of License yes
mail_id string or null no The renewal email to the customer, if one was queued (license_renewed).
order Order yes

Page_ApiKey

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Asset

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_BlocklistEntry

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Cancellation

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Checkout

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_ConfigKey

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_ConfigValue

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Connection

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_CrashGroup

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_CrashReportItem

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Customer

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_DebugSymbols

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_DeviceBatch

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Entitlement

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Event

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_HardwareDevice

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Invitation

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_License

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_MailMessage

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Member

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Newsletter

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_OidcTrust

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Order

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Plan

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Product

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Release

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_RemoteAction

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Subscriber

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_WebhookDelivery

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_WebhookEndpoint

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Page_Withdrawal

One page of a list.

Field Type Required Description
data array of object yes
next_cursor string or null no Pass as cursor for the next page; null on the last page.

Palette

Every color of one scheme the window uses, #rrggbb, resolved from the style, the branding and the tokens.

Field Type Required Description
background string yes
border string yes
border_strong string yes Field lines, at least 3:1 on background.
on_primary string yes Text on primary, white or ink.
primary string yes
surface string yes Fields.
surface_sunken string yes The order summary.
text string yes
text_muted string yes Secondary text, at least 4.5:1 on background and surface_sunken.

ParamType

Type of a parameter.

Values: string, integer, boolean

PasskeyInfo

A passkey of the signed-in user.

Field Type Required Description
created_at string yes
id string yes
last_used_at string or null no
name string yes

Payment

A payment the provider reported and confirmed.

Field Type Required Description
amount integer or null no In the currency's minor unit, as the provider reported it.
checkout_id string yes
created_at string yes RFC 3339, UTC.
currency string or null no
external_id string yes The payment's ID at the provider.
id string yes
refunded_amount integer yes What went back to the buyer so far, in the currency's minor unit (#613). The whole amount once refunded.
status PaymentStatus yes
updated_at string yes RFC 3339, UTC.

PaymentAccount

A vendor's own account at a payment provider, connected to this environment. The vendor is the seller; payments go to this account.

Field Type Required Description
connected_at string or null no RFC 3339, UTC.
created_at string yes RFC 3339, UTC.
environment EnvironmentName yes
external_id string or null no The account's ID at the provider, once connected.
id string yes
platform_fee_bps integer or null no Platform fee kept from each payment, in basis points (1/100 percent). Set by the platform; null for none.
provider string yes Name of the provider adapter.
status PaymentAccountStatus yes
updated_at string yes RFC 3339, UTC.
webhook_path string yes Where the provider sends notifications for this account.

PaymentAccountStatus

Values: pending, connected, disconnected

PaymentAccounts

Field Type Required Description
data array of PaymentAccount yes

PaymentMethod

A way to pay.

Values: card, sepa_debit, paypal

PaymentStatus

Values: paid, failed, refunded

Plan

A license template of a product in one environment.

Field Type Required Description
archived_at string or null no Set when archived. An archived plan issues no new licenses.
channel string or null no Release channel of the plan's licenses; null: stable.
created_at string yes
device_binding boolean yes Whether activations are bound to a device.
device_limit integer yes Devices per license.
duration_days integer or null no Term or billing period in days; null for perpetual and fixed_date.
ends_at string or null no End of the term for fixed_date, RFC 3339 UTC.
entitlements object yes Entitlement code and value: true, an integer or a string of at most 256 characters.
environment EnvironmentName yes
grace_days integer yes Days a license stays usable after its end.
id string yes
idle_release_minutes integer or null no Floating license: a device not seen (no check, no heartbeat) for this many minutes gives up its place when another device activates beyond device_limit. null: devices stay bound until deactivated or reset.
name string yes
offline_license_days integer or null no Term of an offline license file in days, 1 to 365 (POST /v1/offline-licenses). null: the plan issues no offline licenses.
offline_tolerance_days integer or null no Overrides the product's offline tolerance, 0 to 30 days.
product_id string yes
reset_rule ResetRule yes
service_kind ServiceKind yes What the plan sells, for the checkout's consent text and the right of withdrawal. Unless set, digital_service for subscriptions and digital_content for the rest.
session_limit integer or null no Concurrent sessions per license; null for no limit.
term_model TermModel yes

Platform

Operating system of the app.

Values: windows, macos, linux, ios, android

PlayKeys

Response encryption keys from the Play Console.

Field Type Required Description
decryption_key string yes The decryption key, base64 (AES-256).
verification_key string yes The verification key, base64 (DER, EC P-256).

PortalAccount

The signed-in customer's own account.

Field Type Required Description
email string yes
totp_enabled boolean yes

PortalApproveCode

The license to confirm a code for: exactly one of both.

Field Type Required Description
license_id string or null no One of the customer's licenses.
license_key string or null no Or a license key; a key without a customer becomes the customer's.

PortalBranding

How the portal looks for one vendor.

Field Type Required Description
accounts boolean yes Whether customers can register and sign in with an account (#51): a product of the vendor uses the identity mode account or both.
color string or null no Accent color #rrggbb: main action, active tab, logo tile.
logo_url string or null no Logo, https://.
name string yes The brand name, else the team's name.
on_color string or null no Text color on color as #rrggbb: white or ink.

PortalChannelOption

A channel the customer may choose.

Field Type Required Description
name string yes
rank integer yes Higher is earlier and less stable.

PortalDeviceCode

A device code the customer entered, with their licenses that can take the device.

Field Type Required Description
app_version string yes
device_name string or null no
expires_at string yes
license_id string or null no Set once confirmed; the app gets its license on its next poll.
licenses array of PortalLicense yes The customer's licenses of the code's product that can be activated.
platform string yes windows, macos, linux, ios or android.
product Named yes
user_code string yes

PortalDiscord

The customer's Discord link in the portal.

Field Type Required Description
available boolean yes The vendor connected Discord; linking is possible.
link any no

PortalDiscordCallback

The answer Discord sent the customer back with.

Field Type Required Description
code string yes
state string yes

A linked account as the customer sees it.

Field Type Required Description
discord_user_id string yes
roles integer yes Number of roles Noctix gave.
sync_error string or null no not_in_server when the customer must join the server first; other values are the vendor's to fix.
username string yes

PortalDiscordStart

Where to send the customer.

Field Type Required Description
url string yes Discord's page that asks to link the account.

PortalDomain

The vendor whose portal runs under a host name.

Field Type Required Description
hostname string yes
shop_slug string or null no The slug of the vendor's live shop (#481) when it is switched on: the domain's start page then shows the shop.
team_id string yes The vendor's team, as team of /v1/portal/branding and team_id of /v1/portal/login.

PortalDownload

A file the customer may download.

Field Type Required Description
channel string yes
file_id string yes Pass to POST .../downloads/{file_id} for a link.
filename string yes
platform string yes windows, macos, linux, ios or android.
published_at string or null no RFC 3339, UTC.
sha256 string yes Lower-case hex; compare after the download.
size_bytes integer yes
version string yes SemVer.

A link to one file.

Field Type Required Description
expires_at string yes RFC 3339, UTC.
filename string yes
sha256 string yes Lower-case hex.
size_bytes integer yes
url string yes

PortalDownloads

Field Type Required Description
available boolean yes Whether the license can download now. When false, reason says why and the list shows what the license would get.
data array of PortalDownload yes By platform, newest version first, at most 5 per platform.
reason string or null no license_suspended, license_paused, license_revoked or license_expired.

PortalLicense

A license of the signed-in customer, with its devices. The key is not part of it.

Field Type Required Description
devices Activations yes Bound devices, the device limit and what self-service resets remain.
expires_at string or null no null for perpetual licenses or before the term starts.
id string yes
idle_release_minutes integer or null no Floating plan (#59): a device not seen for this many minutes gives up its place to the next activation beyond the limit. null when devices stay bound.
plan Named yes
product Named yes
starts_at string or null no
state StateName yes

PortalLicenseChannel

The license's channel and the channels the customer may move it to.

Field Type Required Description
changeable boolean yes Whether the customer may change the channel. false when the vendor set a channel that is not selectable.
channel string yes The channel the license gets releases from.
chosen boolean yes Whether the channel is the license's own choice (set by the customer or the vendor) rather than from plan or entitlement.
options array of PortalChannelOption yes Channels the vendor marked as selectable, lowest rank first.

PortalLicenses

Field Type Required Description
data array of PortalLicense yes Newest first, at most 100.

A sign-in link for the portal. Send it to the customer yourself; it is shown only in this answer.

Field Type Required Description
expires_at string yes
url string yes

PortalLogin

Field Type Required Description
email string yes
environment any no
locale any no
team_id string yes The vendor's team.

PortalLoginAccepted

Field Type Required Description
expires_in_s integer yes How long a link stays valid.

PortalMe

The signed-in end customer and the vendor whose portal this is.

Field Type Required Description
customer_id string yes
email string or null no
environment EnvironmentName yes
locale any no
name string or null no
team_id string yes The vendor's team, for links such as the cancellation page.
vendor_name string yes Name of the vendor's team.

PortalOfflineRequest

The request code of the device and one of the customer's licenses.

Field Type Required Description
license_id string yes One of the customer's licenses of the code's product.
request_code string yes The code the device shows, offline1. followed by base64url. Whitespace around it is ignored.

PortalRedeem

Field Type Required Description
key string yes The license key, with or without dashes, case ignored.

PortalRelease

One published release, as the customer sees it.

Field Type Required Description
channel string yes
notes string or null no The notes in the language asked for, else English, else any.
notes_locale string or null no Language of notes.
platforms array of string yes windows, macos, linux, ios, android.
published_at string or null no RFC 3339, UTC.
version string yes SemVer.

PortalReleases

Field Type Required Description
channel string yes The license's channel.
data array of PortalRelease yes Newest version first, at most 20.

PortalRemoteActionType

An action the customer may send from the portal.

Field Type Required Description
description object yes
name string yes
params object yes
title object yes

PortalRemoteActionTypes

The actions the customer may send to devices of a license.

Field Type Required Description
data array of PortalRemoteActionType yes

PortalSessionRequest

Field Type Required Description
code string or null no The current TOTP code, when the customer's account has TOTP on.
token string yes The token from the sign-in link (the part after #).

PreviewMailTemplate

Text to preview. Missing: the stored or built-in text.

Field Type Required Description
body string or null no
subject string or null no

Problem

Error response (application/problem+json).

Field Type Required Description
code string yes Stable error code for programs.
detail string yes Explanation for people. Never contains secrets.
required_plan string or null no With plan_upgrade_required: the first plan that includes the feature (pro, business or enterprise).
status integer yes
title string yes
type string yes Always about:blank: title is the HTTP status text.

Product

A product with the settings of the request's environment.

Field Type Required Description
archived_at string or null no RFC 3339, UTC. Set when archived.
created_at string yes
heartbeat_interval_s integer yes Seconds between heartbeats of a running app, 10 to 86400.
id string yes Public product ID, also in every token (pid).
identity_mode IdentityMode yes
license_key_format LicenseKeyFormat yes
name string yes
settings ProductSettings yes

ProductSettings

Settings of a product in one environment.

Field Type Required Description
attestation string yes How a missing platform attestation is treated on activate (#846): off demands none, flag records activation.attestation_missing, require refuses without a valid App Attest or Play Integrity proof. Only bites on a platform you set up; default require.
auto_suspend_signals array of string yes Signals that suspend a license at once instead of flagging it for review: forked, two_devices, withheld, two_versions, many_resets.
build_check string yes What a build the product's releases do not list means (#61): off checks nothing, flag records activation.unknown_build, deny also withholds remote config and updates from that build.
crash_auto_resolve_days integer yes 1 to 90. Default 7.
crash_auto_resolve_devices integer or null no An open crash group resolves itself (#510) once versions above its last version ran on at least this many devices on each of crash_auto_resolve_days days since the group was last seen. 1 to 1,000,000; null: off (default).
crash_reports boolean yes Whether the client API takes crash and error reports from the SDK (#506, protocol section 6.13). Default false; the app must turn them on as well.
crash_retention_days integer yes Days a crash or error report is kept, 1 to 90. Default 90.
environment EnvironmentName yes
keep_releases integer yes Published releases per channel and platform whose files stay in the file store, 1 to 100. Older files are removed unless a device still reports their version.
min_app_version string or null no Apps older than this are told to update.
min_version_after_days integer or null no Days after the newest release of the most stable channel at which min_app_version rises to the release before it (#346), 1 to 365; null for off. The minimum never falls.
modules boolean yes Whether assets may be WebAssembly modules signed by you (#653, protocol section 6.18). Default false: the server takes no module and hands none out.
offline_tolerance_days integer yes Days a token stays usable without reaching the server, 0 to 30. Plans can override it.
public_changelog boolean yes Whether anyone may read the notes of the published releases at GET /v1/changelog/{product_id} without sign-in (#397). Default false.
rollback_halt_min integer yes Update results a release needs before that share counts, 1 to 10000.
rollback_halt_percent integer yes Share of rollbacks among the update results of a release, in percent, at which its rollout pauses itself (#92), 1 to 100.
rollout_step_hours integer yes Hours per rollout step, 1 to 720. Default 24.
rollout_steps array of integer yes Rollout steps in percent (#349), such as [5, 25, 50, 100]: a release published in this environment starts at the first step and rises to the next every rollout_step_hours, unless its rollout is paused. Setting the share by hand ends the schedule of that release. Empty: the share changes only by hand (default).
tamper_response string yes How the server answers a tamper signal the client reports (#848): off ignores it, report records activation.tamper_signal and lets the app carry on, terminate records it and tells the client to exit with an error. Opt-in and never forced; default report.
token_validity_s integer yes Validity of a license token in seconds, 60 to 2592000.
update_message string or null no Shown by the SDK with the update request.
update_url string or null no HTTPS link to the update.

ProductStorage

What a product holds in the file store in this environment.

Field Type Required Description
bytes integer yes
files integer yes Release files, ready or pending upload.
keep_releases integer yes Published releases per channel and platform whose files are kept (keep_releases).
product_id string yes

PromoteRelease

Field Type Required Description
channel string yes A channel of the product, such as stable.

ProtectionLayer

One protection layer (plan.md, "Schutzebenen").

Field Type Required Description
active boolean yes
detail string yes What the layer does here, in a sentence.
layer string yes

ProtectionProfile

How a product is protected in this environment, and against what not.

Field Type Required Description
environment EnvironmentName yes
layers array of ProtectionLayer yes
not_covered array of string yes What this setup does not protect against.
product_id string yes
signals array of SignalRule yes

ProxyTarget

A proxy target, without header values and secret.

Field Type Required Description
created_at string yes
description string or null no
enabled boolean yes A disabled target takes no calls.
entitlement string or null no When set, only licenses whose plan grants it may call.
header_names array of string yes Headers sent with each call, lowercase; their values are sealed and never shown.
id string yes
name string yes The name the app calls; fixed for the life of the target.
product_id string yes
rate_per_minute integer yes Calls per activation and minute, 1 to 600.
timeout_ms integer yes How long the target may take, 1000 to 10000 ms.
updated_at string yes
url string yes

ProxyTargetList

The targets of a product.

Field Type Required Description
data array of ProxyTarget yes

ProxyTargetPatch

Changes to a target; missing fields stay. headers replaces all headers.

Field Type Required Description
description string or null no
enabled boolean or null no
entitlement string or null no
headers object or null no
rate_per_minute integer or null no
timeout_ms integer or null no
url string or null no

ProxyTargetWithSecret

A target with its signing secret, only in the answer that creates it or rotates the secret.

Combines ProxyTarget and the fields below.

Field Type Required Description
secret string or null no Signing secret (whsec_ and 32 bytes in Base64) of the calls the target receives, as for webhooks. Shown only now; null in the replay of an idempotent request.

PublicBuyButton

A buy button as the checkout window shows it.

Field Type Required Description
ads_notice string or null no Identifier of the notice on advertising to existing customers (§ 7 Abs. 3 UWG) to show below the email field, such as existing-customer-ads-1; send it back with the checkout. null when the vendor does not advertise to existing customers.
allowed_domains array of string yes Hosts the window may be embedded on.
branding PortalBranding yes The vendor's name, logo and color.
consent_version string yes Identifier of the consent text to show; send it back with the checkout. digital-content-1 for digital content, digital-service-1 for a digital service (service_kind of the plan).
currency string yes
device_limit integer yes Devices one license may be active on.
duration_days integer or null no Term of the license or period of the subscription in days; null for perpetual and fixed_date.
embedded_payment boolean yes true: the checkout shows the provider's payment fields itself and its order button also pays (#591); start it with embed. false: the buyer pays on the provider's page after the order.
ends_at string or null no End of a fixed_date term, RFC 3339 UTC.
environment EnvironmentName yes
id string yes
interval_days integer or null no Days between payments of a subscription; null for a one-time purchase.
label string yes
payment_methods array of PaymentMethod yes Ways to pay the checkout names before the order: those the vendor's account at the provider offers (#591).
plan Named yes
product Named yes
seller any no
service_kind ServiceKind yes What the plan sells.
style BuyStyle yes How the window and the button look (#465), resolved into full palettes for light and dark.
tax_note TaxNote yes Which tax note goes with the price. The price is always the final price for consumers.
team_id string yes The vendor's team, for the way into the portal.
term_model TermModel yes How the license's term runs.
unit_amount integer yes Price of one license in the currency's minor unit.

PublicDownloadButton

A download button as the download window shows it.

Field Type Required Description
allowed_domains array of string yes Hosts that may embed the window, for frame-ancestors.
branding PortalBranding yes
buy_button_id string or null no Buy button for licenses that cannot download, or null.
environment EnvironmentName yes
id string yes
label string yes
product Named yes
team_id string yes Team of the vendor.

PublicDownloads

The files a license key is offered.

Field Type Required Description
available boolean yes Whether the license can download now. When false, reason says why and the list shows what the license would get.
buy_button_id string or null no Buy button to offer when available is false, or null.
data array of PortalDownload yes By platform, newest version first, at most 5 per platform.
reason string or null no license_suspended, license_paused, license_revoked or license_expired.

PublicStorefront

The public shop of one vendor.

Field Type Required Description
branding PortalBranding yes
environment EnvironmentName yes
intro string or null no
items array of StorefrontItem yes The active buttons in the shop's order.
seller string or null no Who sells: the vendor's legal name, once set.
slug string yes
style BuyStyle yes
tax_note TaxNote yes
team_id string yes
title string or null no

PublicVault

The vendor's key vault button (#482) for the embed script. No credentials.

Field Type Required Description
allowed_domains array of string yes Hosts that may frame the button.
branding PortalBranding yes
environment EnvironmentName yes
team_id string yes

PublishReleaseList

A release list to publish.

Field Type Required Description
token string yes The list as signed by the vendor: a PASETO v4.public token (protocol, section 6.11).

PutCustomerMicrosoft

Field Type Required Description
allowed_tenants array of string no Up to 50 Entra tenant IDs (GUIDs). Empty or left out: any work or school account may sign in.
client_id string yes Application (client) ID of the app in Entra, a GUID.
client_secret string or null no A client secret of the app. Required the first time; left out, the stored secret stays.
enabled boolean or null no Default true. false keeps the settings and links but hides the option.

PutDiscord

Connects or changes the Discord application.

Field Type Required Description
application_id string yes Application ID from Discord's developer portal.
bot_token string or null no Bot token. Required the first time; leave out to keep.
client_secret string or null no OAuth2 client secret. Required the first time; leave out to keep.
guild_id string yes The server the bot is on; right-click the server with developer mode on to copy its ID.

PutInternalNotes

Replaces the internal notes of a release.

Field Type Required Description
commits array of Commit no Up to 1000 commits, for example from release-tool commits.
text string no Markdown, up to 20000 characters. Empty or missing removes it.

PutMailSmtp

SMTP settings. Replaces what is stored; password may be left out to keep the stored one. A change of the connection or sender switches the server off until a new test succeeds.

Field Type Required Description
fallback_to_noctix boolean or null no Default false.
from_address string yes An address of your domain. SPF, DKIM and DMARC of that domain must allow your server.
from_name string or null no 1 to 100 characters.
host string yes Host name, at most 253 characters.
password string or null no 1 to 1000 characters. Required the first time.
port integer yes
reply_to string or null no
security SmtpSecurity yes
username string yes 1 to 320 characters.

PutMailTemplate

Your own text for a kind of email and language.

Field Type Required Description
body string yes 1 to 20000 characters. A license_key email must contain {{licenses}}, a portal_link email {{link}}.
subject string yes One line, 1 to 200 characters.

PutReleaseChannel

A channel's settings. Missing fields take their default: rank 0 for a new channel (the built-in rank for stable and beta), no minimum version, no entitlement, not selectable by end customers.

Field Type Required Description
customer_selectable boolean or null no Let end customers move their licenses into this channel in the customer portal. Default false.
entitlement_code string or null no Code of an entitlement of the product.
min_app_version string or null no SemVer, such as 2.5.0-beta.3.
rank integer or null no 0 to 1000.

PutSaml

The SAML identity provider, from its metadata or setup page.

Field Type Required Description
certificate string yes Signing certificate of the provider: PEM, or the base64 of the DER as in the provider's metadata.
sso_url string yes Single sign-on URL for the HTTP-Redirect binding, https.

PutSsoConnection

Field Type Required Description
client_id string or null no OIDC only, required there.
client_secret string or null no OIDC only. Required when creating; left out, the stored secret stays.
default_role any no
email_domains array of string yes 1 to 20 domains, such as acme.com.
enforced boolean no Members reach the team only with an SSO session. Needs one sign-in with this provider first.
groups_claim string or null no Claim (OIDC) or attribute (SAML) with the groups. Defaults to groups.
issuer string yes OIDC: the provider's issuer, as its discovery document names it. SAML: the provider's entity ID, as its metadata names it.
protocol any no
role_mappings array of GroupRole no
saml any no
scopes array or null no OIDC only. Defaults to openid email profile; must contain openid. Add groups where the provider needs it for the groups claim.

ReceiptLicense

A license bought through a button.

Field Type Required Description
expires_at string or null no RFC 3339, UTC; null without end.
id string yes
key string yes The license key in its display form.
plan Named yes
product Named yes

ReceiptStatus

Values: open, completed

Recover

Field Type Required Description
code string yes
email string yes

Refund

The answer to a refund.

Field Type Required Description
amount integer or null no What this refund gives back, in the currency's minor unit; null for a full refund of a payment without a reported amount.
external_id string yes The refund's ID at the provider.
order any no
payment Payment yes
status RefundStatus yes

RefundPayment

What to refund. Without a body, or without amount, the rest of the payment.

Field Type Required Description
amount integer or null no Part of the payment to refund, in the currency's minor unit (#613): at least 1 and at most what is left of it. Less than the rest keeps the payment paid and the order's licenses as they are; the payment's refunded_amount grows. The whole rest refunds the payment entirely.

RefundStatus

Values: succeeded, pending

Release

Field Type Required Description
blocked_at string or null no RFC 3339, UTC. Set once the version is blocked: devices that run it get version_outdated and the newest release as a required update.
channel string yes
commit_count integer yes Commits in the internal notes (/v1/releases/{id}/internal-notes).
created_at string yes RFC 3339, UTC.
devices integer yes Bound devices of the product whose app last reported this version.
environment EnvironmentName yes
id string yes
min_from_version string or null no Stepping stone (#405): devices whose app reports a lower version are not offered this release but the newest one they may reach.
notes object yes Release notes by language: en, de.
platforms array of string yes windows, macos, linux, ios, android.
product_id string yes
published_at string or null no RFC 3339, UTC.
rollout Rollout yes
status ReleaseStatus yes
version string yes SemVer.
withdrawn_at string or null no RFC 3339, UTC.

ReleaseBuild

An approved build of a release.

Field Type Required Description
created_at string yes
id string yes
platform string yes windows, macos, linux, ios or android.
release_id string yes
sha256 string yes SHA-256 of the program as shipped, 64 lowercase hex characters.

ReleaseBuilds

Field Type Required Description
data array of ReleaseBuild yes

ReleaseChannel

Field Type Required Description
built_in boolean yes stable and beta exist for every product.
customer_selectable boolean yes End customers may move their licenses into this channel in the customer portal, and back out of it.
entitlement_code string or null no Licenses whose plan grants this entitlement get the channel.
min_app_version string or null no Apps in this channel older than this must update, on top of the product's min_app_version.
name string yes
rank integer yes Higher is earlier and less stable. A license in this channel is offered releases of every channel with the same or a lower rank.

ReleaseChannels

Field Type Required Description
data array of ReleaseChannel yes

ReleaseFile

A file of a release for one platform.

Field Type Required Description
created_at string yes RFC 3339, UTC.
encrypted boolean yes Whether the file is encrypted (encryption when announced). Devices get its content key wrapped for them with each download.
filename string yes
id string yes
platform string yes windows, macos, linux, ios or android.
release_id string yes
sha256 string yes Lower-case hex.
size_bytes integer yes
source_sha256 string or null no For an encrypted file: SHA-256 of the file before encryption, if given when announced (lower-case hex). release-tool publish finds the file again by it.
status ReleaseFileStatus yes
upload any no
uploaded_at string or null no RFC 3339, UTC. When complete found the file in the store.

ReleaseFileStatus

Where a file stands.

Values: pending, ready

ReleaseFiles

Field Type Required Description
data array of ReleaseFile yes

ReleaseKey

A public key for release lists.

Field Type Required Description
created_at string yes RFC 3339.
id string yes
kid string yes PASERK k4.pid of the key; the footer of a release list names it.
name string yes
product_id string yes
public_key string yes The public key as PASERK k4.public.

ReleaseKeyList

The keys of a product in one environment, oldest first.

Field Type Required Description
data array of ReleaseKey yes

ReleaseListOut

A stored release list.

Field Type Required Description
created_at string yes RFC 3339.
kid string yes Key ID that signed it.
product_id string yes
revoked array of string yes Revoked versions.
seq integer yes Sequence number; the highest counts.
token string yes The list as signed by the vendor.
versions array of string yes Listed versions.

ReleaseStatus

Where a release stands.

Values: draft, published, withdrawn

RemoteAction

An action sent to one device.

Field Type Required Description
activation_id string yes
created_at string yes RFC 3339, UTC.
delivered_at string or null no
expires_at string yes
id string yes
license_id string yes
name string yes
params object yes
product_id string yes
sent_by ActionSender yes
status ActionStatus yes

RemoteActionType

An action the vendor defined for a product.

Field Type Required Description
created_at string yes RFC 3339, UTC.
customer_allowed boolean yes Whether end customers may send it from the portal.
description object yes
id string yes
name string yes a-z, 0-9 and _, starting with a letter, up to 64. Fixed.
params object yes Parameters by name, at most 10.
product_id string yes
title object yes By language: en, de.
updated_at string yes

RemoteActionTypes

The definitions of a product, by name.

Field Type Required Description
data array of RemoteActionType yes

RenamePasskey

Field Type Required Description
name string yes 1 to 100 characters.

RenewOrder

Field Type Required Description
days integer or null no Days added to each license's end, or to now if it has passed, 1 to 3650. Default: the duration of the license's plan.
send_email boolean or null no Email the new end to the customer (license_renewed). Default: the mail setting license_emails. true needs a customer with an email address.

ReportCategory

What a report is about.

Values: illegal_content, malware, fraud, intellectual_property, other

ReportReceipt

Field Type Required Description
id string yes
receipt_by_email boolean yes Whether a receipt goes to the address given.

ReportUsage

Field Type Required Description
amount integer or null no Units used, 1 to 1000000000. Default 1.
entitlement string yes Entitlement code whose value in the plan is the quota.
report_id string yes Your ID of this use, 1 to 100 characters, such as the ID of the export. A report with an ID counted before changes nothing.

ResellerQuota

The quota of one reseller for one plan.

Field Type Required Description
environment EnvironmentName yes
member_id string yes
plan_id string yes
remaining integer yes Licenses the reseller can still issue.
updated_at string yes RFC 3339, UTC.
used integer yes Licenses issued within the quota so far.

ResellerQuotas

Field Type Required Description
data array of ResellerQuota yes

Reset

One logged reset of one device.

Field Type Required Description
activation_id string or null no
by ResetActor yes
created_at string yes
id string yes
license_id string yes

ResetActor

Who asked for a reset.

Values: customer, vendor, support

ResetQuota

The plan's self-service rule as it stands for this license now.

Field Type Required Description
cooldown_until string or null no Until when no new device can be bound after a self-service reset.
max_resets integer or null no
next_reset_at string or null no When the next self-service reset becomes possible, if none is now.
period_days integer or null no
remaining integer yes Self-service resets still possible now; 0 without self-service.
self_service boolean yes Whether end customers may reset devices themselves.
used integer yes Self-service resets in the current period.

ResetRequest

Field Type Required Description
self_service boolean no true: the end customer's own reset, e.g. from your portal. The plan's reset rule applies and the quota is counted. Default false: a reset by you or your support, without limit.

ResetResult

Result of a reset.

Field Type Required Description
data array of Reset yes One entry per device that was reset; empty if none was bound.
flagged boolean yes Whether this reset flagged the license for review.
reset_quota ResetQuota yes

ResetRule

Whether and how often end customers may reset their devices themselves (portal, SDK). Vendors and support can always reset.

Field Type Required Description
cooldown_hours integer no Hours after a reset before a new activation, 0 to 720. Default 0.
max_resets integer or null no Resets per period, 1 to 100. Required with self_service.
period_days integer or null no Length of the period in days, 1 to 365. Required with self_service.
self_service boolean no Default false.

Resets

The reset log of a license.

Field Type Required Description
data array of Reset yes Newest first, at most 100.

ResolveCancellation

Field Type Required Description
ends_at string or null no When the contract ends, RFC 3339.
note string or null no What was done, up to 2000 characters. Not sent to the buyer.

ResolveWithdrawal

Field Type Required Description
note string or null no What was decided and done, up to 2000 characters. Not sent to the buyer.

ResolvedConfigValue

One key of a license's config and where its value comes from.

Field Type Required Description
key string yes
scope ConfigScope yes
target_id string or null no
type ConfigKeyType yes
value any yes
value_id string yes

Revoke

Field Type Required Description
reason string or null no Optional, 1 to 500 characters.

Role

Role of a team member (app.member_role).

Values: owner, admin, support, reseller

Rollout

Who is offered a published release (#3).

Field Type Required Description
next_step_at string or null no RFC 3339, UTC. When the share rises to the next step; null once the last step is reached, without a schedule, or after the share was set by hand.
paused boolean yes While paused, the release is offered to no device.
percent integer yes Share of devices, 1 to 100, picked by activation: a device inside the share stays inside when it grows.
step_hours integer or null no Hours per step; null without a schedule.
steps array of integer no Steps the share rises through (#349), copied from the product's rollout_steps when the release was published. Empty without a schedule.

RowSource

Values: key, user, subscription

RuleAction

What a rule does, in order. A closed list: the service carries out each action itself, on the license the event is about (its subject, its data.license_id or, for an order, every license of the order).

RunState

State of a run.

Values: pending, succeeded, skipped, failed

SamlSettings

The SAML side of a connection: what the provider was given and what to register there.

Field Type Required Description
acs_url string yes Register at the provider: assertion consumer service (HTTP-POST).
certificate string yes The provider's signing certificate, PEM.
certificate_expires_at string or null no When the certificate expires. Sign-ins fail after it, so replace it in time.
entity_id string yes Register at the provider: entity ID (audience) of the service provider. Also the URL of its metadata.
metadata_url string yes Metadata of the service provider, for providers that import it.
sso_url string yes The provider's single sign-on URL (HTTP-Redirect binding).

Scheme

Which scheme the window shows.

Values: light, dark, auto

Seller

The seller as the checkout shows it (#380).

Field Type Required Description
address string or null no Postal address, one line per part.
email string or null no
imprint_url string or null no
legal_name string yes
phone string or null no
privacy_url string or null no
terms_text boolean yes The terms are there as text (GET /v1/buy/{id}/legal).
terms_url string or null no
update_months integer or null no Minimum period of software updates in months from provision (#598), null when the vendor gives none.
withdrawal boolean yes A withdrawal policy is there as text, in English, German or both.

SendNewsletter

Options for sending.

Field Type Required Description
confirm_no_advertising boolean no Required true for service information: you confirm it carries no advertising, no offers, coupons or products the license does not cover. Ignored for a newsletter.
confirm_similar_products boolean no Required true for advertising to existing customers: you confirm it advertises only your own products that serve the same need as those the customers bought (§ 7 Abs. 3 UWG). Ignored otherwise.

SendRemoteAction

An action to send.

Field Type Required Description
name string yes Name of a definition of the license's product.
params object no Values for the definition's parameters.
ttl_s integer or null no Seconds until the action expires if the app has not taken it: 60 to 604800 (7 days), default 86400.

ServiceKind

What a plan sells, for the right of withdrawal in the checkout (#570; § 356 Abs. 5 and 6 BGB).

Values: digital_content, digital_service

ServiceReason

Why service information goes out. Anything else, such as an offer or a new product, is advertising and goes as a newsletter.

Values: security, maintenance, expiry, new_version

Session

A running session.

Field Type Required Description
activation_id string yes
id string yes
last_heartbeat_at string yes
license_id string yes
revoked_at string or null no Set once revoked; the session ends at its next heartbeat.
started_at string yes

SessionList

Running sessions of a license.

Field Type Required Description
data array of Session yes Oldest first.

SetConfigValue

Field Type Required Description
key string yes
scope ConfigScope yes
target_id string or null no Plan ID plan_..., entitlement ID ent_... or license ID lic_... of this product. Leave out for product.
value any yes Boolean, number or string that fits the key.

SetLicenseChannel

Field Type Required Description
channel string or null no A channel of the product; null falls back to entitlement and plan.

SetPortalChannel

Field Type Required Description
channel string or null no A selectable channel; null goes back to the default of the plan.

SetUsageCap

The new cap of usage billing.

Field Type Required Description
usage_cap integer yes Euro cents per month, 0 to 100,000,000. 0 turns usage billing off.

SettingsInput

Settings to change; missing fields stay, null clears.

Field Type Required Description
attestation string or null no off, flag or require.
auto_suspend_signals array or null no Any of forked, two_devices, withheld, two_versions, many_resets; [] flags every signal for review only.
build_check string or null no off, flag or deny.
crash_auto_resolve_days integer or null no 1 to 90.
crash_auto_resolve_devices integer or null no 1 to 1,000,000; null turns it off.
crash_reports boolean or null no Take crash and error reports from the SDK.
crash_retention_days integer or null no 1 to 90. Applies to reports received from now on.
keep_releases integer or null no 1 to 100.
min_app_version string or null no 1 to 64 of 0-9 A-Z a-z . + -, e.g. 2.4.0.
min_version_after_days integer or null no 1 to 365; null turns it off.
modules boolean or null no Allow assets that are modules signed by you.
offline_tolerance_days integer or null no 0 to 30.
public_changelog boolean or null no Publish the notes of published releases at GET /v1/changelog/{product_id}.
rollback_halt_min integer or null no 1 to 10000.
rollback_halt_percent integer or null no 1 to 100.
rollout_step_hours integer or null no 1 to 720.
rollout_steps array or null no 2 to 10 rising percentages ending with 100, such as [5, 25, 50, 100]; [] turns the schedule off. Applies to releases published from now on.
tamper_response string or null no off, report or terminate.
token_validity_s integer or null no 60 to 2592000.
update_message string or null no 1 to 500 characters.
update_url string or null no https:// link, at most 2000 characters.

ShopConnection

A connected shop, without its secret.

Field Type Required Description
created_at string yes
disabled boolean yes A disabled connection answers its webhooks with 404.
environment EnvironmentName yes
id string yes
name string yes
products array of ShopProduct yes
send_email boolean or null no Email the keys to the buyer; null follows the mail settings.
shop ShopName yes
shop_domain string or null no The shop's own host; webhooks from another shop are refused. Not used for Stripe, whose webhooks are bound to the signing secret.
updated_at string yes
webhook_path string yes Where the shop sends its webhooks, on this API's host.

ShopConnectionPatch

Field Type Required Description
api_key string or null no Stripe, Paddle, Gumroad and Google Play: a new key.
disabled boolean or null no
name string or null no
products array or null no Replaces all mappings.
secret string or null no A new secret, after rotating it at the shop.
send_email boolean or null no
shop_domain string or null no

ShopConnections

Field Type Required Description
data array of ShopConnection yes

ShopName

A shop Noctix can receive orders from.

Values: shopify, woocommerce, stripe, app_store, google_play, paddle, gumroad

ShopProduct

Which shop product becomes which plan.

Field Type Required Description
external_id string yes The shop's product ID or variant ID (Shopify variant_id, WooCommerce variation_id). A mapping for the variant wins over one for its product.
plan_id string yes Plan in this environment.
quantity integer no Licenses per unit bought, 1 to 100.

ShopWebhookReceipt

What came of a webhook.

Field Type Required Description
status string yes handled, ignored, duplicate, deferred (account blocked; it is replayed once unblocked) or ping.

SignalAction

What a signal does under the product's rule.

Values: flag, suspend

SignalRule

Field Type Required Description
action SignalAction yes
signal string yes

SigningKey

A public signing key.

Field Type Required Description
created_at string yes RFC 3339.
kid string yes PASERK k4.pid of the key, as in the kid of the token footer.
product_id string yes
public_key string yes The public key as PASERK k4.public, the form the SDKs take.
status KeyStatus yes
status_changed_at string yes When the status last changed, RFC 3339.

SigningKeyList

The keys of a product in one environment, newest first.

Field Type Required Description
data array of SigningKey yes

SkippedRow

A row that is not imported, or imported with a change.

Field Type Required Description
reason string yes missing_key, missing_username, invalid_username, duplicate, banned, banned_user, unmapped_level, unknown_subscription, invalid_expiry, expired, already_imported; under warnings invalid_email (the customer is imported without the address).
reference string yes The old key, the username, or username/subscription.
row integer yes
source RowSource yes

SmtpSecurity

How the connection is encrypted. Unencrypted sending is not offered.

Values: starttls, tls

SsoConnection

The team's SSO connection. The client secret is never shown.

Field Type Required Description
client_id string or null no OIDC only.
created_at string yes
default_role any no
domains array of SsoDomain yes The DNS proof of each email domain, in the same order.
email_domains array of string yes Only people with an email address in these domains may sign in or be created through SCIM, and only once the domain is proven.
enforced boolean yes Members reach the team only with an SSO session.
groups_claim string yes Claim of the ID token (OIDC) or attribute of the assertion (SAML) that lists the person's groups.
id string yes
issuer string yes OIDC: the provider's issuer. SAML: the provider's entity ID.
last_used_at string or null no
protocol SsoProtocol yes
redirect_uri string yes OIDC: register this at the provider as the redirect URI.
role_mappings array of GroupRole yes Highest role wins. Empty: roles are managed in the team, not at the provider.
saml any no
scopes array of string yes OIDC only; empty for SAML.
sign_in_url string yes Page of the dashboard where members start signing in.
updated_at string yes
verified_at string or null no First sign-in since issuer or client changed. Needed to enforce.

SsoDomain

The proof of one email domain: a TXT record with the token.

Field Type Required Description
domain string yes
record DnsRecord yes The TXT record to set at the domain's DNS.
status string yes pending until the TXT record is found, then verified.
verified_at string or null no

SsoProtocol

How the team's identity provider signs people in.

Values: oidc, saml

SsoRedirect

Where to send the browser.

Field Type Required Description
authorization_url string yes The provider's sign-in page. Valid for 10 minutes, in this browser.

SsoSignedIn

The signed-in user and the team the session is for.

Field Type Required Description
team_id string yes The session works in this team only. Send it as Team-Id.
user User yes

StartBuyCheckout

What the buyer enters before paying.

Field Type Required Description
ads_notice_version string or null no ads_notice of the button when it named one: the buyer saw the notice that the vendor uses the address for similar products and that they can object. Missing or another version then is refused with 409 ads_notice_outdated.
ads_objection boolean no The buyer objects right away to advertising to existing customers.
consent boolean yes The buyer agrees that the license is provided at once and knows that this ends the right of withdrawal. Must be true.
consent_version string yes consent_version of the button: the text the buyer agreed to, in the language of locale. Another version is refused with 409 consent_outdated.
coupon string or null no A coupon code (#74). The buyer pays the price after its discount; a code that cannot be redeemed is refused like in POST /v1/buy/{id}/coupon.
email string yes Where the license comes by email; also the buyer's customer record at the vendor.
embed any no
locale any no

StartConnection

Field Type Required Description
provider string yes Name of a provider adapter, as offered by this service.
return_url string yes https URL the provider returns the vendor to.

StartMicrosoft

Field Type Required Description
environment any no
hostname string or null no The host name the portal is open under, if it is a verified portal domain of the vendor (#450): Microsoft then sends the browser back there. Otherwise, or left out, to the platform's portal.
team_id string yes The vendor's team.

StartRegistration

Field Type Required Description
commercial_use boolean yes Must be true: the platform is for commercial use only.
email string yes
name string yes 1 to 100 characters.

StartSso

Field Type Required Description
connection_id string yes The team's connection, from its sign-in link.

StartUsageCheckout

Field Type Required Description
account_id string yes A connected payment account of this environment.
cancel_url string yes https URL the buyer returns to without paying.
pack_id string yes A pack of the license's plan, not archived.
quantity integer or null no Packs to buy, 1 to 100; 1 if left out.
success_url string yes https URL the buyer returns to after paying.

StartedBuyCheckout

A started checkout: the buyer pays at url or in payment_form.

Field Type Required Description
checkout_id string yes
payment_form any no
receipt string yes Shown only here. Send it as Buy-Receipt to read the result.
url string or null no The provider's payment page; null with payment_form.

StateName

The six states of a license. Only revoked is final.

Values: unused, active, paused, expired, suspended, revoked

Storefront

The shop of one environment.

Field Type Required Description
button_ids array of string yes Buy buttons of this environment in the shop's order. Inactive ones stay in the list but the shop leaves them out.
enabled boolean yes Off: the shop's page is not found.
intro string or null no
path string or null no Path of the shop's page below the web app's locale, such as /store/kestrel (?environment=test in test); null without a short name.
slug string or null no The team's short name in the shop's address, the same in test and live; null until set.
title string or null no
vault_domains array of string yes Hosts that may embed the key vault button (#482), lower case, *. for all subdomains. Empty: the key vault cannot be embedded.

StorefrontItem

One buy button in the shop. Its checkout shows the full summary.

Field Type Required Description
currency string yes
device_limit integer yes
duration_days integer or null no
id string yes The buy button; its checkout is at /{locale}/buy/{id}.
interval_days integer or null no
label string yes
plan Named yes
product Named yes
term_model TermModel yes
unit_amount integer yes

StyleColors

The colors of one scheme as the vendor set them, #rrggbb. null: the Noctix token; for primary the accent color of the branding first.

Field Type Required Description
background string or null no Window background.
border string or null no Lines and frames.
primary string or null no Main action: the buy button and the order button.
text string or null no Text.

Subscriber

A newsletter subscriber and the evidence of their consent.

Field Type Required Description
confirmed_at string or null no When the subscriber confirmed. RFC 3339, UTC.
created_at string yes RFC 3339, UTC.
customer_id string yes The end customer; erasing them erases the subscription.
email string yes The address the confirmation went to, lower case.
environment EnvironmentName yes
id string yes
locale Locale yes
requested_at string yes The last request for a confirmation email. RFC 3339, UTC.
source string yes Where the request came from, as you named it.
status SubscriberStatus yes
unsubscribed_at string or null no RFC 3339, UTC.
unsubscribed_by any no

SubscriberStatus

Where a subscription stands.

Values: pending, confirmed, unsubscribed

SubscriptionRequested

The subscriber after a request, and whether a confirmation email went out.

Field Type Required Description
confirmation_sent boolean yes false if the subscription was confirmed already, or the address had 3 confirmation emails in the last hour.
subscriber Subscriber yes

Suspend

Field Type Required Description
reason string yes Shown to members and in the audit log, 1 to 500 characters.

TaxNote

The tax note next to the price (§ 6 PAngV, § 19 UStG).

Values: vat_included, small_business

Team

A team of the signed-in user.

Field Type Required Description
id string yes
member_id string yes The user's member ID in this team.
name string yes
role Role yes The user's role in this team.
sso_enforced boolean yes Members reach this team only with a session opened with SSO.
state TeamStateName yes

TeamFileUsage

File storage and downloads (#733). Sizes in bytes, 1 GB = 10^9 bytes; amounts in euro cents, net. Included amounts are null by contract.

Field Type Required Description
average_storage_bytes integer yes Average storage of this month: one sample per day.
download_price_per_gb integer yes Euro cents per GB downloaded above the allowance.
downloaded_bytes integer yes Download links handed out this month, by file size, for your customers and for you.
downloads_included_bytes integer or null no
storage_included_bytes integer or null no
storage_price_per_gb integer yes Euro cents per GB and month of storage above the allowance.
stored_bytes integer yes Release files, assets and debug symbols, both environments. Export packages do not count.
uploads_stopped boolean yes New uploads are refused: the allowance is used up without usage billing, or the usage reached the cap. Downloads keep working.
usage_billing boolean yes The plan bills usage above the allowance (Pro and Business with a cap above 0).
usage_cap integer yes Your monthly cap of usage billing, euro cents. 0 turns usage billing off: uploads then stop at the allowance.
usage_cost integer yes Usage above the allowance this month so far, euro cents.

TeamPlan

The team's Noctix plan, its limits and its use.

Field Type Required Description
change_due any no
files TeamFileUsage yes File storage and downloads this calendar month (UTC).
limits TeamPlanLimits yes
over_license_limit boolean yes More active licenses than the plan includes. Licenses keep working; after two months over the limit the next plan applies from the next billing period.
plan string yes free, pro, business or enterprise.
usage TeamPlanUsage yes

TeamPlanChange

The plan a team moves to after two months over its limit (#719).

Field Type Required Description
active_licenses integer yes Highest count of active licenses this month.
extra_blocks integer yes Add-on blocks of 1,000 active licenses on Business.
plan string yes

TeamPlanLimits

The plan's limits. null means set by contract.

Field Type Required Description
active_licenses integer or null no Active licenses in live, add-on blocks included.
event_days integer yes Days events are kept.
extra_blocks integer yes Add-on blocks of 1,000 active licenses the team has.
max_extra_blocks integer yes Add-on blocks the plan allows.
own_keys_per_month integer or null no Licenses you create yourself in live per calendar month (UTC). Licenses from the checkout, shops and app trials never count, nor do keys with a term of at most trial_max_days.
seats integer or null no Members plus open invitations.
trial_max_days integer or null no

TeamPlanUsage

What the team uses now.

Field Type Required Description
active_licenses integer yes Licenses in live that have not ended.
own_keys_this_month integer or null no Own keys in live this calendar month; null while the plan has no such limit.
seats integer yes Members plus open invitations.

TeamStateName

active; suspended: licensing and selling are blocked, everything else works; closed: read-only, data can still be exported.

Values: active, suspended, closed

TermModel

When a license made from the plan ends.

Values: perpetual, from_activation, from_creation, fixed_date, subscription, trial

TestAccess

What a connection may do in one environment.

Values: none, read, write

TestAutomation

A rule to try on a past event.

Field Type Required Description
actions array of RuleAction yes
conditions array of Condition no
event_id string or null no An event of the trigger's type in this environment. Default: the newest one.
threshold any no
trigger string yes

TestMailSmtp

Where the test email goes.

Field Type Required Description
to string yes One of your own addresses.

TestNewsletter

Who gets a test email.

Field Type Required Description
locale any no
to string yes The address of a member of your team.

Threshold

Run only from the count-th event of the trigger about the same license within within_s seconds.

Field Type Required Description
count integer yes 2 to 100.
within_s integer yes 60 to 2592000 (30 days).

TotpCode

Field Type Required Description
code string yes Six digits from the authenticator app.

TotpSetup

A new TOTP secret for an authenticator app.

Field Type Required Description
secret string yes Base32, for manual entry.
uri string yes otpauth:// URI for a QR code.

TotpStatus

TOTP state of the signed-in user.

Field Type Required Description
confirmed_at string or null no
enabled boolean yes true once a code was confirmed; only then recovery works.

Transfer

Field Type Required Description
customer_id string or null no The new customer, or null for none.

UnsubscribedBy

Who ended a subscription.

Values: subscriber, vendor

UpdateAsset

Changes to an asset; fields left out stay.

Field Type Required Description
default boolean or null no Making an asset the default takes it from the others of its group.
description object or null no Replaces all descriptions.
entitlement string or null no Needed when visibility becomes entitled; dropped for the others.
group string or null no null takes the asset out of its group, and so its default.
title object or null no Replaces all titles.
visibility any no

UpdateAutomation

Fields to change; threshold: null removes the threshold.

Field Type Required Description
actions array or null no
conditions array or null no
enabled boolean or null no
name string or null no
threshold any no
trigger string or null no

UpdateBuyButton

Fields to change; omitted fields stay.

Field Type Required Description
active boolean or null no
allowed_domains array or null no
currency string or null no
label string or null no
unit_amount integer or null no

UpdateCheckoutStyle

Changes to the style. Missing fields stay.

Field Type Required Description
custom_css string or null no At most 10000 bytes; null or empty removes it. Refused with invalid_css and the reason.
dark any no
density any no
font any no
light any no
radius integer or null no 0 to 24 px; null returns to the token.
scheme any no

UpdateColors

Changes to the colors of one scheme. Missing fields stay; null returns to the token.

Field Type Required Description
background string or null no #rrggbb.
border string or null no #rrggbb.
primary string or null no #rrggbb: white or ink text on it reaches 4.5:1, and it reaches 3:1 on the background.
text string or null no #rrggbb, at least 4.5:1 on the background.

UpdateConfigKey

Changes to a key's rules; null removes a rule. Every value of the key must fit the new rules.

Field Type Required Description
description string or null no
max_length integer or null no
maximum number or null no
minimum number or null no

UpdateCoupon

Fields to change; omitted fields stay, null clears the date or the limit. The code and the kind of discount stay; for others, create another coupon.

Field Type Required Description
amount_off integer or null no For an amount coupon; the currency stays.
ends_at string or null no
max_redemptions integer or null no
percent_off integer or null no For a percentage coupon.
plan_ids array or null no
starts_at string or null no

UpdateCustomer

Field Type Required Description
email string or null no null removes it.
external_user_id string or null no Links the customer to your user account; null unlinks.
locale any no
metadata object or null no Replaces the metadata.
name string or null no

UpdateDeviceAttestation

Changes. Missing fields stay; null clears.

Field Type Required Description
android_cert_digests array or null no Up to 10 SHA-256 digests, as hex (with or without colons, as the Play Console shows them) or base64.
android_device_verdict any no
android_package string or null no The application ID of the Android app. null also removes the Play response keys.
apple_bundle_id string or null no The CFBundleIdentifier, on macOS the signing identifier.
apple_team_id string or null no 10 capital letters and digits. Set together with apple_bundle_id; null on both switches App Attest off.
play_keys any no

UpdateDownloadButton

Fields to change; omitted fields stay. buy_button_id: null removes the buy button.

Field Type Required Description
active boolean or null no
allowed_domains array or null no
buy_button_id string or null no
label string or null no

UpdateEntitlement

Field Type Required Description
label string yes 1 to 200 characters.

UpdateLegalDetails

Changes to the legal details. Missing fields stay; null removes.

Field Type Required Description
address string or null no 1 to 500 characters, several lines.
email string or null no
imprint_url string or null no https://, at most 2000 characters.
legal_name string or null no 1 to 200 characters on one line.
phone string or null no 3 to 40 characters: digits, spaces and + - / ( ).
privacy_url string or null no https://, at most 2000 characters.
tax_note any no
terms_text string or null no At most 100000 characters.
terms_url string or null no https://, at most 2000 characters.
update_months integer or null no 1 to 600 months.
withdrawal_de string or null no At most 50000 characters.
withdrawal_en string or null no At most 50000 characters.

UpdateLicense

Fields to change; missing fields stay, null clears.

Field Type Required Description
canary boolean or null no Makes the license a canary: it gets every published release at once, whatever the rollout share.
device_limit integer or null no 1 to 10000; null returns to the plan's limit. Devices already bound stay bound when the limit goes down.
flag_reason string or null no A reason flags the license for review; null clears the flag after review. Up to 500 characters.
metadata object or null no Replaces the metadata.
notes string or null no
order_ref string or null no
tags array or null no Replaces all tags.

UpdateMailSettings

Changes to the email settings. Missing fields stay; null removes.

Field Type Required Description
brand_color string or null no #rrggbb. Refused with brand_color_low_contrast when neither white nor ink text reaches 4.5:1 on it.
brand_name string or null no 1 to 100 characters.
default_locale any no
existing_customer_ads boolean or null no
expiry_emails boolean or null no
license_emails boolean or null no
logo_url string or null no https://, at most 2000 characters.
redeem_url string or null no With {key}; https:// or an app scheme such as acme://, at most 2000 characters.
support_email string or null no

UpdatePlan

Fields to change; missing fields stay, null clears. Existing licenses keep their dates; rules such as the device limit and entitlements apply to them from their next check.

Field Type Required Description
channel string or null no A channel of the product; null: stable.
device_binding boolean or null no
device_limit integer or null no
duration_days integer or null no
ends_at string or null no
entitlements object or null no Replaces all entitlements of the plan.
grace_days integer or null no
idle_release_minutes integer or null no
name string or null no
offline_license_days integer or null no
offline_tolerance_days integer or null no
reset_rule any no
service_kind any no
session_limit integer or null no
term_model any no

UpdatePortalMe

Changes to the signed-in customer. Only the language for now.

Field Type Required Description
locale Locale yes Language of emails to the customer, e.g. the license email of the next order.

UpdateProduct

Fields to change; missing fields stay.

Field Type Required Description
heartbeat_interval_s integer or null no
identity_mode any no
license_key_format any no
name string or null no
settings any no

UpdateRelease

Fields to change; missing fields stay. Not for a withdrawn release.

Field Type Required Description
min_from_version string or null no Lowest app version a device may update from, SemVer below the release's version; null removes the condition.
notes object or null no Replaces all notes.
platforms array or null no

UpdateRemoteActionType

Changes to a definition; fields left out stay. The name is fixed.

Field Type Required Description
customer_allowed boolean or null no
description object or null no
params object or null no Replaces all parameters. Actions already queued keep theirs.
title object or null no

UpdateRollout

Fields of the rollout to change; missing fields stay.

Field Type Required Description
paused boolean or null no
percent integer or null no 1 to 100.

UpdateStorefront

Changes to the shop. Missing fields stay; null clears.

Field Type Required Description
button_ids array or null no Up to 24 buy buttons of this environment, each once.
enabled boolean or null no Needs a short name.
intro string or null no Up to 1000 characters, plain text.
slug string or null no 3 to 40 lower case letters, digits and single hyphens. Changes the address in both environments. null removes it and switches the shop off in this environment.
title string or null no Up to 80 characters.
vault_domains array or null no Up to 20 hosts that may embed the key vault button.

UpdateUsagePack

Field Type Required Description
amount integer or null no
currency string or null no
units integer or null no

UploadTarget

How to upload the file: one PUT of the whole file to url with exactly these headers. The store refuses a body with another size or checksum.

Field Type Required Description
expires_at string yes RFC 3339, UTC.
headers object yes
method string yes
url string yes

UsageCounter

Use of one quota of a license.

Field Type Required Description
entitlement string yes Entitlement code.
granted integer yes Units granted on top of the quota.
quota integer or null no The plan's quota: the entitlement's value in the plan. null if the plan grants no quota for it any more.
remaining integer yes quota + granted - used, at least 0.
updated_at string or null no RFC 3339; null before the first use or grant.
used integer yes

UsageList

Field Type Required Description
data array of UsageCounter yes Every quota of the license's plan, and every entitlement the license used or was granted before, by code.

UsagePack

A pack of quota units for sale.

Field Type Required Description
amount integer yes Price of one pack in the currency's minor unit.
archived_at string or null no RFC 3339, UTC; null while for sale.
created_at string yes RFC 3339, UTC.
currency string yes ISO 4217, lowercase.
entitlement string yes Entitlement code of the quota, such as exports.
environment EnvironmentName yes
id string yes
plan_id string yes Licenses of this plan can buy the pack.
units integer yes Units the pack grants.
updated_at string yes RFC 3339, UTC.

UsagePackList

Field Type Required Description
data array of UsagePack yes

UsageReported

Field Type Required Description
counted boolean yes false: a report with this report_id was counted before, and usage is the counter of its entitlement now.
usage UsageCounter yes

User

The signed-in user.

Field Type Required Description
created_at string yes
email string yes
id string yes
name string yes

UserTokenKey

A public key for user tokens.

Field Type Required Description
created_at string yes RFC 3339.
id string yes
kid string yes PASERK k4.pid of the key; the footer of a user token names it.
name string yes
product_id string yes
public_key string yes The public key as PASERK k4.public.

UserTokenKeyList

The keys of a product in one environment, oldest first.

Field Type Required Description
data array of UserTokenKey yes

WebhookDelivery

One event sent to one endpoint.

Field Type Required Description
attempts integer yes
completed_at string or null no
created_at string yes
endpoint_id string yes
event_id string yes The event, also the webhook-id header and the body's id.
event_type string yes
history array of WebhookDeliveryAttempt yes The latest attempts (at most 20), oldest first.
id string yes
next_attempt_at string or null no When the next attempt is due, while pending.
state WebhookDeliveryState yes

WebhookDeliveryAttempt

One attempt of a delivery.

Field Type Required Description
at string yes RFC 3339, UTC.
duration_ms integer yes
error string or null no Why it failed; null on success.
status integer or null no HTTP status of the answer, null without one.

WebhookDeliveryState

State of a delivery.

Values: pending, succeeded, failed

WebhookEndpoint

A webhook endpoint, without its secret.

Field Type Required Description
created_at string yes
description string or null no
enabled boolean yes A disabled endpoint receives nothing; events in that time are not sent later.
environment EnvironmentName yes
event_types array of string yes Event types this endpoint receives.
format WebhookFormat yes
id string yes
previous_secret_expires_at string or null no While the secret is rotated: until when the previous secret signs as well.
updated_at string yes
url string yes

WebhookEndpointPatch

Changes to an endpoint; missing fields stay.

Field Type Required Description
description string or null no
enabled boolean or null no
event_types array or null no
url string or null no

WebhookEndpointWithSecret

An endpoint with its secret, only in the answer that creates it or rotates the secret.

Combines WebhookEndpoint and the fields below.

Field Type Required Description
secret string or null no Signing secret (whsec_ and 32 bytes in Base64). Shown only now; null in the replay of an idempotent request and for the format discord, which is not signed.

WebhookFormat

What an endpoint receives.

Values: standard, discord

Withdrawal

A withdrawal declaration, as the vendor sees it.

Field Type Required Description
confirm_email string yes Where the receipt went.
contract string yes Order number or license key as entered.
customer_id string or null no
environment EnvironmentName yes
id string yes
locale Locale yes
name string yes
note string or null no The vendor's note when resolving.
order_id string or null no The order the contract names, if it names exactly one.
purchase any no
received_at string yes When the declaration arrived. RFC 3339, UTC.
resolved_at string or null no RFC 3339, UTC.
status WithdrawalStatus yes

WithdrawalCompensation

The buyer's share for a digital service used until the withdrawal, in the currency's minor unit: the price of the term times the time used, divided by the term, rounded down.

Field Type Required Description
amount integer yes What the buyer pays for the time used.
currency string yes ISO 4217, lowercase.
days_used integer yes Days begun from the order to the declaration.
refund integer yes What is left of the price to refund.
term_days integer yes Days of the term the price is for.

WithdrawalPurchase

What is on record about the purchase a declaration names, for the vendor's decision whether the right of withdrawal still existed.

Field Type Required Description
checkout_id string or null no The checkout the order came from, if it came from one.
compensation any no
confirmation any no
consent any no
order_number string yes The order number.
ordered_at string yes When the order was placed. RFC 3339, UTC.
payment any no
period_ends_at string yes End of the 14-day withdrawal period counted from the order. RFC 3339, UTC. For digital content the right may have ended earlier with the provision; for a digital service it lasts this long.
refunded boolean yes Whether the order is refunded already.
service_kind any no

WithdrawalReceipt

The receipt of a declaration: its content and the time it arrived, to keep and print. It confirms the receipt, not that the withdrawal is valid.

Field Type Required Description
confirm_email string yes
contract string yes
id string yes
name string yes
received_at string yes RFC 3339, UTC.
vendor string yes The vendor's name.

WithdrawalStatus

Whether the vendor handled a declaration.

Values: open, resolved

WrappingKey

The wrapping key of a product for encrypted release files.

Field Type Required Description
environment EnvironmentName yes The environment the key belongs to: that of the request. A wrapped key names it (protocol section 6.12).
key_id string yes ID to send with an encrypted file as encryption.wrapping_key_id.
product_id string yes
public_key string yes Raw X25519 public key, base64url without padding.