Skip to main content
GET
TypeScript

Autorisations

Authorization
string
header
requis

Only available to a signed-in whop.com session. API keys, access tokens, and OAuth tokens are not accepted.

En-têtes

Api-Version-Date
string

Pins the request to a dated API version.

Exemple:

"2026-11-17"

Paramètres de requête

app_id
string

Only return grants for this app, prefixed app_. An app the user has never authorized returns an empty list.

first
integer
défaut:20

Number of results to return from the start of the range.

Plage requise: x <= 100
after
string

Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.

last
integer

Number of results to return from the end of the range.

Plage requise: x <= 100
before
string

Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.

order
enum<string>
défaut:created_at

The field to sort grants by.

Options disponibles:
created_at
direction
enum<string>
défaut:desc

Sort direction.

Options disponibles:
asc,
desc

Réponse

oauth grants listed

data
object[]
requis
page_info
object
requis