Skip to main content
GET

Authorizations

Authorization
string
header
required

OAuth2 Authorization Grant

FlowAuthorization Code
Authorization URL
https://accounts.fax.plus/login?response_type=code&client_id=YOUR_CLIENT_ID&redirect_uri=http://localhost&scope=all
Token URL
https://accounts.fax.plus/token
Refresh URL
https://accounts.fax.plus/token?grant_type=refresh_token&refresh_token=YOUR_REFRESH_TOKEN
Scopes1
all
for now when a user grants permission, all grants will be permitted

Path Parameters

user_id
string
default:self
required

User ID to get plan information about. For your own account use 'self'

Response

Object containing user plan type and permission flags

User plan and permission flags

plan_type
enum<string>
required

Current plan type

Available options:
free,
basic,
premium,
business,
enterprise,
unknown
is_admin
boolean
required

Whether the user has admin permissions (manage_plan or manage_hierarchy).

is_owner
boolean
required

Whether the user has owner permissions (assign_admin, manage_plan, or manage_hierarchy).