WebhookEndpointRegistrationRequest
partnerPartner api_key identifier (e.g., 'dunder_mifflin'). Partner will be created automatically if it doesn't exist.
urlThe URL where you want to receive webhook notifications. This should be a publicly accessible HTTPS endpoint that can accept POST requests.
event_typeThe type of subscription event you want to receive. Choose one event type per registration. To receive multiple event types, register your URL separately for each event type.
WebhookEndpointRegistrationResponse
endpoint_idA unique identifier for your registered webhook endpoint. Save this ID if you need to update or manage this endpoint later.
partnerYour partner identifier (same as the one you provided in the request)
event_typeThe event type this endpoint is registered to receive
urlThe webhook URL where you'll receive notifications
createdIndicates whether this is a new endpoint registration (true) or an update to an existing endpoint (false)
SubscriptionCreatedPayload
bundled_user_idBundled user identifier
bundled_usernameBundled username identifier
first_nameUser's first name
last_nameUser's last name
emailUser's email address
passwordTemporary password for the account
plan_typeSubscription plan type (e.g., 'ad-free')
plan_codeSubscription plan code (e.g., 'PREMIUM_MONTHLY')
subscription_tokenUnique subscription token
date_of_plan_creationISO 8601 timestamp when the subscription was created
date_of_birthUser's date of birth (YYYY-MM-DD)
countryUser's country code (e.g., 'US')
languageUser's language code (e.g., 'en')
SubscriptionUpdatedPayload
subscription_tokenUnique subscription token
bundled_usernameBundled username identifier
plan_typeUpdated subscription plan type
plan_codeUpdated subscription plan code
updated_atISO 8601 timestamp when the subscription was updated
SubscriptionCancelledPayload
subscription_tokenUnique subscription token
bundled_usernameBundled username identifier
cancelled_atISO 8601 timestamp when the subscription was cancelled
cancellation_reasonReason for cancellation (optional)
SubscriptionRenewedPayload
subscription_tokenUnique subscription token
bundled_usernameBundled username identifier
renewed_atISO 8601 timestamp when the subscription was renewed
new_end_dateISO 8601 timestamp of the new subscription end date
