v1

latestOpenAPI 3.1.02026-07-13154170539.0 KB
User

Claim Credit Grant Link

Claim a credit grant link.

Credits are applied to the billing account that corresponds to the caller's active workspace:

  • Personal API key → user's BillingAccount
  • Organization API key → organization's BillingAccount

Guards:

  • Per-link budget: number of claims must stay below max_claims.
  • Per-user lifetime: a user can only benefit from one link ever.
  • Per-org lifetime: an organization can only benefit from one link ever.
post/v0/user/claim-credit-grant-link

Request body

tokenstring required

Response

Successful Response

messagestring required
credits_grantednumber nullable
credited_tostring nullable