Resume Subscription
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_id
account_id
Headers
X-Restate-Secret-Key
Query parameters
from_workflow
Response
Successful Response
SubscriptionResponse
OR
ResumeSubscriptionResponse