A partnership is set up with widar’s sales team; the contract sets the revenue share. From then on your partner workspace creates its customers' workspaces and acts in them. Your routes can name your customers' systems, so your capability record shows which endpoints carry widar’s marking.
POST/v1/partner/workspaces
Create a workspace for an end customer under your contract and invite its contact. Its legal entity and domain are validated by widar as any other, and its certificates are issued free in its own name.
- Who may
- Owner and Admin
- CLI
widar partner-workspaces create --legal-name <name> --country <CC> --domain <domain> --contact-name <name> --contact-email <email>- MCP tool
partner_workspaces_create- Returns
- The end customer’s new workspace, onboarding.
Parameters
legal_nameRequiredThe company’s registered name. At most 120 characters.
countryRequiredIts country, ISO 3166-1 alpha-2.
domainRequiredThe domain its certificates and verify pages are bound to, validated before any certificate is issued.
contact_nameRequiredWho receives the invitation. At most 120 characters.
contact_emailRequiredTheir work email.
curl -X POST https://api.widar.com/v1/partner/workspaces \
-H "Authorization: Bearer $WIDAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"legal_name": "<legal_name>",
"country": "NO",
"domain": "<domain>",
"contact_name": "<contact_name>",
"contact_email": "<contact_email>"
}'POST /v1/partner/workspaces
{
"id": "ws_7Gd4rKp2NzXs",
"object": "partner_workspace",
"name": "Ardent Speech GmbH",
"country": "DE",
"state": "active",
"entity_validated": true,
"domain_validated": true,
"systems": 2,
"outputs_30d": 4820400,
"brand": "Northwind Comply",
"since": "2026-09-15T10:00:00Z"
}GET/v1/partner/workspaces
The end customers' workspaces a partner manages: each with its validation, systems, installs, marked outputs and usage this month at list prices.
- Who may
- Owner, Admin and Billing
- CLI
widar partner-workspaces list [--state <onboarding|active|suspended>]- MCP tool
partner_workspaces_list- Returns
- The end customers, oldest first.
Parameters
stateOnly end customers in this state. One of
onboarding,active,suspended.
curl -X GET https://api.widar.com/v1/partner/workspaces \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/partner/workspaces
{
"items": [
{
"id": "ws_7Gd4rKp2NzXs",
"object": "partner_workspace",
"name": "Ardent Speech GmbH",
"country": "DE",
"state": "active",
"entity_validated": true,
"domain_validated": true,
"systems": 2,
"outputs_30d": 4820400,
"brand": "Northwind Comply",
"since": "2026-09-15T10:00:00Z"
}
],
"next_cursor": null
}GET/v1/partner/workspaces/{workspace_id}
One end customer’s workspace: its validation, contact, systems, installs, verify pages under your brand and usage this month.
- Who may
- Owner, Admin and Billing
- CLI
widar partner-workspaces get <workspace_id>- MCP tool
partner_workspaces_get- Returns
- The end customer’s workspace.
Parameters
workspace_idRequiredThe customer’s workspace. In the path.
curl -X GET https://api.widar.com/v1/partner/workspaces/ws_7Gd4rKp2NzXs \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/partner/workspaces/{workspace_id}
POST/v1/partner/workspaces/{workspace_id}/suspend
Stop an end customer’s marking under your contract. Its verify pages stay free and working, and what it marked stays detectable.
- Who may
- Owner and Admin
- CLI
widar partner-workspaces suspend <workspace_id> --reason <text>- MCP tool
partner_workspaces_suspend- Returns
- The end customer’s workspace, suspended.
Parameters
workspace_idRequiredThe customer’s workspace. In the path.
reasonRequiredWhy, kept with the suspension. At most 280 characters.
curl -X POST https://api.widar.com/v1/partner/workspaces/ws_7Gd4rKp2NzXs/suspend \
-H "Authorization: Bearer $WIDAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "superseded"
}'POST /v1/partner/workspaces/{workspace_id}/suspend
GET/v1/partner/revenue_share
The revenue share per month: the list value of your end customers' paid units, the share credited to you, each customer’s part, and the statement of each closed month. Free units (certificates, verify pages, free lookups) carry no share.
- Who may
- Owner, Admin and Billing
- CLI
widar partner-revenue-share get [--months <1-24>]- MCP tool
partner_revenue_share_get- Returns
- The months, oldest first, with each customer’s part.
Parameters
monthsHow many months back, 6 by default. At least 1, at most 24.
curl -X GET https://api.widar.com/v1/partner/revenue_share \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/partner/revenue_share
{
"object": "revenue_share",
"partner": "Northwind Comply",
"contract": "WL-2026-004",
"share_percent": 20,
"period": {
"from": "2026-11-01",
"to": "2026-11-30"
},
"customers": [
{
"workspace_id": "ws_7Gd4rKp2NzXs",
"name": "Ardent Speech GmbH",
"outputs": 4712880,
"billed_eur": 3841.2,
"share_eur": 768.24
},
{
"workspace_id": "ws_3Mv9kTq6RcLe",
"name": "Copperleaf AI Oy",
"outputs": 1179510,
"billed_eur": 961.3,
"share_eur": 192.26
}
],
"total_share_eur": 960.5
}POST/v1/partner/workspaces/{workspace_id}/resume
Lift a suspension: the end customer’s installs mark again under your contract.
- Who may
- Owner and Admin
- CLI
widar partner-workspaces resume <workspace_id>- MCP tool
partner_workspaces_resume- Returns
- The end customer’s workspace, active again.
Parameters
workspace_idRequiredThe workspace’s id. In the path.
curl -X POST https://api.widar.com/v1/partner/workspaces/ws_7Kq2Xw9/resume \
-H "Authorization: Bearer $WIDAR_API_KEY"POST /v1/partner/workspaces/{workspace_id}/resume
GET/v1/partner/revenue_share/{period}/statement
One closed month’s revenue share statement: each end customer’s units at list prices, the share credited and the free units at no charge, as CSV.
- Who may
- Owner, Admin and Billing
- CLI
widar partner-revenue-share statement <YYYY-MM> [--output <file.csv>]- MCP tool
partner_revenue_share_statement- Returns
- The month’s statement, as CSV.
Parameters
periodRequiredThe month, as YYYY-MM. In the path.
curl -X GET https://api.widar.com/v1/partner/revenue_share/{period}/statement \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/partner/revenue_share/{period}/statement
GET/v1/partner/brand
The partner contract and the brand your end customers see: the name, the logo, the domain of their verify pages and the address their emails come from. Certificates still name widar’s certificate authority.
- Who may
- Owner, Admin and Billing
- CLI
widar partner-brand get- MCP tool
partner_brand_get- Returns
- The contract and the brand.
No parameters.
curl -X GET https://api.widar.com/v1/partner/brand \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/partner/brand
PATCH/v1/partner/brand
Change the name, the logo, the verify domain (on one of your validated domains) and the sender address your end customers see. What signs stays widar’s: the certificate chain and the tool identifier in every signed result.
- Who may
- Owner and Admin
- CLI
widar partner-brand update [--name <name>] [--logo <file.svg|file.png>] [--verify-domain <domain>] [--email-from <address>]- MCP tool
partner_brand_update- Returns
- The brand, changed.
Parameters
nameThe name your end customers see. At most 60 characters.
logoA PNG or an SVG of at most 256 KB, or null to remove it.
nullclears it.verify_domainThe domain of your end customers' verify pages, by CNAME, on one of your validated domains.
email_fromThe address their emails come from, on one of your validated domains.
curl -X PATCH https://api.widar.com/v1/partner/brand \
-H "Authorization: Bearer $WIDAR_API_KEY"PATCH /v1/partner/brand