hosting

POST /v1/sites/{site_id}/translation/tryout

Start the account's free 2,000-word Site Translation try-out on this site.

All hosting 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 key must carry the sites.translation.manage permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

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

curl -X POST https://api.zinndigital.com/v1/sites/{site_id}/translation/tryout \
  -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

Owner answer A229: one free try-out per account, 2,000 words translated into every language. It switches translation on exactly as a purchase does, at the site_translation_tryout tier, and the next read translates the pages that fit in 2,000 words, in the site's own order. A paid tier bought later replaces it. One per account AND one per person (A236): the multi-account guard is asked on its own line, so a second account of the same person is refused. Also refused for a site already on a plan and for an account not in good standing. Charges nothing. Requires sites.translation.manage.

Parameters

NameTypeRequiredWhat it is
site_id (path)UuidYes—
Idempotency-Key (header)stringNoClient-generated key that makes an unsafe request replay-safe: the server stores the first response and returns it verbatim for repeats.

Response

NameTypeRequiredWhat it is
site_idUuidYesUUIDv7 identifier — sortable by creation time.
statestring<disabled, active, paused_standing, over_allowance>Yes⛔ paused_standing is its own state, not a flavour of disabled — the remedies differ and only one of them is the customer's to act on.
tierSiteTranslationTierYes—
available_tiersSiteTranslationTier[]YesThe ladder, so the screen never hardcodes a price.
word_countintegerYesTranslatable words measured at the last read.
document_countintegerYes—
last_extracted_atstringNoWhen we last successfully read the site. ⛔ Distinct from the attempt cursor the sweep keeps: a failed pass advances that and must not move this, or the screen would report a site…
last_errorstringNoWhy the last pass did nothing, in words the customer can act on.
localesSiteTranslationLocale[]Yes—
tryoutSiteTranslationTryoutYesThe free 2,000-word try-out (owner answer A229), one per account. available is the cheap reading (no plan on this site, not used by this account); the multi-account guard and…

Errors this endpoint can return

401 · 403 · 404 · 409 · 429