Skip to main content
GET
TypeScript

Autorisaties

Authorization
string
header
vereist

An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Scopes

company:authorized_user:read

Headers

Api-Version-Date
string

Pins the request to a dated API version.

Voorbeeld:

"2026-11-17"

Padparameters

id
string
vereist

Team member ID. Accepted members have an ID starting with ausr_ or mber_, and pending invites one starting with ausri_. Treat it as opaque.

Respons

Team member retrieved.

account
object
vereist

The account this membership belongs to.

authorized_role
object | null
vereist

Custom role assigned to this member, or null when the member has a system role.

created_at
string
vereist

When the member joined the team or the invite was sent, as an ISO 8601 timestamp. A member who was a customer first keeps the date they were given their role.

Voorbeeld:

"2026-01-01T12:00:00.000Z"

direct_reports_count
integer | null
vereist

How many team members report directly to this member. null for invites.

Voorbeeld:

0

email
string | null
vereist

The member's email address. For an invite to an email with no Whop account yet, this is the invited address. Otherwise it is null unless the caller holds the company:authorized_user:email:read scope.

Voorbeeld:

"marcus@shinetime.example"

id
string
vereist

Team member ID. Accepted members have an ID starting with ausr_ or mber_, and pending invites one starting with ausri_. Treat it as opaque: both member prefixes are accepted wherever a team member ID is.

Voorbeeld:

"ausr_xxxxxxxxxxxxxx"

is_agent
boolean
vereist

Whether this member is an agent (app-controlled account) rather than a human team member. Always false for invites.

Voorbeeld:

false

is_partner
boolean
vereist

Whether this member or invite has the view-only Partner role, directly or through a custom role based on it. A Partner can read only the account's basic details.

Voorbeeld:

false

reports_to_chain
object[] | null
vereist
reports_to_id
string | null
vereist

The ID of the team member this member reports to, starting with ausr_ or mber_; treat it as opaque. null when the member reports to the business directly, and for invites.

Voorbeeld:

"ausr_xxxxxxxxxxxxxx"

role
enum<string>
vereist

The member's role on the account. custom means a bespoke dashboard-managed role; the API can read but not grant it.

Beschikbare opties:
owner,
admin,
partner,
sales_manager,
moderator,
advertiser,
app_manager,
support,
manager,
workforce,
custom
Voorbeeld:

"admin"

status
enum<string>
vereist

joined for accepted members, pending while the invite is pending.

Beschikbare opties:
joined,
pending
Voorbeeld:

"joined"

updated_at
string
vereist

When the membership was last updated, as an ISO 8601 timestamp.

Voorbeeld:

"2026-01-01T12:00:00.000Z"

user
object | null
vereist

The user behind this team membership. null for an invite sent to an email with no Whop account yet.