Mass Messages
Direct Message Statistics
Returns per-direct-message (1:1) delivery and engagement stats — same per-message shape as the mass-message stats endpoint, but scoped to direct messages instead of mass blasts. Requires permission api_direct_messages_stats.
https://public-api.buffmetrics.comAuthorization
defaultAuthorizationBearer <token>Send your FansMetric API key as a Bearer token in the Authorization header.
In: header
Path Parameters
account_id*integerOnlyFans numeric account ID.
Query Parameters
limitintegerNumber of messages to return. Default 10. Min 1, max 100.
start_datestringEarliest message date (UTC). Default 2 years ago.
YYYY-MM-DD HH:MM:SSor ISO 8601.end_datestringLatest message date (UTC). Default end of today. Used as the **cursor** for default (non-search) pagination — pass the previous response's last item
date.querystringText search across message bodies. When set, switches pagination to offset-based.
offsetintegerPagination offset. **Only used when
queryis set**; ignored otherwise.
curl --request GET "https://public-api.buffmetrics.com/v1/acct_XXXXX/direct-messages?limit=20&start_date=sample_start_date&end_date=sample_end_date" \
--header "Authorization: Bearer YOUR_API_KEY"Response
200