What You Can Build
- Profile Management: Update bio, name, and display settings
- Notification Systems: Monitor OnlyFans notifications
- Multi-Account Tools: Manage profiles across multiple creator accounts
Quick Example
Get account profile information:
const response = await fetch("https://api.ofauth.com/v2/access/self", {
headers: {
apikey: "YOUR_API_KEY",
"x-connection-id": "conn_abc123"
}
})
const profile = await response.json()
console.log("Logged in as:", profile.name)
console.log("Username:", profile.username)
Common Operations
Get Profile
Fetch the authenticated user’s profile:
const response = await fetch("https://api.ofauth.com/v2/access/self", {
headers: {
apikey: "YOUR_API_KEY",
"x-connection-id": "conn_abc123"
}
})
const profile = await response.json()
// Returns full profile with stats, settings, etc.
Update Profile
Modify profile information:
const response = await fetch("https://api.ofauth.com/v2/access/self", {
method: "PATCH",
headers: {
apikey: "YOUR_API_KEY",
"x-connection-id": "conn_abc123",
"Content-Type": "application/json"
},
body: JSON.stringify({
name: "New Display Name",
about: "Updated bio here..."
})
})
Get Notifications
List recent notifications:
const response = await fetch("https://api.ofauth.com/v2/access/self/notifications", {
headers: {
apikey: "YOUR_API_KEY",
"x-connection-id": "conn_abc123"
}
})
const notifications = await response.json()
API Endpoints
| Endpoint | Method | Description |
|---|
/v2/access/self | GET | Get current user profile |
/v2/access/self | PATCH | Update profile |
/v2/access/self/notifications | GET | List notifications |
/v2/access/self/release-forms | GET | List release forms |
Full API Reference
See complete endpoint documentation
SDK Methods
If you’re using the TypeScript SDK:
// Get profile
const { data: profile } = await sdk.self.getSelf({
authentication: { connectionId: "conn_abc123" }
})
// Update profile
const { data: updated } = await sdk.self.updateSelf({
authentication: { connectionId: "conn_abc123" },
params: {
name: "New Name",
about: "New bio"
}
})
// Get notifications
const { data: notifications } = await sdk.self.getNotifications({
authentication: { connectionId: "conn_abc123" }
})
SDK Self Module
Full SDK documentation for account management
Profile Data Structure
The profile object includes:
{
"id": 123456,
"username": "creatorname",
"name": "Display Name",
"isAuth": true,
"isVerified": true,
"avatar": "https://media.ofauth.com/...",
"subscribersCount": 1500,
"postsCount": 250,
"photosCount": 200,
"videosCount": 50
}
Notification Types
| Type | Description |
|---|
new_subscriber | New fan subscribed |
subscription_expired | Fan subscription ended |
tip_received | Received a tip |
message_received | New direct message |
post_liked | Post was liked |
post_commented | Post received a comment |
purchase | PPV content purchased |
Tips & Best Practices
Polling Notifications: For real-time notification monitoring, consider setting up webhooks instead of polling the notifications endpoint.
Profile Updates: Some profile fields (like username) may have restrictions or require verification. Check OnlyFans policies for limitations.
Rate Limits: Frequent profile updates may be rate limited. Batch changes when possible.