Skip to main content
POST
Resume a subscription scheduled to cancel
Webhook: subscription.updated fires right away, with cancel_at_period_end: false. See Which action fires which event.

Authorizations

x-api-key
string
header
required

Your secret key, from app.agentaos.ai -> Settings -> Developers -> API Keys. The key's prefix is both its identity and its environment: sk_test_... (sandbox, free, no verification) or sk_live_... (real money, requires business verification). A missing or invalid key returns 401.

Path Parameters

id
string<uuid>
required

Subscription UUID (the id field from the list response, not stripeSubscriptionId).

Response

The subscription's updated (resumed) state.

status
enum<string>
required
Available options:
incomplete,
incomplete_expired,
trialing,
active,
past_due,
canceled,
unpaid,
paused
currentPeriodEnd
string<date-time> | null
required
cancelAtPeriodEnd
boolean
required