Skip to content

AccessToken

Bakhtarian edited this page May 14, 2026 · 1 revision

Access Token

An access token is a credential issued by Whop that grants scoped, programmatic access to the API on behalf of a company or user. Tokens are typically minted for OAuth-style integrations or for delegating limited permissions to a third party.

SDK access

$client->accessTokens // Matchable\Whop\Resource\AccessTokenResource

Endpoints

create(array $data): array

HTTP POST access_tokens
Does Creates a new access token.
Parameters $data — token attributes (e.g. scopes, target company/user).
Returns array — the decoded API response.

Example

$token = $client->accessTokens->create([
    'scopes' => ['read', 'write'],
]);

Reference

Official Whop documentation: https://docs.whop.com

Clone this wiki locally