Channel model (E23): partner hierarchy NewTurn → distributor → reseller or MSP → customer tenant, onboarding lifecycle, entitlement pools, customer onboarding, offline license requests, deal registration, customer-granted delegations (tenancy rule 7), brand studio (co-brand and white-label), commission statements and XLAs. Authorization: NewTurn means a non-JIT platform-tenant operator session; a partner admin sees only its own partner and everything downstream. Anything not visible to the caller returns 404.
Version 1.0.0. Download the OpenAPI specification.
Authentication: bearer.
Operations
| Method | Path | Summary |
|---|
GET | /v1/branding/assets/{assetId} | A published partner logo (anonymous; content-addressed and immutable) |
GET | /v1/branding/by-host | Public brand for a verified white-label custom domain (anonymous; used by the SPA before sign-in) |
GET | /v1/branding/tenant | The agent-surface brand of the caller's own tenant (TenantRead; ADR-0049) |
GET | /v1/commissions/{year}/{month}/payouts.csv | Payout report for all partners (NewTurn only) |
GET | /v1/customers/{tenantId}/xla-report/{year}/{month} | xlaReport |
GET | /v1/customers/{tenantId}/xlas | listXlas |
POST | /v1/customers/{tenantId}/xlas | addXla |
DELETE | /v1/customers/{tenantId}/xlas/{xlaId} | removeXla |
POST | /v1/deals/override | NewTurn reassigns a domain; audited with a mandatory reason |
GET | /v1/delegations | Customer admin sees own tenant's delegations; partner admin sees those granted to it |
POST | /v1/delegations | Customer tenant admin grants a partner time-bound access (1 hour to 90 days) |
DELETE | /v1/delegations/{id} | revokeDelegation |
GET | /v1/delegations/check | Reusable delegation check (HttpDelegationChecker). 200 only when allowed; otherwise 404. |
GET | /v1/internal/channel-attribution | Channel attribution for platform KPIs (operator-console only) |
GET | /v1/partner-content/installs | The tenant's installs including uninstalled ones (TenantRead) |
POST | /v1/partner-content/installs | Install an approved listing for the caller's tenant (tenant admin) |
DELETE | /v1/partner-content/installs/{installId} | Uninstall (tenant admin); the row is kept for revenue history |
GET | /v1/partner-content/installs/{installId}/signed | The NewTurn-signed document of an active install |
GET | /v1/partner-content/listings | Approved partner content customers can install (TenantRead) |
GET | /v1/partner-content/review | Review queue of submitted and in-review listings (NewTurn operators) |
POST | /v1/partner-content/review/{listingId}/{decision} | Start review, approve (content-service signs the reviewed bytes) or reject with a note (NewTurn operators) |
GET | /v1/partners | Partners visible to the caller (NewTurn all; partner admin own subtree) |
POST | /v1/partners | Register a partner (NewTurn anywhere; distributor admin under itself) |
GET | /v1/partners/{id} | getPartner |
POST | /v1/partners/{id}/activate | NewTurn activates with commercial terms inside the configured margin bands |
POST | /v1/partners/{id}/agreement | Partner accepts the agreement (KYC must be approved) |
GET | /v1/partners/{id}/brand | getBrand |
PUT | /v1/partners/{id}/brand | Save a brand profile (validated per program, WCAG AA contrast) |
GET | /v1/partners/{id}/brand/assets | The partner's uploaded logos (the partner itself or NewTurn) |
POST | /v1/partners/{id}/brand/assets | Upload a logo variant (the partner itself or NewTurn) |
GET | /v1/partners/{id}/brand/assets/{assetId} | One of the partner's logos, published or not (the partner itself or NewTurn; for previews in the brand studio) |
GET | /v1/partners/{id}/certificate-brand | getCertificateBrand |
PUT | /v1/partners/{id}/certification | setCertification |
PUT | /v1/partners/{id}/certified-headcount | reportCertifiedHeadcount |
GET | /v1/partners/{id}/commissions/{year}/{month} | Monthly commission statement (payee or NewTurn only) |
GET | /v1/partners/{id}/customers | Customers of the partner subtree |
POST | /v1/partners/{id}/customers | Onboard a customer; draws from the pool, creates the tenant and its partner-sold subscription |
POST | /v1/partners/{id}/customers/{tenantId}/subscription | Request (again) a customer's partner-sold subscription |
GET | /v1/partners/{id}/deals | listDeals |
POST | /v1/partners/{id}/deals | Register a deal for a customer domain (first valid registration wins until expiry) |
GET | /v1/partners/{id}/domain/challenge | DNS records a white-label partner must publish |
POST | /v1/partners/{id}/domain/verify | Verify CNAME, ownership TXT, SPF, DKIM; request TLS when ownership is proven |
GET | /v1/partners/{id}/eligibility | getCertificationEligibility |
GET | /v1/partners/{id}/entitlements | Pool and ledger |
POST | /v1/partners/{id}/entitlements/allocate | NewTurn allocates devices to a partner pool |
POST | /v1/partners/{id}/entitlements/release | NewTurn returns drawn devices to a partner pool (customer left or licence expired; audited entitlement.released) |
POST | /v1/partners/{id}/entitlements/sub-allocate | A distributor passes devices to a direct downstream partner |
POST | /v1/partners/{id}/kyc/approve | NewTurn approves KYC |
POST | /v1/partners/{id}/kyc/submit | Partner submits KYC |
POST | /v1/partners/{id}/license-requests | Offline (air-gapped) license request against the pool; NewTurn signs, partners never do |
GET | /v1/partners/{id}/marketplace/listings | The partner's marketplace submissions in every state (the partner itself or NewTurn) |
POST | /v1/partners/{id}/marketplace/listings | Submit content in the library format for review (the partner's own admin; active partners only) |
POST | /v1/partners/{id}/marketplace/listings/{listingId}/withdraw | Withdraw a submission or an approved listing (no new installs afterwards) |
GET | /v1/partners/{id}/marketplace/revenue/{year}/{month} | Revenue share per install for the month (the partner itself or NewTurn) |
POST | /v1/partners/{id}/reinstate | reinstatePartner |
POST | /v1/partners/{id}/suspend | suspendPartner |
PUT | /v1/partners/{id}/terms | updateTerms |
GET | /v1/partners/summary | Every partner with its device pool and the configured margin bands (NewTurn only; vendor portal) |
GET | /v1/trust/access-requests | Access requests of the caller tenant |
POST | /v1/trust/access-requests | Request access to confidential documents (needs the current NDA) |
GET | /v1/trust/admin/access-requests | Access requests for review (NewTurn operators) |
POST | /v1/trust/admin/access-requests/{id}/{decision} | Approve (access for the configured validity) or reject a pending request (NewTurn operators) |
POST | /v1/trust/admin/documents | Publish a new immutable document version (NewTurn operators) |
GET | /v1/trust/admin/downloads | Download records with their watermark text (NewTurn operators) |
GET | /v1/trust/documents | Latest version of every Trust Center document with whether the caller may download it |
GET | /v1/trust/documents/{id}/download | Download a document; audited. PDFs carry the watermark on every page and Markdown as a leading quote; the text is also in X-Dexwize-Watermark |
GET | /v1/trust/nda | Current click-through NDA and whether the caller accepted this version |
POST | /v1/trust/nda/accept | Accept the NDA version shown (recorded with user, tenant, time and version) |
GET | /v1/trust/public | Public Trust page (anonymous) with non-confidential documents, the status link and what is available under NDA |
GET | /v1/trust/public/documents/{id}/content | Content of a non-confidential document (anonymous) |
GET /v1/branding/assets/{assetId}
A published partner logo (anonymous; content-addressed and immutable)
Serves a logo only after a saved brand profile has referenced it (verification pages, white-label sign-in pages, report and certificate rendering and the Teams package need it without a user token). Unpublished uploads are 404 here. The bytes never change for an id, so responses are cacheable for a year (Cache-Control public, max-age=31536000, immutable) with the id as the ETag. Rate-limited to 300 requests per minute per client IP.
| Parameter | In | Type | Required | Description |
|---|
assetId | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | The PNG | |
| 304 | Not modified (If-None-Match matched) | |
| 404 | Unknown or unpublished asset | |
| 429 | Rate limit exceeded | |
GET /v1/branding/by-host
Public brand for a verified white-label custom domain (anonymous; used by the SPA before sign-in)
Only verified domains of active white-label partners resolve; unknown and unverified hosts are both 404. Cached for 60 seconds (Cache-Control public, max-age=60) and rate-limited to 60 requests per minute per client IP, in addition to gateway limits.
| Parameter | In | Type | Required | Description |
|---|
host | query | string | yes | Host name; any port is ignored |
| Status | Description | Body |
|---|
| 200 | OK | PublicBrand |
| 400 | Missing or invalid host | |
| 404 | No verified brand for this host | |
| 429 | Rate limit exceeded | |
GET /v1/branding/tenant
The agent-surface brand of the caller's own tenant (TenantRead; ADR-0049)
For enrollment-service (agent tray names in the device config) and employee-agent-service (Teams replies and app package), with tenant-scoped service tokens. The tenant comes from the token. A tenant without an active owning partner gets the default brand; a co-brand partner's tenant keeps the product and agent names and adds the partner name; a white-label partner's tenant gets the partner's product and agent names while the partner meets the white-label certification rule, and its verified custom domain as the website.
| Status | Description | Body |
|---|
| 200 | OK | object |
| 403 | The caller lacks TenantRead | |
GET /v1/commissions/{year}/{month}/payouts.csv
Payout report for all partners (NewTurn only)
| Parameter | In | Type | Required | Description |
|---|
year | path | integer | yes | |
month | path | integer | yes | |
| Status | Description | Body |
|---|
| 200 | CSV | |
| 403 | NewTurn only | |
GET /v1/customers/{tenantId}/xla-report/{year}/{month}
| Parameter | In | Type | Required | Description |
|---|
tenantId | path | string | yes | |
year | path | integer | yes | |
month | path | integer | yes | |
| Status | Description | Body |
|---|
| 200 | Met, missed and no-data per target | object |
GET /v1/customers/{tenantId}/xlas
| Parameter | In | Type | Required | Description |
|---|
tenantId | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | XlaTarget[] |
| 404 | Not owned by caller branch | |
POST /v1/customers/{tenantId}/xlas
| Parameter | In | Type | Required | Description |
|---|
tenantId | path | string | yes | |
Request body: object (JSON).
| Status | Description | Body |
|---|
| 201 | Created | XlaTarget |
| 400 | Business rule violation (validation problem) | |
DELETE /v1/customers/{tenantId}/xlas/{xlaId}
| Parameter | In | Type | Required | Description |
|---|
tenantId | path | string | yes | |
xlaId | path | string | yes | |
| Status | Description | Body |
|---|
| 204 | Removed | |
| 404 | Not found | |
POST /v1/deals/override
NewTurn reassigns a domain; audited with a mandatory reason
Request body: object (JSON).
| Status | Description | Body |
|---|
| 200 | OK | object |
| 403 | NewTurn only | |
GET /v1/delegations
Customer admin sees own tenant's delegations; partner admin sees those granted to it
| Status | Description | Body |
|---|
| 200 | OK | Delegation[] |
| 403 | Neither | |
POST /v1/delegations
Customer tenant admin grants a partner time-bound access (1 hour to 90 days)
Request body: object (JSON).
| Status | Description | Body |
|---|
| 201 | Granted | Delegation |
| 400 | Invalid window or scopes | |
| 403 | Not the customer's tenant admin | |
| 404 | Partner not found or inactive | |
DELETE /v1/delegations/{id}
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 204 | Revoked | |
| 404 | Not this tenant's delegation | |
| 409 | already_revoked | |
GET /v1/delegations/check
Reusable delegation check (HttpDelegationChecker). 200 only when allowed; otherwise 404.
| Parameter | In | Type | Required | Description |
|---|
tenantId | query | string | yes | |
partnerId | query | string | yes | |
scope | query | DelegationScope | yes | |
| Status | Description | Body |
|---|
| 200 | Allowed | object |
| 404 | Not allowed | |
GET /v1/internal/channel-attribution
Channel attribution for platform KPIs (operator-console only)
Platform-level service token with the service-only role revenue_kpi_reader (operator-console, ADR-0050). Every partner's type, program, parent and status, and the customer tenants each partner onboarded (the link only, no customer names). Not routed through the gateway.
| Status | Description | Body |
|---|
| 200 | Partners and partner-onboarded customers | object |
| 403 | Not a platform-level service token with revenue_kpi_reader | |
GET /v1/partner-content/installs
The tenant's installs including uninstalled ones (TenantRead)
| Status | Description | Body |
|---|
| 200 | Installs | MarketplaceInstall[] |
POST /v1/partner-content/installs
Install an approved listing for the caller's tenant (tenant admin)
Request body: object (JSON).
| Status | Description | Body |
|---|
| 201 | Installed | MarketplaceInstall |
| 403 | Not a tenant admin | |
| 404 | No approved listing with that id | |
| 409 | Already installed | |
DELETE /v1/partner-content/installs/{installId}
Uninstall (tenant admin); the row is kept for revenue history
| Parameter | In | Type | Required | Description |
|---|
installId | path | string | yes | |
| Status | Description | Body |
|---|
| 204 | Uninstalled | |
| 404 | Not an active install of this tenant | |
GET /v1/partner-content/installs/{installId}/signed
The NewTurn-signed document of an active install
| Parameter | In | Type | Required | Description |
|---|
installId | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | Signed document | MarketplaceSignedDocument |
| 404 | Not an active install of this tenant | |
GET /v1/partner-content/listings
Approved partner content customers can install (TenantRead)
| Status | Description | Body |
|---|
| 200 | Catalogue | CatalogueEntry[] |
GET /v1/partner-content/review
Review queue of submitted and in-review listings (NewTurn operators)
| Status | Description | Body |
|---|
| 200 | Queue, oldest first | MarketplaceListing[] |
| 403 | Not a platform operator | |
POST /v1/partner-content/review/{listingId}/{decision}
Start review, approve (content-service signs the reviewed bytes) or reject with a note (NewTurn operators)
| Parameter | In | Type | Required | Description |
|---|
listingId | path | string | yes | |
decision | path | string | yes | |
Request body: object (JSON).
| Status | Description | Body |
|---|
| 200 | The listing after the transition | MarketplaceListing |
| 400 | Business rule violation (validation problem) | |
| 403 | Not a platform operator | |
| 404 | Not found | |
| 409 | Invalid transition | |
GET /v1/partners
Partners visible to the caller (NewTurn all; partner admin own subtree)
| Parameter | In | Type | Required | Description |
|---|
includeClosed | query | boolean | no | Also list closed partners (home tenant offboarded). Default false. |
| Status | Description | Body |
|---|
| 200 | OK | Partner[] |
POST /v1/partners
Register a partner (NewTurn anywhere; distributor admin under itself)
Request body: object (JSON).
| Status | Description | Body |
|---|
| 201 | Registered | Partner |
| 400 | Business rule violation (validation problem) | |
| 403 | Only NewTurn registers top-level partners | |
| 404 | Parent not visible | |
GET /v1/partners/{id}
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | Partner |
| 404 | Not found or not visible | |
POST /v1/partners/{id}/activate
NewTurn activates with commercial terms inside the configured margin bands
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: Terms (JSON).
| Status | Description | Body |
|---|
| 200 | OK | Partner |
| 400 | Business rule violation (validation problem) | |
| 403 | NewTurn only | |
| 404 | Not found | |
POST /v1/partners/{id}/agreement
Partner accepts the agreement (KYC must be approved)
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: object (JSON).
| Status | Description | Body |
|---|
| 200 | OK | Partner |
| 400 | Business rule violation (validation problem) | |
| 404 | Not found | |
GET /v1/partners/{id}/brand
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | BrandProfile |
| 404 | None | |
PUT /v1/partners/{id}/brand
Save a brand profile (validated per program, WCAG AA contrast)
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: Brand (JSON).
| Status | Description | Body |
|---|
| 200 | Saved, with contrast report | object |
| 400 | Validation errors | |
GET /v1/partners/{id}/brand/assets
The partner's uploaded logos (the partner itself or NewTurn)
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | BrandAsset[] |
| 404 | Unknown or not visible partner | |
POST /v1/partners/{id}/brand/assets
Upload a logo variant (the partner itself or NewTurn)
The body is the raw image: a static PNG or WebP (no SVG and no animation) of at most 512 KiB. Light and Dark logos are 64-2048 pixels wide and 16-1024 tall, at least as wide as tall and at most ten times wider; an Icon is square, 192-1024 pixels. The image is decoded and re-encoded as a new PNG on the server, so no metadata or extra data from the upload is kept; the asset id is the hash of that PNG, so uploading the same image again returns the same asset. Reference it from the brand profile (logoAssetId, logoDarkAssetId, iconAssetId) to publish it.
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
variant | query | LogoVariant | yes | |
| Status | Description | Body |
|---|
| 201 | Stored | BrandAsset |
| 400 | Not an acceptable image (the reason is in the problem details) | |
| 404 | Unknown or not visible partner | |
| 413 | Larger than 512 KiB | |
| 415 | Not image/png or image/webp | |
GET /v1/partners/{id}/brand/assets/{assetId}
One of the partner's logos, published or not (the partner itself or NewTurn; for previews in the brand studio)
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
assetId | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | The PNG (Cache-Control private, max-age=31536000, immutable) | |
| 404 | Unknown asset or partner | |
GET /v1/partners/{id}/certificate-brand
The effective brand academy-service puts on the partner's certificates and their verification page (service token with brand_reader). Co-brand partners keep the product brand with their name and logo alongside; white-label partners get their product name, logo, colours and verified domain only while they meet the white-label certification rule; anything else (inactive, no brand profile) gets the default brand.
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | The effective brand | object |
| 403 | Not a service identity with brand_reader | |
| 404 | Unknown partner | |
PUT /v1/partners/{id}/certification
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: object (JSON).
| Status | Description | Body |
|---|
| 200 | OK | Partner |
| 403 | NewTurn only | |
PUT /v1/partners/{id}/certified-headcount
academy-service reports the partner's valid certified people per level (service token with certification_reporter). Counts only; changed counts are audited on the partner's home tenant.
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: object (JSON).
| Status | Description | Body |
|---|
| 204 | Stored | |
| 403 | Not the academy service identity | |
| 404 | Unknown partner | |
GET /v1/partners/{id}/commissions/{year}/{month}
Monthly commission statement (payee or NewTurn only)
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
year | path | integer | yes | |
month | path | integer | yes | |
| Status | Description | Body |
|---|
| 200 | OK | CommissionStatement[] |
| 400 | invalid_period | |
| 404 | Not the payee | |
GET /v1/partners/{id}/customers
Customers of the partner subtree
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | CustomerTenant[] |
POST /v1/partners/{id}/customers
Onboard a customer; draws from the pool, creates the tenant and its partner-sold subscription
First subscription-service checks the partner-sold subscription (plan, devices against the published catalogue's minimums, per-device plans only); a refusal is a 400 and a failed check a 503, and in both cases nothing is drawn or created. Then tenant-service creates the tenant with the caller's own token (a partner admin only under its own partner id; NewTurn with TenantCreate). Its refusal is returned after the draw is released (400 with its validation message, or 403). customer-hosted becomes an air-gapped tenant, the UAE regions shared SaaS. The customer row commits with a Pending subscription request, which partner-service sends at once with its own service token (ADR-0014 amendment 2026-11-21): plan = planId, quantity = devices, reseller = this partner, term = the catalogue's minimum from the first day of the onboarding month (UTC), monthly, not prepaid. The 201 shows the outcome in subscription; a Pending one is retried in the background until it is Active or Failed.
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: object (JSON).
| Status | Description | Body |
|---|
| 201 | Created | CustomerTenant |
| 400 | Business rule violation, tenant-service's validation message (key tenant), or subscription-service's refusal of the subscription (key subscription, for example "Minimum quantity is 100 devices.") | |
| 403 | tenant-service refused the caller | |
| 409 | insufficient_entitlement | |
| 503 | subscription_check_unavailable (subscription-service could not check the subscription; nothing was drawn or created) | |
POST /v1/partners/{id}/customers/{tenantId}/subscription
Request (again) a customer's partner-sold subscription
For a customer onboarded before partner-service created subscriptions (planId required; the term starts in the onboarding month), after a refusal (Failed; planId may change the plan), or to retry a Pending one now (its plan cannot change). An Active subscription is returned unchanged and nothing is called. The quantity is the customer's devices. The owning partner's admin or NewTurn; any other caller, or a customer of another partner, gets 404. Audited as partner.customer_subscription_requested on the partner's chain.
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
tenantId | path | string | yes | |
Request body: object (JSON).
| Status | Description | Body |
|---|
| 200 | The customer with its subscription after the attempt (Active, Pending with lastError and nextAttemptAt, or Failed) | CustomerTenant |
| 400 | No plan for a customer without a subscription, a plan change while Pending, or subscription-service's refusal | |
| 404 | Not the caller's partner or not its customer | |
| 503 | subscription_check_unavailable | |
GET /v1/partners/{id}/deals
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | DealRegistration[] |
POST /v1/partners/{id}/deals
Register a deal for a customer domain (first valid registration wins until expiry)
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: object (JSON).
| Status | Description | Body |
|---|
| 200 | Already registered by this partner | DealRegistration |
| 201 | Registered | DealRegistration |
| 409 | domain_already_registered (the other partner is never disclosed) | |
GET /v1/partners/{id}/domain/challenge
DNS records a white-label partner must publish
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | object |
| 404 | Not white-label or no domain | |
POST /v1/partners/{id}/domain/verify
Verify CNAME, ownership TXT, SPF, DKIM; request TLS when ownership is proven
Real DNS lookups without caching. Once ownership is proven, the custom domain is created in Azure Front Door with a managed certificate; while Front Door validates it, problems name the _dnsauth. TXT token to add. Repeat until certificate is Issued (the domain is then on the portal route).
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | Verification result | DomainVerification |
GET /v1/partners/{id}/eligibility
Which capabilities (for example white_label) the partner's certified staff unlock under the tier rules.
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | Headcount, capabilities and the configured rules | object |
| 404 | Not found or not visible | |
GET /v1/partners/{id}/entitlements
Pool and ledger
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | object |
| 404 | Not visible | |
POST /v1/partners/{id}/entitlements/allocate
NewTurn allocates devices to a partner pool
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: Movement (JSON).
| Status | Description | Body |
|---|
| 200 | OK | EntitlementPool |
| 400 | Business rule violation (validation problem) | |
| 403 | NewTurn only | |
POST /v1/partners/{id}/entitlements/release
NewTurn returns drawn devices to a partner pool (customer left or licence expired; audited entitlement.released)
Writes an append-only Release ledger entry that lowers drawn by the quantity, so the devices become available again. Drawn never goes below zero: releasing more than was drawn is refused and changes nothing. The reference says why.
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: Movement (JSON).
| Status | Description | Body |
|---|
| 200 | The pool after the release | EntitlementPool |
| 400 | Business rule violation (validation problem) | |
| 403 | NewTurn only | |
| 404 | Not visible | |
| 409 | release_exceeds_drawn (more than the partner has drawn) | |
POST /v1/partners/{id}/entitlements/sub-allocate
A distributor passes devices to a direct downstream partner
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: object (JSON).
| Status | Description | Body |
|---|
| 200 | OK | EntitlementPool |
| 404 | Not a direct child | |
| 409 | insufficient_entitlement | |
POST /v1/partners/{id}/kyc/approve
NewTurn approves KYC
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | Partner |
| 403 | NewTurn only | |
| 404 | Not found | |
POST /v1/partners/{id}/kyc/submit
Partner submits KYC
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | Partner |
| 400 | Business rule violation (validation problem) | |
| 404 | Not found | |
POST /v1/partners/{id}/license-requests
Offline (air-gapped) license request against the pool; NewTurn signs, partners never do
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: object (JSON).
| Status | Description | Body |
|---|
| 202 | Accepted for signing | |
| 409 | insufficient_entitlement | |
GET /v1/partners/{id}/marketplace/listings
The partner's marketplace submissions in every state (the partner itself or NewTurn)
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | Listings | MarketplaceListing[] |
| 404 | Not visible | |
POST /v1/partners/{id}/marketplace/listings
Submit content in the library format for review (the partner's own admin; active partners only)
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: object (JSON).
| Status | Description | Body |
|---|
| 201 | Submitted | MarketplaceListing |
| 400 | Business rule violation (validation problem) | |
| 404 | Not the caller's partner | |
| 409 | This action id and version was already submitted | |
| 422 | An automated check failed (checks_failed) | |
POST /v1/partners/{id}/marketplace/listings/{listingId}/withdraw
Withdraw a submission or an approved listing (no new installs afterwards)
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
listingId | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | Withdrawn | MarketplaceListing |
| 404 | Not found | |
| 409 | Invalid transition | |
GET /v1/partners/{id}/marketplace/revenue/{year}/{month}
Revenue share per install for the month (the partner itself or NewTurn)
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
year | path | integer | yes | |
month | path | integer | yes | |
| Status | Description | Body |
|---|
| 200 | Statement | MarketplaceRevenueStatement |
| 400 | Invalid period | |
| 404 | Not visible | |
POST /v1/partners/{id}/reinstate
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | Partner |
| 403 | NewTurn only | |
POST /v1/partners/{id}/suspend
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | Partner |
| 403 | NewTurn only | |
PUT /v1/partners/{id}/terms
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: Terms (JSON).
| Status | Description | Body |
|---|
| 200 | OK | Partner |
| 400 | Business rule violation (validation problem) | |
| 403 | NewTurn only | |
Every partner with its device pool and the configured margin bands (NewTurn only; vendor portal)
| Parameter | In | Type | Required | Description |
|---|
includeClosed | query | boolean | no | Also list closed partners (home tenant offboarded). Default false. |
| Status | Description | Body |
|---|
| 200 | OK | PartnerSummaryResponse |
| 403 | NewTurn only | |
GET /v1/trust/access-requests
Access requests of the caller tenant
| Status | Description | Body |
|---|
| 200 | Requests | TrustAccessRequest[] |
| 403 | Not allowed | |
POST /v1/trust/access-requests
Request access to confidential documents (needs the current NDA)
Request body: object (JSON).
| Status | Description | Body |
|---|
| 201 | Pending request | TrustAccessRequest |
| 400 | Invalid request or NDA not accepted | |
| 403 | Not allowed | |
GET /v1/trust/admin/access-requests
Access requests for review (NewTurn operators)
| Parameter | In | Type | Required | Description |
|---|
status | query | TrustAccessStatus | no | |
| Status | Description | Body |
|---|
| 200 | Requests, oldest first | TrustAccessRequest[] |
| 403 | Not a platform operator | |
POST /v1/trust/admin/access-requests/{id}/{decision}
Approve (access for the configured validity) or reject a pending request (NewTurn operators)
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
decision | path | string | yes | |
Request body: object (JSON).
| Status | Description | Body |
|---|
| 200 | Decided request | TrustAccessRequest |
| 403 | Not a platform operator | |
| 404 | Unknown request | |
| 409 | Already decided | |
POST /v1/trust/admin/documents
Publish a new immutable document version (NewTurn operators)
Request body: object (JSON).
| Status | Description | Body |
|---|
| 201 | Published version | TrustDocumentView |
| 400 | Invalid document | |
| 403 | Not a platform operator | |
GET /v1/trust/admin/downloads
Download records with their watermark text (NewTurn operators)
| Parameter | In | Type | Required | Description |
|---|
tenantId | query | string | no | |
| Status | Description | Body |
|---|
| 200 | Downloads | TrustDownload[] |
| 403 | Not a platform operator | |
GET /v1/trust/documents
Latest version of every Trust Center document with whether the caller may download it
| Status | Description | Body |
|---|
| 200 | Documents | TrustDocumentView[] |
| 403 | Not a customer admin, auditor or partner admin acting for themselves | |
GET /v1/trust/documents/{id}/download
Download a document; audited. PDFs carry the watermark on every page and Markdown as a leading quote; the text is also in X-Dexwize-Watermark
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | The watermarked file (headers X-Dexwize-Watermark, X-Dexwize-Sha256 of the published file, X-Dexwize-Served-Sha256 of the bytes served) | |
| 403 | NDA not accepted or no approved request for this document | |
| 404 | Unknown document | |
GET /v1/trust/nda
Current click-through NDA and whether the caller accepted this version
| Status | Description | Body |
|---|
| 200 | NDA | NdaView |
| 403 | Not allowed | |
POST /v1/trust/nda/accept
Accept the NDA version shown (recorded with user, tenant, time and version)
Request body: object (JSON).
| Status | Description | Body |
|---|
| 200 | Accepted | NdaView |
| 400 | The NDA changed since it was shown | |
| 403 | Not allowed | |
GET /v1/trust/public
Public Trust page (anonymous) with non-confidential documents, the status link and what is available under NDA
| Status | Description | Body |
|---|
| 200 | Public view | TrustPublicView |
GET /v1/trust/public/documents/{id}/content
Content of a non-confidential document (anonymous)
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | The file | |
| 404 | Unknown or confidential document | |