Debits units from a customer's entitlement balance. Throws on insufficient balance. Debits one_time_addon grants first, then manual, then subscription_recurring (FIFO within source).
AuthorizationRequiredBearer <token>API key as Bearer token
In: header
application/jsonRequiredcontactIdRequiredstringCRM contact id
featureKeyRequiredstringFeature key
amountRequiredintegerUnits to consume
1Maximum: 9007199254740991reasonstringFree-form reason logged on the consumed event
Grant Manual Entitlement
Adds a manual entitlement grant for a (contact, feature). Useful for admin top-ups, comp credits, or migration. Idempotent on grantId.
List Referrals
Lists the workspace's referral links with view / revenue / ticket totals per row. Render rows using these precomputed fields — don't reformat the raw ones: - 'display_name' — name column. Never show 'label' directly. - 'category_label' — kind column. e.g. "Newsletter tracking link", "Event tracking link", "Meta Pixel". - 'event_name' — event title when the referral points at an event. - 'newsletter_subject' - email subject (email referrals only). Optional filters: event_id, type, newsletter_tracking_links.