Get Fansly chat messages
curl --request POST \
--url https://posttu.com/api/v1/fansly/conversations/message \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"channelId": "ch_fansly123",
"limit": 25,
"before": "<string>",
"after": "<string>",
"groupId": "<string>",
"ngsw-bypass": true
}
'import requests
url = "https://posttu.com/api/v1/fansly/conversations/message"
payload = {
"channelId": "ch_fansly123",
"limit": 25,
"before": "<string>",
"after": "<string>",
"groupId": "<string>",
"ngsw-bypass": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
channelId: 'ch_fansly123',
limit: 25,
before: '<string>',
after: '<string>',
groupId: '<string>',
'ngsw-bypass': true
})
};
fetch('https://posttu.com/api/v1/fansly/conversations/message', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://posttu.com/api/v1/fansly/conversations/message",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'channelId' => 'ch_fansly123',
'limit' => 25,
'before' => '<string>',
'after' => '<string>',
'groupId' => '<string>',
'ngsw-bypass' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://posttu.com/api/v1/fansly/conversations/message"
payload := strings.NewReader("{\n \"channelId\": \"ch_fansly123\",\n \"limit\": 25,\n \"before\": \"<string>\",\n \"after\": \"<string>\",\n \"groupId\": \"<string>\",\n \"ngsw-bypass\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://posttu.com/api/v1/fansly/conversations/message")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"channelId\": \"ch_fansly123\",\n \"limit\": 25,\n \"before\": \"<string>\",\n \"after\": \"<string>\",\n \"groupId\": \"<string>\",\n \"ngsw-bypass\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://posttu.com/api/v1/fansly/conversations/message")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"channelId\": \"ch_fansly123\",\n \"limit\": 25,\n \"before\": \"<string>\",\n \"after\": \"<string>\",\n \"groupId\": \"<string>\",\n \"ngsw-bypass\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"messages": [
{
"id": "<string>",
"accountId": "<string>",
"createdAt": 123,
"likes": [
{
"id": "<string>",
"messageId": "<string>",
"userId": "<string>",
"type": 123
}
],
"type": 123,
"dataVersion": 123,
"content": "<string>",
"groupId": "<string>",
"senderId": "<string>",
"correlationId": "<string>",
"attachments": [
{
"contentId": "<string>",
"contentType": 123,
"pos": 123,
"messageId": null
}
],
"embeds": [
"<unknown>"
],
"interactions": [
{
"userId": "<string>",
"readAt": 123,
"deliveredAt": 123
}
],
"totalTipAmount": 123,
"inReplyToMessage": "<unknown>",
"inReplyTo": "<string>",
"inReplyToRoot": "<string>"
}
],
"accountMedia": [
{
"id": "<string>",
"accountId": "<string>",
"mediaId": "<string>",
"permissionFlags": 123,
"price": 123,
"createdAt": 123,
"deleted": true,
"permissions": {
"permissionFlags": [
{
"flags": 123,
"id": "<string>",
"verificationFlags": 123,
"metadata": "<string>",
"validAfter": 123,
"validBefore": 123,
"price": 0,
"type": 0
}
],
"accountPermissionFlags": {
"flags": 123,
"metadata": "<string>"
}
},
"likeCount": 123,
"whitelist": [
{
"accountId": "<string>",
"permissionFlags": 123
}
],
"media": {
"id": "<string>",
"type": 123,
"status": 123,
"accountId": "<string>",
"mimetype": "<string>",
"flags": 123,
"filename": "<string>",
"location": "<string>",
"width": 123,
"height": 123,
"metadata": "<string>",
"updatedAt": 123,
"createdAt": 123,
"variants": [
{
"id": "<string>",
"type": 123,
"status": 123,
"mimetype": "<string>",
"flags": 123,
"filename": "<string>",
"location": "<string>",
"width": 123,
"height": 123,
"metadata": "<string>",
"updatedAt": 123,
"locations": [
{
"locationId": "<string>",
"location": "<string>"
}
]
}
],
"variantHash": {},
"locations": [
{
"locationId": "<string>",
"location": "<string>"
}
]
},
"purchased": true,
"whitelisted": true,
"accountPermissionFlags": 123,
"access": true,
"previewId": "<unknown>",
"deletedAt": "<unknown>"
}
],
"accountMediaBundles": [
{
"id": "<string>",
"accountId": "<string>",
"permissionFlags": 123,
"createdAt": 123,
"deleted": true,
"accountMediaIds": [
"<string>"
],
"bundleContent": [
{
"accountMediaId": "<string>",
"pos": 123
}
],
"permissions": {
"permissionFlags": [
{
"flags": 123,
"id": "<string>",
"verificationFlags": 123,
"metadata": "<string>",
"validAfter": 123,
"validBefore": 123,
"price": 0,
"type": 0
}
],
"accountPermissionFlags": {
"flags": 123,
"metadata": "<string>"
}
},
"whitelist": [
{
"accountId": "<string>",
"permissionFlags": 123
}
],
"purchased": true,
"whitelisted": true,
"accountPermissionFlags": 123,
"access": true,
"previewId": "<unknown>",
"price": 0,
"deletedAt": "<unknown>"
}
],
"tips": [
"<unknown>"
],
"tipGoals": [
"<unknown>"
],
"accountMediaOrders": [
"<unknown>"
],
"stories": [
{
"id": "<string>",
"authorId": "<string>",
"title": "<string>",
"description": "<string>",
"content": "<string>",
"createdAt": 123,
"updatedAt": 123,
"permissions": {
"permissionFlags": [
{
"flags": 123,
"id": "<string>",
"verificationFlags": 123,
"metadata": "<string>",
"validAfter": 123,
"validBefore": 123,
"price": 0,
"type": 0
}
],
"accountPermissionFlags": {
"flags": 123,
"metadata": "<string>"
}
},
"purchased": true,
"whitelisted": true,
"accountPermissionFlags": 123,
"access": true
}
],
"storyOrders": [
"<unknown>"
]
}
}{
"error": "<string>"
}Messaging
Get Fansly chat messages
Fetches the message history of a chat group with cursor pagination via Posttu’s Fansly REST API (POST /api/v1/fansly/conversations/message) and MCP server.
POST
/
api
/
v1
/
fansly
/
conversations
/
message
Get Fansly chat messages
curl --request POST \
--url https://posttu.com/api/v1/fansly/conversations/message \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"channelId": "ch_fansly123",
"limit": 25,
"before": "<string>",
"after": "<string>",
"groupId": "<string>",
"ngsw-bypass": true
}
'import requests
url = "https://posttu.com/api/v1/fansly/conversations/message"
payload = {
"channelId": "ch_fansly123",
"limit": 25,
"before": "<string>",
"after": "<string>",
"groupId": "<string>",
"ngsw-bypass": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
channelId: 'ch_fansly123',
limit: 25,
before: '<string>',
after: '<string>',
groupId: '<string>',
'ngsw-bypass': true
})
};
fetch('https://posttu.com/api/v1/fansly/conversations/message', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://posttu.com/api/v1/fansly/conversations/message",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'channelId' => 'ch_fansly123',
'limit' => 25,
'before' => '<string>',
'after' => '<string>',
'groupId' => '<string>',
'ngsw-bypass' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://posttu.com/api/v1/fansly/conversations/message"
payload := strings.NewReader("{\n \"channelId\": \"ch_fansly123\",\n \"limit\": 25,\n \"before\": \"<string>\",\n \"after\": \"<string>\",\n \"groupId\": \"<string>\",\n \"ngsw-bypass\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://posttu.com/api/v1/fansly/conversations/message")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"channelId\": \"ch_fansly123\",\n \"limit\": 25,\n \"before\": \"<string>\",\n \"after\": \"<string>\",\n \"groupId\": \"<string>\",\n \"ngsw-bypass\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://posttu.com/api/v1/fansly/conversations/message")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"channelId\": \"ch_fansly123\",\n \"limit\": 25,\n \"before\": \"<string>\",\n \"after\": \"<string>\",\n \"groupId\": \"<string>\",\n \"ngsw-bypass\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"messages": [
{
"id": "<string>",
"accountId": "<string>",
"createdAt": 123,
"likes": [
{
"id": "<string>",
"messageId": "<string>",
"userId": "<string>",
"type": 123
}
],
"type": 123,
"dataVersion": 123,
"content": "<string>",
"groupId": "<string>",
"senderId": "<string>",
"correlationId": "<string>",
"attachments": [
{
"contentId": "<string>",
"contentType": 123,
"pos": 123,
"messageId": null
}
],
"embeds": [
"<unknown>"
],
"interactions": [
{
"userId": "<string>",
"readAt": 123,
"deliveredAt": 123
}
],
"totalTipAmount": 123,
"inReplyToMessage": "<unknown>",
"inReplyTo": "<string>",
"inReplyToRoot": "<string>"
}
],
"accountMedia": [
{
"id": "<string>",
"accountId": "<string>",
"mediaId": "<string>",
"permissionFlags": 123,
"price": 123,
"createdAt": 123,
"deleted": true,
"permissions": {
"permissionFlags": [
{
"flags": 123,
"id": "<string>",
"verificationFlags": 123,
"metadata": "<string>",
"validAfter": 123,
"validBefore": 123,
"price": 0,
"type": 0
}
],
"accountPermissionFlags": {
"flags": 123,
"metadata": "<string>"
}
},
"likeCount": 123,
"whitelist": [
{
"accountId": "<string>",
"permissionFlags": 123
}
],
"media": {
"id": "<string>",
"type": 123,
"status": 123,
"accountId": "<string>",
"mimetype": "<string>",
"flags": 123,
"filename": "<string>",
"location": "<string>",
"width": 123,
"height": 123,
"metadata": "<string>",
"updatedAt": 123,
"createdAt": 123,
"variants": [
{
"id": "<string>",
"type": 123,
"status": 123,
"mimetype": "<string>",
"flags": 123,
"filename": "<string>",
"location": "<string>",
"width": 123,
"height": 123,
"metadata": "<string>",
"updatedAt": 123,
"locations": [
{
"locationId": "<string>",
"location": "<string>"
}
]
}
],
"variantHash": {},
"locations": [
{
"locationId": "<string>",
"location": "<string>"
}
]
},
"purchased": true,
"whitelisted": true,
"accountPermissionFlags": 123,
"access": true,
"previewId": "<unknown>",
"deletedAt": "<unknown>"
}
],
"accountMediaBundles": [
{
"id": "<string>",
"accountId": "<string>",
"permissionFlags": 123,
"createdAt": 123,
"deleted": true,
"accountMediaIds": [
"<string>"
],
"bundleContent": [
{
"accountMediaId": "<string>",
"pos": 123
}
],
"permissions": {
"permissionFlags": [
{
"flags": 123,
"id": "<string>",
"verificationFlags": 123,
"metadata": "<string>",
"validAfter": 123,
"validBefore": 123,
"price": 0,
"type": 0
}
],
"accountPermissionFlags": {
"flags": 123,
"metadata": "<string>"
}
},
"whitelist": [
{
"accountId": "<string>",
"permissionFlags": 123
}
],
"purchased": true,
"whitelisted": true,
"accountPermissionFlags": 123,
"access": true,
"previewId": "<unknown>",
"price": 0,
"deletedAt": "<unknown>"
}
],
"tips": [
"<unknown>"
],
"tipGoals": [
"<unknown>"
],
"accountMediaOrders": [
"<unknown>"
],
"stories": [
{
"id": "<string>",
"authorId": "<string>",
"title": "<string>",
"description": "<string>",
"content": "<string>",
"createdAt": 123,
"updatedAt": 123,
"permissions": {
"permissionFlags": [
{
"flags": 123,
"id": "<string>",
"verificationFlags": 123,
"metadata": "<string>",
"validAfter": 123,
"validBefore": 123,
"price": 0,
"type": 0
}
],
"accountPermissionFlags": {
"flags": 123,
"metadata": "<string>"
}
},
"purchased": true,
"whitelisted": true,
"accountPermissionFlags": 123,
"access": true
}
],
"storyOrders": [
"<unknown>"
]
}
}{
"error": "<string>"
}Looking for a unified API across all platforms? Posttu also provides a centralized Inbox API (
/api/v1/inbox/*) supporting comments, direct messages, replies, likes, and moderation in a single endpoint.Authorizations
Body
application/json
Last modified on November 23, 2026

