Settle a workspace subscription lifecycle webhook

Requires HARNESS_WEBHOOK_TOKEN via x-harness-token. Activates, renews, marks past_due, cancels or expires a workspace subscription idempotently; membership expiry is updated only here or by the sweep endpoint, and removed/suspended members are not restored by provider webhooks.

post/webhooks/workspace-subscriptions

Request

  • Base URL: https://superskill.sh/api
  • URL: https://superskill.sh/api/webhooks/workspace-subscriptions
  • Auth: none declared

Request body

provider'manual'
provider_subscription_refstring required
provider_event_refstring
event_typestring
status'active' | 'past_due' | 'canceled' | 'expired'
current_period_startstring date-time nullable
current_period_endstring date-time nullable
grace_untilstring date-time nullable
cancel_at_period_endboolean
provider_customer_refstring nullable

Response

Workspace subscription lifecycle applied

statusstring required
nextstring required

Changes

No recorded changes to this operation across all 1 revision of this API.