← All documentation

API & integrations

Enterprise

Enterprise licenses API

Provision and list access codes programmatically to sell SpringOS on your website.

GET /api/v1/enterprise/licenses

List license codes for your enterprise account. Filter by status or externalRef. Requires read scope.

POST /api/v1/enterprise/licenses

Provision a code. Body: plan (starter | pro | agency), optional externalRef, successUrl, cancelUrl. Starter may use included codes without checkout. Pro/Agency return checkoutUrl for Stripe payment. Requires write scope.

{
  "plan": "pro",
  "externalRef": "your-order-12345",
  "successUrl": "https://yoursite.com/thanks",
  "cancelUrl": "https://yoursite.com/canceled"
}