Resources
Changelog
Every change to the Fansquare API, newest first, including additive changes that need no new version.
Fansquare API versions are named after minerals, in alphabetical order.
The Fansquare-Version header accepts the alias without accents (Amethyste) or the ISO date.
A version remains supported for at least 18 months after the release of the next one.
Backward-compatible additions (no new mineral)
Additive changes: available on every version, they do not create a new mineral (older clients ignore what they do not know).
2026-11-23: Team planning
Coverage:
GET /v1/planning/coverage(14 days at most, one platform): the slots nobody holds, who was planned there and why it does not hold (absent,no_access,no_platform), up to 3 available employees per gap, and the absences.Who can take a shift:
GET /v1/planning/candidates/{creator_id}, every employee available or not, with the reasons.The team and its work profiles:
GET /v1/planning/team,GET /v1/planning/team/{employee_id},PUT /v1/planning/team/{employee_id}/work-profile(the weekly hours that make the recurring shifts, from today).Shifts:
GET /v1/shifts(one item per shift on a day, 31 days at most, paginated),POST /v1/shifts,PATCH /v1/shifts/{shift_id}(the series),POST /v1/shifts/{shift_id}/override(one day),DELETE /v1/shifts/{shift_id}(scope:day,followingorseries). Times are wall-clock times of the agency time zone (timezonein each answer).Absences:
GET,POST /v1/absences,PATCHandDELETE /v1/absences/{absence_id}. Every key reads them; only a key for all creators writes them (a replacement takes the shifts of every creator). Theirreasonis written, never read back. Named shifts:GET /v1/named-shifts.The planning changes from today on: a past day is never written, changed or removed.
New scopes
read:planningandwrite:planning(inread:*,write:*and full access). New errorsunknown_shift,unknown_absence,unknown_employee,unknown_named_shift,shift_day_not_found(422),absence_already_declared(409),shift_series_started(409: a series that started only changes its end; end it from a day, then create the new shift),planning_day_in_past(409) andabsence_needs_all_creators(403).MCP: the same 15 tools (
get_planning_coverage,list_planning_candidates,list_shifts,create_shift,replace_shift_day,replace_work_profile…), and instructions to read the coverage, ask who to put on a gap and confirm every change.
2026-11-21: Private, then deleted
Publications carry
then_delete_seconds: a final deletion afterpass_private, in seconds since publishing. The post goes public, then private, then it is deleted.nullwithout one.POST /v1/publicationsandPATCH /v1/publications/{publication_id}acceptthen_delete_secondson a public post withauto_action=pass_private, greater thanauto_action_seconds(validation_failedotherwise). OnPATCH,nullremoves it, and it is dropped when the publication no longer passes private before it.MCP:
list_publicationsandget_publicationreturn the same field.
2026-11-14: Message content in sent messages
GET /v1/sent-messagesitems carrycontent: the text of the message, the caption for a media,nullwhen the MYM message is not available yet or has no text.MCP:
list_sent_messagesreturns the same field.
2026-11-06: Scripts and script sequences
Script collections:
GET /v1/script-collectionsand/v1/script-collections/{collection_id},POST /v1/script-collections,PATCHandDELETE /v1/script-collections/{collection_id}(deleting a collection deletes its scripts).Scripts:
GET /v1/scripts(filter bycreator_idsorcollection_ids) and/v1/scripts/{script_id},POST /v1/scripts,PATCHandDELETE /v1/scripts/{script_id}. A script carries 1 to 5messages, each with itscontent,price_cents,media_ids(MYM media uuids of the creator's vault) andis_voice.Script sequences:
GET /v1/script-sequencesand/v1/script-sequences/{sequence_id}(the whole tree),POST /v1/script-sequences(a whole tree in one call),POST /v1/script-sequences/from-collection,PUT /v1/script-sequences/{sequence_id}(replace the tree, ids kept with their fans),POST /v1/script-sequences/{sequence_id}/publishandDELETE. Options carry acondition(any,no_reply,bought,not_bought,other). A sequence written by the API is published.New scopes
read:scriptsandwrite:scripts. New errorsunknown_script_collection,unknown_script,unknown_script_sequence,script_sequence_invalid(422, every refused field of the tree inerrors) andscript_media_unresolved(409, the messages of a script whose stored media the API cannot serve are edited in the app).MCP: the seventeen endpoints are tools, so an assistant can turn the scripts of an agency into sequences.
Keys and connections that hold
read:*,write:*or full access get the new scopes, as with every scope.
2026-11-05: Update notes in bulk
PATCH /v1/accounts/{account_id}/insightssets the insight note of up to 50 fans of an account in one call. Each item carries theetagof a prior read of its note, as on the single-fan PATCH. Items are independent: the response lists each one in the order sent with itsstatus(updatedwith the newetag,precondition_failedwith thecurrent_etag,unknown_fan, orunavailable: retry that item later with the sameetag, and read the note again if the retry reportsprecondition_failed), and a refused item never cancels the others. Scopewrite:insights, 5 calls a minute, request body up to 1 MB. Also available to AI agents as theupdate_insightstool.
2026-11-04: Leave out new subscribers
filters.exclude.subscribed_within_dayson Mass DMs, automations and estimates: leave out the fans who subscribed to the account in the last N days (1 to 365), a first subscription or a return after a break, never a renewal. On a Mass DM it is checked again right before the first message is sent. Refused with400 validation_failedon thenew_subscriberandresubscriptiontriggers. A Mass DM or an automation set up in the app with this exclusion now reads back with it.
2026-11-03: Paused creators
account.statusof a creator can bepaused: the agency has paused the connection (the creator wants to look offline on MYM). Fansquare makes no call to MYM with this account until the agency resumes it: no sync, no send, and the Mass DMs and posts planned during the pause do not go out. Sales are still read once per night.
2026-11-02: Several tags per fan
Behavior change on every version (not an addition). A fan now carries up to 5 tags, as in the app, where it carried one.
tagson a fan (GET /v1/accounts/{account_id}/fansand the fan itself) can hold up to 5 tags. Read the whole list: the first one is no longer the only one.PUT /v1/accounts/{account_id}/fans/{fan_id}/tags/{tag_id}adds the tag and keeps the fan's other tags, where it used to replace them. To move a fan from one tag to another, remove the old one withDELETE. A sixth tag is refused with the new error422 tag_limit_reached.POST /v1/accounts/{account_id}/tags/{tag_id}/applyadds the tag the same way. Fans that already carry 5 tags are left untouched and listed in the newtag_limit_fan_idsfield.
2026-11-01: Mass DMs and automations
Mass DMs:
GET /v1/mass-dmsand/v1/mass-dms/{mass_dm_id}(messages, filters, outcome of the send),POST /v1/mass-dms/estimate(audience of a set of filters, nothing created),POST /v1/mass-dms(send now or atscheduled_at) andPOST /v1/mass-dms/{mass_dm_id}/cancel. New scopesread:mass_dmsandwrite:mass_dms.Automations:
GET /v1/automationsand/v1/automations/{automation_id}(trigger, messages, filters, lifetime totals),POST /v1/automations,POST /v1/automations/{automation_id}/pauseand/resume. New scopesread:automationsandwrite:automations.Audience filters shared by both, in the vocabulary of the fan list: status, tags, spend, tips, seniority, online, paid spend and payments over 7, 30 and 90 days, SpenderIQ tiers, last media purchase, and the exclusions (recently messaged, live conversation, unread, media already unlocked or received).
Safety limits: at most 5 Mass DMs of a creator leaving within 15 minutes of each other (
409 mass_dm_burst_limit), and at most 10 leaving within 24 hours, per creator, counted on send dates (409 mass_dm_daily_limit). An automation never takes the trigger of an active one (409 automation_trigger_taken).New errors
unknown_mass_dm,unknown_automation,unknown_media,mass_dm_burst_limit,mass_dm_daily_limit,mass_dm_already_sent,automation_trigger_taken,automation_not_resumable,automation_not_pausable.MCP: the ten endpoints are tools. The server asks the assistant to confirm every send with the user.
2026-10-27: Richer fans, fan tags, order status, employee performance, new webhook events
GET /v1/accounts/{account_id}/fansand/fans/{fan_id}returnnickname,language(ISO 639-1),subscription(status,is_free,started_at,expires_at, null for a free subscription),spend(total_centsgross,purchase_count,last_purchase_at,currency),is_onlineandlast_seen_at. The list acceptssearch(username or nickname, within the account).Fan tags can be written (new scope
write:tags):PUT/DELETE /v1/accounts/{account_id}/fans/{fan_id}/tags/{tag_id},POST /v1/accounts/{account_id}/tags/{tag_id}/applyand/remove(up to 500 fans),POST /v1/tagsandDELETE /v1/tags/{tag_id}. A fan carries one tag at a time, as in the app: setting a tag replaces the previous one.Orders carry
status(pending,approved,failed,refunded), also in theorder.*webhook payloads, andGET /v1/ordersacceptsstatuses.GET /v1/employeesreturnsrole_name, the name of the role the member holds in the agency.GET /v1/analytics/employees/performance: messages, private media sent and purchased, fans contacted, conversion and revenue per message, per employee (31-day window).Webhook events
subscription.created,subscription.endedandfan.interested.Validation errors carry a readable
detail.Agency-wide rate limit: every key and connected assistant of an agency together get 5 times the per-key limit of each endpoint.
Changed: the fan writes act on fans Fansquare already knows for the account.
PUT …/assignmentandPUT …/ai-lockanswer404 unknown_fanfor any other fan id, andPOST …/ai-locks/acquirelocks the known fans only, listing the others in the newunknown_fan_idsfield (acquiredcounts the fans locked).Fixed: an hourly timeseries now has both hours of a DST change;
by_typecounts affiliate orders underaffiliationonly (affiliatestays, always 0, deprecated);by_creatorno longer lists creators at 0.
2026-10-24: Leave disconnected creators out of the analytics, on request
/v1/analytics/revenue, /v1/analytics/revenue/timeseries, /v1/analytics/creators and
/v1/analytics/employees accept exclude_disconnected_creators=true: the creators whose MYM account is not
connected (disconnected, or an expired key) are then left out of the totals. Omitted or false, they count, as
before. The response never depends on a setting changed in the app: the same request always covers the same
creators.
2026-10-23: Deleted creators
Restriction (not an addition). When the agency deletes a creator, /v1/orders, /v1/sent-messages and
/v1/publications no longer return her data: her orders and publications answer 404, like an unknown id, and
naming her in creator_ids returns nothing. The response shapes do not change.
2026-10-22: Analytics follow the app's statistics
Restriction (not an addition). When the agency deletes a creator, /v1/analytics/revenue,
/v1/analytics/revenue/timeseries, /v1/analytics/creators and /v1/analytics/employees no longer count her.
The response shapes do not change.
2026-10-20: MCP server
AI assistants connect to the API through the Model Context Protocol at /mcp (Streamable HTTP). Every
endpoint becomes a tool the assistant can call, within the scopes and creators of its access. Connect with
an API key in a header (Claude Code, Cursor), or by signing in to Fansquare from the connector settings of
claude.ai, ChatGPT or Claude Desktop (OAuth). See the MCP guide.
2026-10-13: Fixes
Webhook endpoints follow the creator scope of the key. A key restricted to some creators only sees, and only acts on, the endpoints that cover nothing but its own creators: an endpoint of the whole agency or one that lists another creator reads as
404 unknown_webhook_endpoint. On create and update, an emptyallowed_creator_idsmeans the creators of the key, and a creator outside its scope returns404 unknown_creator. Keys over the whole agency are unchanged.Malformed request bodies return a 4xx, not a 500. Malformed JSON returns
400 validation_failed, a body over 256 KB413 payload_too_large, a body that is not JSON415 unsupported_media_type. An empty body sent withContent-Type: application/jsonis accepted on endpoints that take no body (DELETE, ping, rotate, replay).Schema errors list a
pathon every item oferrors.Analytics windows west of UTC. A day in
start/endis read intimezone, as documented: withtimezone=America/New_York,2026-07-01used to start on June 30 local time. A day that does not exist (2026-02-30) is now refused with400 validation_failedinstead of rolling over to March 2.Expired keys are refused from their exact
expires_at.
2026-10-13: Fansquare names
Offmy is now Fansquare. The API takes the new name everywhere it shows, and keeps accepting and sending the former names: an integration built before the rename keeps working unchanged.
Host:
https://api.fansquare.so.https://developers.offmy.coserves the same API.Version header:
Fansquare-Version.Offmy-Versionstays accepted; when both are sent,Fansquare-Versionwins.API keys: new keys start with
fsq_live_. Keys starting withoffmy_live_stay valid.Webhook deliveries carry
Fansquare-Signature,Fansquare-Signature-Timestamp,Fansquare-Event-Type,Fansquare-Event-IdandFansquare-Delivery-Id, and still carry the same values under theirOffmy-names (Offmy-SignatureandFansquare-Signaturehold the same signature).Webhook signing secrets: new secrets start with
fsq_whsec_. Existingoffmy_whsec_secrets keep signing.documentation_urlin version errors points tohttps://fansquare.so/api/versioning.Unchanged until a future version: the
typeURI of errors (https://developers.offmy.co/errors/<slug>) and theUser-Agentof webhook deliveries (Offmy-Webhooks/1.0).
2026-10-08: Fan tags and audience filters
The tags set on the fan card in Offmy ("VIP", "timewaster"…) are now
exposed, and the fan list gains the filters of the CRM Audience. No new
scope: read:fans is enough.
GET /v1/accounts/{account_id}/fansandGET …/fans/{fan_id}: new fieldtags, a list of{ id, name }(empty when the fan has no tag).GET /v1/tags: catalog of the agency's tags (id,name,color), in CRM order. Tags are agency-level: the creator scope of the key does not apply.New optional filters on
GET /v1/accounts/{account_id}/fans, combined with AND (OR within a list):tag_ids: carries at least one of these tags;exclude_tag_ids: carries none of these tags (fans without tags included);has_tags(true/false): has at least one tag / has none;statuses:active_subscriber,former_subscriber,interested;min_spend_cents: total à la carte spend on this account, in euro cents (5000= 50 €);last_purchase_after/last_purchase_before: date of the last à la carte purchase (fans who never purchased do not matchlast_purchase_before);is_online(true/false): current MYM presence.
"À la carte" = tips, private media, pushes. Subscriptions and refunded purchases are excluded.
Tag filters are checked:
tag_idswithhas_tags=false, or the same id in bothtag_idsandexclude_tag_ids, return 400validation_failed(the request could never return anything). An id that is not a tag of the agency returns 422unknown_tag, with the offending ids intag_ids.
2026-09-01: Sent messages (GET /v1/sent-messages)
New flat resource (agency resources, Offmy ids) and new scope read:messages:
the send activity log of the employees, without the message content.
GET /v1/sent-messages(?user_ids,creator_ids,sources,start,end,cursor,limit): itemsid,sent_at,source(messaging/script; Offmy mass sends and native MYM pushes are not listed),sent_by_user_id(id fromGET /v1/employees, null = unattributed send),creator_id,fan_id(MYM id),fan_username,is_private_media,price_eur(cents),sale_status(free/pending/purchased/refused),message_id(MYM id of the message, null when not available yet) andmedia(MYM ids of the attached media, with their type).The message content is never included:
message_idandmediaare the pointers to fetch it directly from MYM with your own access.Sorted from the most recent to the oldest, cursor pagination, rate limit 20/min.
Updated about every 15 minutes, history of about 24 months per connected account.
2026-07-22: Insight note concurrency token readable in the body
The concurrency token (formerly "ETag") only lived in the ETag header of the
response. A header is invisible in most no-code tools. It is now emitted and accepted
on both carriers, with the same value and the same semantics:
GET .../insight→{ note, etag }in addition to theETagheader. In the body the token is bare, without quotes (the quotes are HTTP syntax).PATCH .../insightaccepts the token in theetagbody field or in theIf-Matchheader. Both are lenient (quoted, bare,W/prefix). 400validation_failedif both are sent and differ, 428 if neither is, 412 unchanged.The PATCH response also returns
{ note, etag }+ theETagheader.
Additive: integrations that already send If-Match do not change by a single
byte. The OpenAPI document now describes the ETag header and the If-Match
parameter.
2026-07-22: Every set filter is now plural
Restriction (not an addition). Rule that now applies across the whole API:
a query parameter that selects a subset is plural and takes a CSV list,
even for a single value (?creator_ids=abc, ?order_types=tip). This
applies to identifiers and to enumerations alike. There is no singular twin
anymore.
| Endpoint | Before | After |
|---|---|---|
GET /v1/analytics/* (all 4) | creator_id + creator_ids | creator_ids |
GET /v1/analytics/revenue/timeseries | user_id | user_ids |
GET /v1/orders | creator_id | creator_ids |
GET /v1/orders | fan_id | fan_ids |
GET /v1/orders | order_type | order_types |
GET /v1/accounts/{id}/fans | assigned_user_id | assigned_user_ids |
Left untouched, on purpose: URL segments (/v1/creators/{creator_id})
identify a single resource, write bodies (PUT …/assignment { user_id })
write a single value, and response fields keep their natural cardinality
(creator_id in an order item designates a creator, it is not a filter).
Why normalize rather than keep both forms: creator_ids is a strict superset
of creator_id, so the singular brought nothing but a second spelling. Their
coexistence on the analytics was even a trap, the two being merged as a
union: ?creator_id=A&creator_ids=B,C returned the scope {A, B, C} with no
error and no precedence.
Querystrings are now .strict(): an unknown parameter is a 400. This is what makes this renaming safe. Without it, ?creator_id=abc would have been
silently ignored and the caller would have received the figures of all
creators while believing they were filtered. A wrong result is worse than an
error. An empty CSV (?creator_ids=) is a 400 for the same reason, rather than
meaning "all".
Widened along the way: user_ids accepts several employees and counts the
revenue attributed to any of them. A sale is attributed to at most one
employee, so it is never counted twice.
2026-07-22: Analytics window caps
Restriction (not an addition): the analytics now cap the width of the window per bucket size.
granularity | Max window |
|---|---|
hour | 7 days |
day | 31 days |
week / month | 365 days |
| (endpoints without granularity) | 365 days |
GET /v1/analytics/creators | 90 days |
Before: 730 days everywhere, hour ≤ 31 days. A window that is too wide returns
400 validation_failed; fetching more history takes several requests.
The automatic default of granularity changes from "≤48h" to "≤2 days" for
hour (only windows that cross a clock change switch bucket).
Shipped without a new mineral: the API was in preview. A restriction of this kind now goes through a new mineral.
2026-07-21: Analytics
Ready-made revenue aggregates (no more downloading the whole /orders ledger
to build a chart). Window: start/end are inclusive days interpreted in
timezone (canonical IANA name Area/Location, UTC by default); amounts in EUR
cents; affiliate revenue is grouped under affiliation.
GET /v1/analytics/revenue: total +by_typeover the window.GET /v1/analytics/revenue/timeseries: gap-filled buckets for charts,granularity(hour|day|week|month, automatic default),breakdown=creator,user_idfilter (revenue attributed to an employee).GET /v1/analytics/creators: revenue by type + subscriptions (new,renewal,paying_fans) per creator.GET /v1/analytics/employees: attributed revenue per employee +unattributed_amount/former_employees_amount.Common filters:
creator_id,creator_ids(CSV, max 50),timezone.New scope:
read:analytics.
2026-07-17: Fan insight note
GET /v1/accounts/{account_id}/fans/{fan_id}/insight(scoperead:insights) →{ note }+ETagheader.PATCH /v1/accounts/{account_id}/fans/{fan_id}/insight(scopewrite:insights): body{ note? },If-Matchheader required (428 otherwise, 412 if the note changed since it was read). Optimistic concurrency.New scopes:
read:insights,write:insights.
Améthyste (2026-07-06)
Initial version.
Agency resources (Offmy ids):
GET /v1/creators,GET /v1/creators/{creator_id},GET /v1/employees,GET /v1/orders,GET /v1/orders/{order_id}.Per-fan relations (MYM ids):
GET /v1/accounts/{account_id}/fans,GET /v1/accounts/{account_id}/fans/{fan_id},PUT|DELETE /v1/accounts/{account_id}/fans/{fan_id}/assignment,PUT|DELETE /v1/accounts/{account_id}/fans/{fan_id}/ai-lock.Meta:
GET /changelog,GET /v1/me,GET /v1/openapi.json,/docs.