GET /users/me.
By the end you’ll have called the live API at https://api.fanvue.com and seen your real profile come back as JSON.
Every request needs two things in its headers: a Bearer token (an access token you send to prove who you are) and the
X-Fanvue-API-Version header (which pins the API version so your call behaves consistently). Both are covered below.Get your credentials
Create an app to get your Client ID (a public identifier for your integration) and Client Secret (a private key you keep on your server). An “app” here is just how Fanvue issues you these credentials, you don’t have to build or publish anything to use them.
Get your Client ID and Secret
Create an app in the Fanvue Builder area to generate your OAuth credentials.
Get an access token
Fanvue uses OAuth 2.0 (an industry-standard way to grant apps access without sharing your password). Getting an access token is not a single command: a real person has to sign in and approve the request in the browser first. Here is the honest minimal version of what happens:
- You send the user to Fanvue’s authorization page at
https://auth.fanvue.com/oauth2/auth, asking for the scopes (the specific permissions your app needs) you want. For this call you needread:self, which grants read access to your own account. - The user signs in and approves. Fanvue redirects back to your app with a short-lived authorization code.
- Your server exchanges that code (plus your Client ID and Secret) at
https://auth.fanvue.com/oauth2/tokenfor an access token.
The full flow uses PKCE, the
state parameter, and a token exchange. You don’t need to memorize it now. The Quick Start runs the whole thing end to end with a working app so you can copy a token out and continue here.Get a token with the OAuth Quick Start
Run the Fanvue App Starter, sign in once, and obtain a real access token in minutes.
Make the call
Send a
GET request to https://api.fanvue.com/users/me with two headers: your access token as a Bearer token, and the required API version. Replace YOUR_ACCESS_TOKEN with the token from the previous step.- cURL
- Python
Next steps
OAuth App Quick Start
Build a working login flow with the Fanvue App Starter and get tokens automatically.
API Reference
Browse every endpoint, with request and response details for each one.