Fansly API LogoFansly API
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*
string
The unique identifier for the connected account.
target_user_id*
string
The 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

FieldTypeDescription
statusCodenumberThe HTTP status code of the response (e.g., 201)
messagestringA human-readable message about the result
dataobjectThe main response payload
├─ status_codenumberThe internal status code of the Fansly operation
└─ dataobjectNested data container
├─ successbooleanIndicates whether the request was successful
└─ responseobjectDetailed information about the follow relationship
├─ followerIdstringThe unique ID of the account that followed (your account ID)
├─ accountIdstringThe unique ID of the target account being followed
├─ idstringThe unique identifier for the follow relationship
└─ followerSortOrdernumberSorting order for follower records
timestampstringThe ISO 8601 timestamp of when the response was generated

On this page