Skip to main content
POST
Typescript (SDK)
Lists all plans in the current environment.
Pass a customer_id to include customer-specific eligibility info like whether a free trial is available and the attach scenario (new, upgrade, downgrade).

Common Use Cases

Body Parameters

Response

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-version
string
default:2.3.0
required

Body

application/json
customer_id
string

Customer ID to include eligibility info (trial availability, attach scenario).

entity_id
string

Entity ID for entity-scoped plans.

include_archived
boolean

If true, includes archived plans in the response.

all_versions
boolean

If true, includes all plan versions.

Response

200 - application/json

OK

list
object[]
required