Skip to main content
POST
Change the plan: data subscription, LinkedIn, inboxes, AI SDR, data line

Authorizations

Authorization
string
header
required

Access token issued by gs.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Path Parameters

sid
string
required

Billing subscription sid (bl_sb_...).

Required string length: 18
Pattern: ^bl_sb_

Body

application/json

Request body of change_billing_subscription.

data_subscription
object | null

The data subscription's target (one a bill): a bigger tier prorated now, a smaller one from the next period; null is 409 use_cancel, a plan keeps one. A plan with none takes one with its first change (else 422 data_subscription_required). Omit to keep it.

linkedin
object

The LinkedIn line's target, prorated now both ways; omit to keep it.

email
object

The email line's target packages, an added one prorated now, a removed one at the period's end; a size left out keeps its count, omit the part to keep the line. A change of size sets the old size to 0 and the new to 1, e.g. {"100": 0, "500": 1}.

ai_sdr
object

The AI SDR line's target, Startup's alone ($99 a month): added prorated now, removed at the period's end. Sales team and Agency include the AI SDR: a line there is 422 ai_sdr_included_in_plan. Omit to keep it.

data
object

A running data line's target: lowered from the next period (0 included), or back up to what the period was paid for, free; above that is 422 data_credits_retired (Premium data & AI credits replace the line). Omit to keep it.

Response

action success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
action
action
string
required

kebab-case verb; matches the route segment.

item
object | null
required
result
object
required
meta
object
required