Skip to main content
POST
get checkout link

Authorizations

Authorization
string
header
required

An API key (es_live_…) from Settings, under API keys, or an OAuth access token.

Headers

Idempotency-Key
string

Retry a paid dispatch safely: the same key returns the job already dispatched instead of charging again.

x-workspace-id
string

The workspace this one call acts in, when it is not the key's own.

Body

application/json
product
enum<string>
required

What the link buys: a pro or business plan, AI credits, cloud processing minutes, or storage.

Available options:
pro,
business,
credits,
minutes,
storage
cycle
enum<string>

pro and business: billing cycle. Default monthly.

Available options:
monthly,
yearly
seats
integer

business: how many seats.

amount_usd
number

credits and minutes: the amount in US dollars. The answer says what it buys.

steps
integer

storage: steps of 100 GB. Default 1.

context
string

Optional: one sentence shown to the user beside this action.

Maximum string length: 600

Response

Done, or a job started for work that runs longer (follow it with get_jobs).

ok
any
required
data
object
required
meta
object
required
media
object[]