Followers
Follow a User
Follow a specific user account.
This endpoint allows you to follow a specific user account.
https://v1.apifansly.com/api/fansly
POST
/{account_id}/follow/{target_user_id}
Get Started
All requests to the Fansly API require an API Key. See the Authentication page for details.
curl -X POST "https://v1.apifansly.com/api/fansly/{account_id}/follow/{target_user_id}" \
-H "x-api-key: YOUR_API_KEY"fetch("https://v1.apifansly.com/api/fansly/{account_id}/follow/{target_user_id}", {
method: "POST",
headers: {
"x-api-key": "YOUR_API_KEY"
}
})import requests
url = "https://v1.apifansly.com/api/fansly/{account_id}/follow/{target_user_id}"
headers = {
"x-api-key": "YOUR_API_KEY"
}
response = requests.post(url, headers=headers)
print(response.json())import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://v1.apifansly.com/api/fansly/{account_id}/follow/{target_user_id}"))
.header("x-api-key", "YOUR_API_KEY")
.POST(HttpRequest.BodyPublishers.noBody())
.build();
client.sendAsync(request, HttpResponse.BodyHandlers.ofString())
.thenApply(HttpResponse::body)
.thenAccept(System.out::println)
.join();using System.Net.Http;
using System.Threading.Tasks;
var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "YOUR_API_KEY");
var response = await client.PostAsync("https://v1.apifansly.com/api/fansly/{account_id}/follow/{target_user_id}", null);
var responseString = await response.Content.ReadAsStringAsync();
Console.WriteLine(responseString);package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func main() {
url := "https://v1.apifansly.com/api/fansly/{account_id}/follow/{target_user_id}"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Set("x-api-key", "YOUR_API_KEY")
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := ioutil.ReadAll(resp.Body)
fmt.Println(string(body))
}Path Parameters
account_id*
stringThe unique identifier for the connected account.
target_user_id*
stringThe unique identifier (userId) of the user account you want to follow.
Response
{
"statusCode": 201,
"message": "Success",
"data": {
"status_code": 200,
"data": {
"success": true,
"response": {
"followerId": "your_account_id_string",
"accountId": "target_account_id_string",
"id": "follow_id_string",
"followerSortOrder": 1
}
}
},
"timestamp": "2026-05-12T22:28:15.527Z"
}Response Body
| Field | Type | Description |
|---|---|---|
statusCode | number | The HTTP status code of the response (e.g., 201) |
message | string | A human-readable message about the result |
data | object | The main response payload |
├─ status_code | number | The internal status code of the Fansly operation |
└─ data | object | Nested data container |
├─ success | boolean | Indicates whether the request was successful |
└─ response | object | Detailed information about the follow relationship |
├─ followerId | string | The unique ID of the account that followed (your account ID) |
├─ accountId | string | The unique ID of the target account being followed |
├─ id | string | The unique identifier for the follow relationship |
└─ followerSortOrder | number | Sorting order for follower records |
timestamp | string | The ISO 8601 timestamp of when the response was generated |