Skip to main content
POST
Publish a draft subscription version

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token.

Headers

Alguna-Version
enum<string>
required
Available options:
2026-04-01
Idempotency-Key
string

A unique string used to ensure the request is processed exactly once. If you retry a request with the same idempotency key within 24 hours, the original response is returned without re-executing the operation.

Maximum string length: 255
Example:

"ik_a1b2c3d4e5f6"

Path Parameters

id
string
required

Unique identifier for the subscription

vid
string
required

Unique identifier for the version

Response

Success

created_at
string<date-time>
required

When the version was created

Example:

"2025-12-15T10:30:00Z"

entitlements
object[]
required

Version entitlements

id
string
required

Version ID

Example:

"subv_abc123"

items
object[]
required

Version items

status
string
required

Version status

Example:

"published"

subscription_id
string
required

Subscription ID

Example:

"sub_abc123"

updated_at
string<date-time>
required

When the version was last updated

Example:

"2026-01-01T00:00:00Z"

description
string | null

Change description

Example:

"Q1 2027 enterprise configuration"

end_date
string<date-time> | null

Version end date

Example:

"2027-01-01T00:00:00Z"

plan_id
string | null

Plan ID

Example:

"pln_abc123"

start_date
string<date-time> | null

Version start date

Example:

"2026-01-01T00:00:00Z"