This is the connection between a hosting company’s systems and Atarim. It is what lets a partner offer Atarim to the agencies on their platform: hand out licences, see what the partnership earns, and pass their users straight in. The plain version is first. The full reference for the team is below it.
Every command in this document does one of these four jobs. Nothing here changes how Atarim itself works. It is the doorway a partner connects to.
Give an Atarim licence to an agency, list the ones already handed out, and switch any of them off.
Read the revenue events behind the partner’s share of what those agencies spend.
Look up the partner’s licence quota, pricing, and revenue-share rate.
Let an agency user jump from the partner’s dashboard into Atarim without logging in again.
Everything the team builds against, grouped the way the dashboard exposes it. Tap any endpoint to expand it.
Each call carries the partner’s key in an x-api-key header. Keys are generated in the dashboard and shown once. A Bearer token is also accepted.
The sign-in flow is signed separately with a per-partner key (HMAC-SHA256) sent in X-Atarim-Signature. Signing keys are shown once and rotate with a 24-hour grace window.
List the partner’s licences, newest first (up to 500). Can be filtered by status.
pending, active, or revoked.
Provision a licence and return it with an activation link the agency uses to claim it. Quota expands automatically in batches of 500 as the partner grows.
{
"license": {
"id": "1f4f6f4f8a1b2c3d",
"label": "Acme Web Agency",
"status": "pending",
"activationUrl": "https://app.atarim.io/partner/activate?token=…",
"activationTokenExpiresAt": "2026-06-16T09:00:00.000Z",
"provisionedAt": "2026-06-09T09:00:00.000Z",
"activatedAt": null,
"creditsAllocatedMtd": 0
}
}Revoke a licence. The change is immediate, with no grace period. The agency’s workspace drops to the free plan.
Revenue events for the partner account, newest first (up to 1000). Defaults to the current calendar month when no date range is given.
YYYY-MM-DD.
YYYY-MM-DD.
{
"events": [
{
"id": "evt_8a1b2c3d",
"occurred_at": "2026-06-08T14:22:00.000Z",
"event_type": "client_pay_20",
"label": "Acme Web Agency",
"amount_usd": 20.00,
"partner_share_usd": 10.00
}
]
}The partner’s record: licence quota, contract type, unit price, and revenue-share rate.
{
"id": "9a8b7c6d5e4f3a2b",
"name": "Acme Hosting",
"slug": "acme-hosting",
"contractType": "wholesale",
"licenseQuota": 1000,
"licenseUnitPriceUsd": 7.50,
"revenueShareRate": 0.5,
"woProvisioningEnabled": true
}Exchange a signed request for a single-use sign-in token that lasts 60 seconds, tied to a specific licence and user. The partner signs the request body and redirects the agency user to the returned link within the minute.
{
"token": "9f86d081884c7d659a2feaa0c55ad015…",
"redeem_url": "https://app.atarim.io/sso/redeem?token=…",
"expires_in": 60
}