Skip to main content
GET
Get subscription schedule

Path Parameters

id
string
required

Schedule ID

Response

200 - application/json

OK

Full details of a subscription schedule

can_be_cancelled
boolean

can_be_cancelled indicates if the schedule can be cancelled

cancelled_at
string<date-time>

cancelled_at is when the schedule was cancelled

configuration
object

configuration contains type-specific configuration (e.g., target_plan_id for plan changes)

created_at
string<date-time>

created_at timestamp

days_until_execution
integer

days_until_execution is the number of days until execution

error_message
string

error_message contains the error if execution failed

executed_at
string<date-time>

executed_at is when the schedule was executed

execution_result
object

execution_result contains type-specific execution result

id
string

id of the schedule

metadata
object

metadata from the schedule

schedule_type
enum<string>
Available options:
plan_change,
cancellation
scheduled_at
string<date-time>

scheduled_at is when the schedule will execute

status
enum<string>
Available options:
pending,
executing,
executed,
cancelled,
failed
subscription_id
string

subscription_id is the ID of the subscription

updated_at
string<date-time>

updated_at timestamp