Skip to main content
GET
TypeScript

Autorisationer

Authorization
string
header
påkrævet

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

Overskrifter

Api-Version-Date
string

Pins the request to a dated API version.

Eksempel:

"2026-11-17"

Forespørgselsparametre

app_id
string

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

first
integer
standard:20

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

Nødvendigt interval: 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.

Nødvendigt interval: 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>
standard:created_at

The field to sort grants by.

Tilgængelige muligheder:
created_at
direction
enum<string>
standard:desc

Sort direction.

Tilgængelige muligheder:
asc,
desc

Svar

oauth grants listed

data
object[]
påkrævet
page_info
object
påkrævet