Get message history
curl --request POST \
--url https://posttu.com/api/v1/inbox/message-history \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"platform": "TWITTER",
"channelId": "ch_abc123",
"platformId": "user_123",
"chatId": "chat_xyz789",
"onlyfansFilterArgs": {
"limit": 10,
"order": "desc",
"id": "<string>",
"skip_users": "all"
},
"fanslyFilterArgs": {
"limit": 25,
"before": "<string>",
"after": "<string>",
"groupId": "<string>",
"ngsw-bypass": true
},
"fanvueFilterArgs": {
"page": 123,
"size": 123
},
"filters": {
"offset": 0,
"limit": 50,
"sort": "desc",
"start": "2026-11-17T06:00:00.000Z",
"end": "2026-11-24T05:59:59.999Z"
},
"cursor": "<string>"
}
'import requests
url = "https://posttu.com/api/v1/inbox/message-history"
payload = {
"platform": "TWITTER",
"channelId": "ch_abc123",
"platformId": "user_123",
"chatId": "chat_xyz789",
"onlyfansFilterArgs": {
"limit": 10,
"order": "desc",
"id": "<string>",
"skip_users": "all"
},
"fanslyFilterArgs": {
"limit": 25,
"before": "<string>",
"after": "<string>",
"groupId": "<string>",
"ngsw-bypass": True
},
"fanvueFilterArgs": {
"page": 123,
"size": 123
},
"filters": {
"offset": 0,
"limit": 50,
"sort": "desc",
"start": "2026-11-17T06:00:00.000Z",
"end": "2026-11-24T05:59:59.999Z"
},
"cursor": "<string>"
}
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({
platform: 'TWITTER',
channelId: 'ch_abc123',
platformId: 'user_123',
chatId: 'chat_xyz789',
onlyfansFilterArgs: {limit: 10, order: 'desc', id: '<string>', skip_users: 'all'},
fanslyFilterArgs: {
limit: 25,
before: '<string>',
after: '<string>',
groupId: '<string>',
'ngsw-bypass': true
},
fanvueFilterArgs: {page: 123, size: 123},
filters: {
offset: 0,
limit: 50,
sort: 'desc',
start: '2026-11-17T06:00:00.000Z',
end: '2026-11-24T05:59:59.999Z'
},
cursor: '<string>'
})
};
fetch('https://posttu.com/api/v1/inbox/message-history', 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/inbox/message-history",
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([
'platform' => 'TWITTER',
'channelId' => 'ch_abc123',
'platformId' => 'user_123',
'chatId' => 'chat_xyz789',
'onlyfansFilterArgs' => [
'limit' => 10,
'order' => 'desc',
'id' => '<string>',
'skip_users' => 'all'
],
'fanslyFilterArgs' => [
'limit' => 25,
'before' => '<string>',
'after' => '<string>',
'groupId' => '<string>',
'ngsw-bypass' => true
],
'fanvueFilterArgs' => [
'page' => 123,
'size' => 123
],
'filters' => [
'offset' => 0,
'limit' => 50,
'sort' => 'desc',
'start' => '2026-11-17T06:00:00.000Z',
'end' => '2026-11-24T05:59:59.999Z'
],
'cursor' => '<string>'
]),
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/inbox/message-history"
payload := strings.NewReader("{\n \"platform\": \"TWITTER\",\n \"channelId\": \"ch_abc123\",\n \"platformId\": \"user_123\",\n \"chatId\": \"chat_xyz789\",\n \"onlyfansFilterArgs\": {\n \"limit\": 10,\n \"order\": \"desc\",\n \"id\": \"<string>\",\n \"skip_users\": \"all\"\n },\n \"fanslyFilterArgs\": {\n \"limit\": 25,\n \"before\": \"<string>\",\n \"after\": \"<string>\",\n \"groupId\": \"<string>\",\n \"ngsw-bypass\": true\n },\n \"fanvueFilterArgs\": {\n \"page\": 123,\n \"size\": 123\n },\n \"filters\": {\n \"offset\": 0,\n \"limit\": 50,\n \"sort\": \"desc\",\n \"start\": \"2026-11-17T06:00:00.000Z\",\n \"end\": \"2026-11-24T05:59:59.999Z\"\n },\n \"cursor\": \"<string>\"\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/inbox/message-history")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"platform\": \"TWITTER\",\n \"channelId\": \"ch_abc123\",\n \"platformId\": \"user_123\",\n \"chatId\": \"chat_xyz789\",\n \"onlyfansFilterArgs\": {\n \"limit\": 10,\n \"order\": \"desc\",\n \"id\": \"<string>\",\n \"skip_users\": \"all\"\n },\n \"fanslyFilterArgs\": {\n \"limit\": 25,\n \"before\": \"<string>\",\n \"after\": \"<string>\",\n \"groupId\": \"<string>\",\n \"ngsw-bypass\": true\n },\n \"fanvueFilterArgs\": {\n \"page\": 123,\n \"size\": 123\n },\n \"filters\": {\n \"offset\": 0,\n \"limit\": 50,\n \"sort\": \"desc\",\n \"start\": \"2026-11-17T06:00:00.000Z\",\n \"end\": \"2026-11-24T05:59:59.999Z\"\n },\n \"cursor\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://posttu.com/api/v1/inbox/message-history")
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 \"platform\": \"TWITTER\",\n \"channelId\": \"ch_abc123\",\n \"platformId\": \"user_123\",\n \"chatId\": \"chat_xyz789\",\n \"onlyfansFilterArgs\": {\n \"limit\": 10,\n \"order\": \"desc\",\n \"id\": \"<string>\",\n \"skip_users\": \"all\"\n },\n \"fanslyFilterArgs\": {\n \"limit\": 25,\n \"before\": \"<string>\",\n \"after\": \"<string>\",\n \"groupId\": \"<string>\",\n \"ngsw-bypass\": true\n },\n \"fanvueFilterArgs\": {\n \"page\": 123,\n \"size\": 123\n },\n \"filters\": {\n \"offset\": 0,\n \"limit\": 50,\n \"sort\": \"desc\",\n \"start\": \"2026-11-17T06:00:00.000Z\",\n \"end\": \"2026-11-24T05:59:59.999Z\"\n },\n \"cursor\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"messages": [
{
"id": "<string>",
"platform": "TWITTER",
"platformId": "<string>",
"text": "<string>",
"sentBy": {
"data": {
"id": "usr_abc123",
"username": "johndoe",
"displayName": "John Doe",
"profileImageUrl": "<string>",
"isVerified": true,
"followers": 123
},
"success": true,
"error": "<string>"
},
"timestamp": "2023-11-07T05:31:56Z",
"media": [
{
"id": "<string>",
"url": "<string>",
"type": "<string>"
}
],
"isDeleted": true
}
],
"nextCursor": "<string>",
"totalCount": 123
},
"success": true,
"error": "<string>"
}{
"error": "<string>"
}Messages
Message history
Retrieve the full message history for a specific conversation.
POST
/
api
/
v1
/
inbox
/
message-history
Get message history
curl --request POST \
--url https://posttu.com/api/v1/inbox/message-history \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"platform": "TWITTER",
"channelId": "ch_abc123",
"platformId": "user_123",
"chatId": "chat_xyz789",
"onlyfansFilterArgs": {
"limit": 10,
"order": "desc",
"id": "<string>",
"skip_users": "all"
},
"fanslyFilterArgs": {
"limit": 25,
"before": "<string>",
"after": "<string>",
"groupId": "<string>",
"ngsw-bypass": true
},
"fanvueFilterArgs": {
"page": 123,
"size": 123
},
"filters": {
"offset": 0,
"limit": 50,
"sort": "desc",
"start": "2026-11-17T06:00:00.000Z",
"end": "2026-11-24T05:59:59.999Z"
},
"cursor": "<string>"
}
'import requests
url = "https://posttu.com/api/v1/inbox/message-history"
payload = {
"platform": "TWITTER",
"channelId": "ch_abc123",
"platformId": "user_123",
"chatId": "chat_xyz789",
"onlyfansFilterArgs": {
"limit": 10,
"order": "desc",
"id": "<string>",
"skip_users": "all"
},
"fanslyFilterArgs": {
"limit": 25,
"before": "<string>",
"after": "<string>",
"groupId": "<string>",
"ngsw-bypass": True
},
"fanvueFilterArgs": {
"page": 123,
"size": 123
},
"filters": {
"offset": 0,
"limit": 50,
"sort": "desc",
"start": "2026-11-17T06:00:00.000Z",
"end": "2026-11-24T05:59:59.999Z"
},
"cursor": "<string>"
}
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({
platform: 'TWITTER',
channelId: 'ch_abc123',
platformId: 'user_123',
chatId: 'chat_xyz789',
onlyfansFilterArgs: {limit: 10, order: 'desc', id: '<string>', skip_users: 'all'},
fanslyFilterArgs: {
limit: 25,
before: '<string>',
after: '<string>',
groupId: '<string>',
'ngsw-bypass': true
},
fanvueFilterArgs: {page: 123, size: 123},
filters: {
offset: 0,
limit: 50,
sort: 'desc',
start: '2026-11-17T06:00:00.000Z',
end: '2026-11-24T05:59:59.999Z'
},
cursor: '<string>'
})
};
fetch('https://posttu.com/api/v1/inbox/message-history', 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/inbox/message-history",
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([
'platform' => 'TWITTER',
'channelId' => 'ch_abc123',
'platformId' => 'user_123',
'chatId' => 'chat_xyz789',
'onlyfansFilterArgs' => [
'limit' => 10,
'order' => 'desc',
'id' => '<string>',
'skip_users' => 'all'
],
'fanslyFilterArgs' => [
'limit' => 25,
'before' => '<string>',
'after' => '<string>',
'groupId' => '<string>',
'ngsw-bypass' => true
],
'fanvueFilterArgs' => [
'page' => 123,
'size' => 123
],
'filters' => [
'offset' => 0,
'limit' => 50,
'sort' => 'desc',
'start' => '2026-11-17T06:00:00.000Z',
'end' => '2026-11-24T05:59:59.999Z'
],
'cursor' => '<string>'
]),
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/inbox/message-history"
payload := strings.NewReader("{\n \"platform\": \"TWITTER\",\n \"channelId\": \"ch_abc123\",\n \"platformId\": \"user_123\",\n \"chatId\": \"chat_xyz789\",\n \"onlyfansFilterArgs\": {\n \"limit\": 10,\n \"order\": \"desc\",\n \"id\": \"<string>\",\n \"skip_users\": \"all\"\n },\n \"fanslyFilterArgs\": {\n \"limit\": 25,\n \"before\": \"<string>\",\n \"after\": \"<string>\",\n \"groupId\": \"<string>\",\n \"ngsw-bypass\": true\n },\n \"fanvueFilterArgs\": {\n \"page\": 123,\n \"size\": 123\n },\n \"filters\": {\n \"offset\": 0,\n \"limit\": 50,\n \"sort\": \"desc\",\n \"start\": \"2026-11-17T06:00:00.000Z\",\n \"end\": \"2026-11-24T05:59:59.999Z\"\n },\n \"cursor\": \"<string>\"\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/inbox/message-history")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"platform\": \"TWITTER\",\n \"channelId\": \"ch_abc123\",\n \"platformId\": \"user_123\",\n \"chatId\": \"chat_xyz789\",\n \"onlyfansFilterArgs\": {\n \"limit\": 10,\n \"order\": \"desc\",\n \"id\": \"<string>\",\n \"skip_users\": \"all\"\n },\n \"fanslyFilterArgs\": {\n \"limit\": 25,\n \"before\": \"<string>\",\n \"after\": \"<string>\",\n \"groupId\": \"<string>\",\n \"ngsw-bypass\": true\n },\n \"fanvueFilterArgs\": {\n \"page\": 123,\n \"size\": 123\n },\n \"filters\": {\n \"offset\": 0,\n \"limit\": 50,\n \"sort\": \"desc\",\n \"start\": \"2026-11-17T06:00:00.000Z\",\n \"end\": \"2026-11-24T05:59:59.999Z\"\n },\n \"cursor\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://posttu.com/api/v1/inbox/message-history")
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 \"platform\": \"TWITTER\",\n \"channelId\": \"ch_abc123\",\n \"platformId\": \"user_123\",\n \"chatId\": \"chat_xyz789\",\n \"onlyfansFilterArgs\": {\n \"limit\": 10,\n \"order\": \"desc\",\n \"id\": \"<string>\",\n \"skip_users\": \"all\"\n },\n \"fanslyFilterArgs\": {\n \"limit\": 25,\n \"before\": \"<string>\",\n \"after\": \"<string>\",\n \"groupId\": \"<string>\",\n \"ngsw-bypass\": true\n },\n \"fanvueFilterArgs\": {\n \"page\": 123,\n \"size\": 123\n },\n \"filters\": {\n \"offset\": 0,\n \"limit\": 50,\n \"sort\": \"desc\",\n \"start\": \"2026-11-17T06:00:00.000Z\",\n \"end\": \"2026-11-24T05:59:59.999Z\"\n },\n \"cursor\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"messages": [
{
"id": "<string>",
"platform": "TWITTER",
"platformId": "<string>",
"text": "<string>",
"sentBy": {
"data": {
"id": "usr_abc123",
"username": "johndoe",
"displayName": "John Doe",
"profileImageUrl": "<string>",
"isVerified": true,
"followers": 123
},
"success": true,
"error": "<string>"
},
"timestamp": "2023-11-07T05:31:56Z",
"media": [
{
"id": "<string>",
"url": "<string>",
"type": "<string>"
}
],
"isDeleted": true
}
],
"nextCursor": "<string>",
"totalCount": 123
},
"success": true,
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Body
application/json
Last modified on April 4, 2026

