curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/settings/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"username": "MyNewUsername",
"name": "u1234",
"avatar": "ofapi_media_abc123",
"header": "ofapi_media_abc123",
"about": "Hey there!",
"location": "Europe",
"website": "https://example.com",
"wishlist": "https://example.com"
}'
{
"data": {
"success": true
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999969,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 10000000,
"limit_day": 50000,
"remaining_minute": 9999998,
"remaining_day": 49970
}
}
}
Updates the account profile. Only include the fields you want to update. To make a field empty, set it to null
.
curl --request POST \
--url https://app.onlyfansapi.com/api/{account}/settings/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"username": "MyNewUsername",
"name": "u1234",
"avatar": "ofapi_media_abc123",
"header": "ofapi_media_abc123",
"about": "Hey there!",
"location": "Europe",
"website": "https://example.com",
"wishlist": "https://example.com"
}'
{
"data": {
"success": true
},
"_meta": {
"_credits": {
"used": 1,
"balance": 999999969,
"note": "Always"
},
"_cache": {
"is_cached": false,
"note": "Cache disabled for this endpoint"
},
"_rate_limits": {
"limit_minute": 10000000,
"limit_day": 50000,
"remaining_minute": 9999998,
"remaining_day": 49970
}
}
}
You can retrieve your token by visiting the OnlyFansAPI Console and clicking API Keys -> Create API Key.
The Account ID
Success
The response is of type object
.