Resume Subscription

View as MarkdownOpen in Claude
Resume a paused subscription. Clears pause fields (paused_at, resumes_at) and transitions subscription back to: - TRIALING: If trial period hasn't expired - ACTIVE: Otherwise Emits `subscription.resumed` webhook event with: - resumed_at: When the subscription was resumed - new_state: The state it transitioned to (active or trialing) When from_workflow=true (Restate calls): - Returns ResumeSubscriptionResponse with status field - Returns "skipped" if subscription is not paused When from_workflow=false (public API calls): - Returns SubscriptionResponse Works for User, API Key, and Restate workflow authentication. Account access is automatically validated via endpoint dependency.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

subscription_idstringRequired
account_idstringRequired

Headers

X-Restate-Secret-Keystring or nullOptional

Query parameters

from_workflowbooleanOptionalDefaults to false

Response

Successful Response
SubscriptionResponseobject
OR
ResumeSubscriptionResponseobject

Errors