billing

GET /v1/trials/fit

Will this plan hold the sites the organization's trial built?

All billing endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The endpoint checks billing.view; a key without it is refused with 403, not 404.

Where your organisation id goes

This endpoint takes org_id as a query parameter. Leave it out and the call covers your whole tenancy subtree; send it to narrow the call to one organisation.

Your organisation id is on the API keys screen in your dashboard, beside the key itself. It is the same id in every call you make.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/trials/fit?plan_code=<plan_code> \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

ANS-OVERCAP (coordinator ruling 2026-12-05). A trial converted onto a plan that holds fewer sites than it built adopts only up to the plan's room (the customer's picks first, else the oldest); the rest are paused, never deleted, and resume on an upgrade. Checkout reads this BEFORE payment to warn, offer the plan that holds them all, and let the customer pick which sites to keep. data is null when the organization has no active trial on the plan's line. Nothing here charges or moves a site.

Parameters

NameTypeRequiredWhat it is
plan_code (query)stringYes—
org_id (query)stringNo—

Response

NameTypeRequiredWhat it is
dataTrialFit | nullYes—

Errors this endpoint can return

401 · 403 · 404