Messages

Unsend Message

Deletes/unsends a previously sent message. Only works on your own messages and within the upstream-allowed window (cancelSeconds / canUnsendQueue on the message object). Requires permission api_messages_unsend.

https://public-api.fansmetric.com
DELETE/v1/{account_id}/messages/{message_id}
Bearer

Authorization

default
AuthorizationBearer <token>

Send your FansMetric API key as a Bearer token in the Authorization header.

In: header

Path Parameters

  • account_id*integer

    OnlyFans numeric account ID.

  • message_id*integer

    Message ID to unsend.

Response Fields

  • dataobject

    Raw OnlyFans response confirming the unsend.

  • _meta._credits.usedinteger

    Credits consumed by this request (currently always 1).

  • _meta._rate_limits.limit_minuteinteger

    Maximum requests per minute for the organization.

  • _meta._rate_limits.remaining_minuteinteger

    Remaining requests in the current minute window.

  • _meta._rate_limits.limit_dayinteger

    Maximum requests per day for the organization.

  • _meta._rate_limits.remaining_dayinteger

    Remaining requests in the current day window.

curl --request DELETE "https://public-api.fansmetric.com/v1/100000001/messages/XXXXX" \
  --header "Authorization: Bearer YOUR_API_KEY"

Response

200
{
"data":{
"success":true
}
"_meta":{
"_credits":{
"used":1
}
"_rate_limits":{
"limit_minute":1000
"remaining_minute":992
"limit_day":50000
"remaining_day":49992
}
}
}

Behavior

Only your own messages can be unsent, and only within the time window OnlyFans allows. Check cancelSeconds on the message object before attempting unsend.

The FansMetric app also uses this to keep new uploads in the vault without leaving them in a chat — see Uploading Media.

  • No request body