List plans visible to an account

Get the plans an account can see, for display in an account-facing UI: the plans set up for its partner, cheapest first. Use this when you're building the plan page a business owner sees. Partners should use List your plans instead.

Prerequisites: with a token, optionally the account's company_id; without a token, the partner's referral_code.

Authentication: Public (no token). With a token, company_id must be inside your own account tree (default: your own company). Without a token, send referral_code; company_id alone is rejected with 422. With neither, the default plans are returned.

Rate limit: 100 requests per minute, counted per client IP address.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer
Defaults to 5994

With a token only: the account to list plans for. Must be inside your account tree. Leave it out to use the company of the user behind the token. Without a token it's rejected unless you also send referral_code.

string
length ≤ 255

Without a token: the partner's referral code, to list that partner's plans. Must be an existing code.

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json