At the end of this guide you know how the DROPP connector is built into the
partner API, you have called its tools with a test key, you know how an
assistant signs a person in with "Login with DROPP", and your own app reads
the same numbers from GET /v1/stats/report with the same definitions.
The business version of this page is Ask DROPP about your sales from your AI assistant.
What is verified today. DROPP's route-level tests run the connector
against the API's real routes and guard for: the tool list, whoami, reading
links, orders, one order, transactions and statistics, creating and archiving
a link with preview and confirm, and the refusals for a missing scope, a
creator not connected, an expired or another caller's confirmation, two
concurrent confirms and a confirmation store outage. Being verified: the
other changes (copy, Vault link, update, donation link, wishlist,
subscription checkout link, a successful invite), get_creator_status,
get_balance_and_payouts, calling the deployed connector with a test key,
and a full connection from Claude or ChatGPT. The connector's application is
not registered yet, so the setup page says "not open yet".
Before you start
- The connector is part of the partner API. Its address is
https://api.external.dropp.fans/mcp(at the root, not under/v1:POST /v1/mcpis404). Each tool calls the API's own/v1routes inside the same server, with the caller's own credential. The same guard, scopes, creator rules, rate limits, idempotency, live/test rules and audit apply. The connector adds no business rule and does no arithmetic on money. - It takes a Bearer credential, nothing else.
POST /mcpwithAuthorization: Bearer <token or key>. A Login with DROPP access token works, and so does a DROPP API key (drp_live_...,drp_test_...). An application key alone (X-Dropp-App-KeywithoutAuthorization) is refused with401. - It is stateless. Streamable HTTP with JSON answers: every request is a
JSON-RPC
POST, no session, nothing kept between requests.GETandDELETEon/mcpanswer405. - Scopes it uses. A tool works only if the credential holds the scope of
the route it calls. Missing one, the tool returns the API's
403 forbidden.
| Tool | Routes it calls | Scope needed |
|---|---|---|
whoami | GET /v1/me, GET /v1/creators | none |
list_links | the GET routes of links, link folders, donation links, wishlists, content | links:read, donation_links:read, wishlists:read, content:read (per kind) |
get_creator_status | GET /v1/creators/status | none |
find_orders | GET /v1/orders | orders:read |
get_order | GET /v1/orders/{id}, GET /v1/transactions | orders:read (and transactions:read for its transactions; without it the order comes back with transactions_error) |
find_transactions | GET /v1/transactions | transactions:read |
get_balance_and_payouts | GET /v1/balance, GET /v1/payouts | payouts:read (live only) |
sales_report | GET /v1/stats/report | stats:read; for an agency view over OAuth, stats:agency too |
stats_definitions | GET /v1/stats/definitions | stats:read |
prepare_action | the GET of the target link for an action on an existing link; GET /v1/creators (and GET /v1/me without profile_id) to name the creator of a create; nothing for an invite | links:read for an action on an existing link |
confirm_action | the route of the previewed change | links:write, donation_links:write, wishlists:write, subscriptions:write, or creators:invite (Login with DROPP only) |
Inviting a creator through the connector works only with a Login with DROPP
token holding creators:invite, for an agency the person is an ADMIN of. An
agency API key cannot invite through the connector today: the tool always
names the agency, and the API refuses that field from an API key
(400 bad_request). Invites are live only, and are refused for agencies on
DROPP's team roles (403 forbidden).
stats:agency and creators:invite are app-level scopes: DROPP sets them on
an application, and they are never on an API key. The DROPP connector's own
application gets its scopes from DROPP when it is registered; the person sees
them on the consent screen and approves them.
MCP=https://api.external.dropp.fans/mcp
BASE=https://api.external.dropp.fans/v1
KEY=drp_test_... # a test key with the scopes above, for steps 1 to 3Step 1. List the tools and ask who you are
Mint a test key in the dashboard's Create API key dialog (tick Test mode), with the scopes of the tools you want to try. Then:
curl -X POST "$MCP" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/list" }'The answer lists 11 tools, in this order: whoami, list_links,
get_creator_status, find_orders, get_order, find_transactions,
prepare_action, confirm_action, get_balance_and_payouts,
sales_report, stats_definitions. Each has a title and explicit
readOnlyHint, destructiveHint and openWorldHint; only prepare_action
and confirm_action are not read-only.
Call a tool:
curl -X POST "$MCP" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{ "jsonrpc": "2.0", "id": 2, "method": "tools/call",
"params": { "name": "whoami", "arguments": {} } }'{ "jsonrpc": "2.0", "id": 2, "result": { "content": [ { "type": "text",
"text": "{\"mode\":\"test\",\"as_of\":\"2026-11-22T10:00:00.000Z\",\"data\":{\"account\":{...},\"scopes\":[...],\"creators\":[...]},\"untrusted_text_notice\":\"...\"}" } ] } }The response is abridged. Every tool answers with one JSON document in
content[0].text:
mode:testwith adrp_test_key,liveotherwise.as_of: when the answer was read.data(orerror, withresult.isError: true).untrusted_text_notice: every string that DROPP did not write itself (a link title, a display name, a buyer email, yourmetadata) comes back as{ "untrusted_text": "..." }, so an assistant reports it as data and never follows it as an instruction.
whoami returns account (the GET /v1/me answer), scopes and
creators (the creators this credential can act for). When a credential can
act for several creators, every tool that reads or acts for one creator needs
profile_id; an agency view of sales_report takes view=agency (and
agency_id with a Login with DROPP token) instead.
Step 2. Ask a sales question
curl -X POST "$MCP" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{ "jsonrpc": "2.0", "id": 3, "method": "tools/call",
"params": { "name": "sales_report", "arguments": {
"metrics": ["net_earnings", "orders"],
"period": "last_month", "time_zone": "Europe/Paris", "compare": true } } }'sales_report sends one GET /v1/stats/report with the same parameters
(lists comma-separated) and passes the answer through untouched: data.data
is the report of step 5, byte for byte for money and rates. The definitions
and notes stay readable; a group key (a buyer email, a country, a link id)
and your filter lists (creator_ids, link_ids, countries,
payment_methods) come back marked as untrusted text.
The tool's description tells the assistant to quote the currency, period,
time zone, as_of and definition; to read null as "not available", never
zero; never to add amounts in different currencies; and to ask the report for
a comparison or a breakdown instead of computing one.
stats_definitions returns the definitions list of step 5.
Step 3. Preview, then confirm a change
Every change is two calls. prepare_action stores the exact request and
creates nothing:
curl -X POST "$MCP" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{ "jsonrpc": "2.0", "id": 4, "method": "tools/call",
"params": { "name": "prepare_action", "arguments": { "request": {
"action": "create_link", "profile_id": "pfl_abc123",
"content_ids": ["ctt_abc123"], "price_cents": 1500,
"currency_code": "EUR", "name": "New video" } } } }'The data of the tool's document (abridged):
{
"confirmation_id": "mcpc_...",
"expires_at": "2026-11-22T10:10:00.000Z",
"will": {
"action": "create_link",
"creator": { "id": "pfl_abc123", "display_name": { "untrusted_text": "Ava Stone" } },
"title": { "untrusted_text": "New video" },
"price_cents": 1500,
"currency": "EUR",
"content_ids": [{ "untrusted_text": "ctt_abc123" }]
},
"sends": { "method": "POST", "path": "/v1/links", "params": null, "query": null,
"body": { "profile_id": "pfl_abc123", "content_ids": [{ "untrusted_text": "ctt_abc123" }],
"price": 1500, "currency_code": "EUR", "name": { "untrusted_text": "New video" } } },
"duplicates": { "untrusted_text": "Confirming this exact request again today (UTC) returns the first result; it never creates a second item." },
"next_step": { "untrusted_text": "Show this preview to the person. Call confirm_action with the confirmation_id only after they agree. Nothing has been created yet." }
}will is what the person should see; sends is the exact request DROPP
will run. Strings outside DROPP's short list of its own fields (ids, codes,
dates, currencies) come back marked, including here the content ids and the
two sentences DROPP writes itself.
Then confirm_action with only the id:
-d '{ "jsonrpc": "2.0", "id": 5, "method": "tools/call",
"params": { "name": "confirm_action",
"arguments": { "confirmation_id": "mcpc_..." } } }'It runs the stored request once and returns
{ "action": "create_link", "done": true, "replayed_existing": false, "result": { ... } },
result being the API's answer to POST /v1/links.
What to check:
confirm_actiontakesconfirmation_idand nothing else: nothing can be changed at confirmation.- The id is valid 10 minutes, is bound to the credential that prepared it
(another caller gets "unknown") and runs once. Two concurrent confirms run
once; a later confirm of the same id returns
already_confirmed: truewith the first result. - Creating the same link, copy, Vault link, donation link, wishlist or
invite twice on the same UTC day returns the first result. Pass
allow_duplicate_of_recent: trueonly when the person wants a second identical item. Archive, update and subscription checkout links run once perconfirmation_id. - The server cannot know that the person said yes: the preview and the instruction to wait for their agreement are what the assistant receives.
Actions: create_link, copy_link, create_vault_link, archive_link,
update_link, create_donation_link, create_wishlist,
create_subscription_checkout_link, invite_creator. The test key creates
test items only; invite_creator and wishlists are live only
(403 test_mode_unsupported with a test key), and so is
get_balance_and_payouts.
Step 4. Login with DROPP: how an assistant signs a person in
This is what Claude, ChatGPT or any MCP client does when a person adds the
connector. You do not build it to use the DROPP connector; you need it if you
point your own MCP client at /mcp.
The client calls
/mcpwithout a token and gets401withWWW-Authenticate: Bearer resource_metadata="https://api.external.dropp.fans/.well-known/oauth-protected-resource/mcp", error="invalid_token"and a JSON-RPC error body (code: -32001).It reads that metadata (OAuth protected resource metadata, RFC 9728):
{ "resource": "https://api.external.dropp.fans/mcp", "authorization_servers": ["https://auth.dropp.fans/auth/v1"], "bearer_methods_supported": ["header"], "resource_name": "DROPP" }It signs the person in with DROPP's OAuth server: authorization code with PKCE (
S256, mandatory). The DROPP connector's application is a public client: a client ID, no client secret. DROPP does not offer dynamic client registration, which is why the setup page (https://app.dropp.fans/en/connect/assistant/) gives the client ID to paste. The setup page shows it only once DROPP has registered the application.The person signs in, sees the application's name and scopes on the consent screen, and approves. An agency admin also picks which of the agency's creators the application may act for. Only an agency ADMIN can connect agency creators; anyone else, an agency teammate included, connects their own account only.
The client sends
Authorization: Bearer <access_token>on everyPOST /mcp. Access tokens last about an hour; refresh tokens rotate.
Rules that follow from the token, the same as for any partner application (Login with dropp (OAuth)):
- A grant keeps the scopes approved at connection time. A scope added to the application later reaches a person only after they disconnect and connect again.
- The person disconnects in DROPP (Settings, API tab, Connected Apps; an
agency teammate in Account settings, Connected Apps). The next request
answers
401or403. - Your own application's Login with DROPP token also works on
/mcp, with your application's scopes. The connector is not a way to get more than the token already has.
Step 5. Get the same numbers in your own app
Your product does not need the connector to show DROPP's numbers: call the
report it uses. Both routes need stats:read, take an API key or a Login
with DROPP token, and are read only.
The definitions
curl "$BASE/stats/definitions" -H "Authorization: Bearer $KEY"{ "data": {
"object": "stats_definitions",
"version": "2026-11-18",
"definitions": [
{ "id": "gross_sales", "label": "Gross sales", "unit": "cents",
"definition": "The seller price of the orders of the creators in view: ..." },
{ "id": "net_earnings", "label": "Net earnings", "unit": "cents",
"definition": "The money credited to the viewer's own ledger ..." }
]
} }The response is abridged: there are 15 definitions, unit is cents,
count or ratio. Store version; every report repeats it as
definitions_version, and it changes when a definition changes.
The report
curl "$BASE/stats/report?metrics=gross_sales,net_earnings,orders,unique_views,conversion_rate&period=last_month&time_zone=Europe/Paris&compare=true" \
-H "Authorization: Bearer $KEY"{ "data": {
"object": "stats_report",
"mode": "live",
"as_of": "2026-11-18T10:00:00.000Z",
"definitions_version": "2026-11-18",
"time_zone": "Europe/Paris",
"period": { "from": "2026-09-30T22:00:00.000Z", "to": "2026-10-31T23:00:00.000Z", "preset": "last_month" },
"previous_period": { "from": "2026-08-30T21:00:00.000Z", "to": "2026-09-30T22:00:00.000Z" },
"interval": null,
"group_by": null,
"view": { "type": "creator", "id": "pfl_creator", "role": "creator" },
"filters": { "creator_ids": null, "link_ids": null, "countries": null, "payment_methods": null, "currency": null },
"metrics": ["gross_sales", "net_earnings", "orders", "unique_views", "conversion_rate"],
"currencies": [
{ "currency": "EUR", "complete": true, "quality_reasons": [],
"totals": { "gross_sales": 5500, "net_earnings": 3600 },
"previous": { "complete": true, "quality_reasons": [], "totals": { "gross_sales": 700, "net_earnings": 600 } } },
{ "currency": "USD", "complete": false, "quality_reasons": ["refund_date"],
"totals": { "gross_sales": 2000, "net_earnings": null },
"previous": { "complete": true, "quality_reasons": [], "totals": { "gross_sales": 0, "net_earnings": 0 } } }
],
"counts": { "totals": { "orders": 4 }, "previous_totals": { "orders": 1 } },
"subscriptions": null,
"link_views": {
"views_available_from": "2026-09-15T08:12:00.000Z",
"available": true,
"totals": { "unique_views": 8, "conversion_rate": { "orders": 3, "unique_views": 8, "rate": "0.3750" } },
"previous": { "available": false, "totals": { "unique_views": null, "conversion_rate": null } }
},
"definitions": { "gross_sales": "The seller price of the orders ...", "...": "..." },
"notes": [
{ "code": "incomplete_data", "message": "Some numbers are null (not available) in USD: ..." },
{ "code": "views_not_available", "message": "Unique views and conversion are counted from 2026-09-15T08:12:00.000Z. ..." }
]
} }This example is abridged in definitions and notes. What to check:
- Money is per currency, never summed.
5500is 55.00 EUR. Show each currency on its own line. nullis "not available", never zero. The reason is inquality_reasonsand, in words, innotes. Here USD net earnings arenullbecause a refund's completion date is not recorded, exactly as the dashboard Overview leaves it empty.counts(orders,buyers,repeat_buyers) are not split by currency.- Equal to the dashboard. For a creator, or an agency's admin or
manager, with no filter,
gross_sales,net_earnings,refunds,chargebacks,orders,buyersandrepeat_buyersequal the dashboard Overview for the same window and currency. A database test compares the report with the Overview on the same rows. With a filter, afilterednote says the numbers are no longer the Overview's totals.
Parameters: metrics (required), period (today, yesterday,
last_7_days, last_30_days, this_month, last_month, this_year) or
from and to, time_zone (IANA, default UTC), interval (day,
week, month), group_by (link, creator, country, payment_method,
buyer, source), compare, the filters creator_ids, link_ids,
countries, payment_methods (card, apple_pay, google_pay, pix,
unknown), currency, a top N with limit (1 to 100) and order_by,
view (creator or agency), profile_id, agency_id.
Who sees what
The report decides whose numbers it reads from the credential, on every request:
- A creator's key or token reads that creator only. A multi-creator
Login with DROPP install names the creator with
profile_id, else400 ambiguous_scope. - An agency key reads one of its creators with
profile_id, or the agency withview=agency, as the key's owner sees it in DROPP. - A Login with DROPP token reads an agency with
view=agency&agency_id=<id>only if your application holdsstats:agencyand the person approved it withstats:read. The person's live role decides: an admin sees every creator; a manager sees the creators assigned to them, and only sales on links they copied when the agency restricts sales to the link's copier. In an agency on DROPP's team roles, the person also needs the "sales" and "sales overview" permissions. Anyone else gets403. - Creators who blocked your application are left out of agency views.
curl "$BASE/stats/report?metrics=net_earnings&period=this_month&group_by=creator&view=agency&agency_id=agy_abc123" \
-H "Authorization: Bearer <access_token>"Definitions summary
These are the definitions GET /v1/stats/definitions returns, summarised.
The API's text is the reference; quote it rather than this summary.
| Id | Unit | What it counts |
|---|---|---|
gross_sales | cents | Seller price of paid orders (also refunded or charged back later), without buyer fees and VAT, on their paid date |
net_earnings | cents | Money credited to the viewer's own ledger, net of DROPP fees, referral royalties and VAT; refunds removed on their completion date; payouts are not earnings |
fees | cents | DROPP partner fee withheld from the viewer's own sale receipts; not reversed on refund |
referral_royalties | cents | Share of the viewer's sale receipts paid to whoever referred them; not reversed on refund |
refunds | cents | Credits removed by completed refunds, positive, on the completion date |
chargebacks | cents | Amounts frozen by chargebacks still active, positive |
orders | count | Orders counted in gross_sales; refunded orders still count |
buyers | count | Distinct buyer emails among those orders |
repeat_buyers | count | Buyers who had already bought from the same creator before |
active_subscriptions | count | Subscriptions paying at the end of the window |
new_subscriptions | count | Subscriptions whose first charge was paid in the window |
churned_subscriptions | count | Paid subscriptions canceled or expired whose last paid period ended in the window |
mrr | cents | Recurring seller price of active subscriptions, brought to one month, per currency |
unique_views | count | Payment page openings, once per visitor per link per 30 minutes, previews and crawlers excluded |
conversion_rate | ratio | Orders on those links divided by their unique views, { orders, unique_views, rate } |
Step 6. Go live
- For the connector: nothing to build. When DROPP registers the connector's application, the setup page shows the address and client ID, and people connect from their assistant.
- For your own MCP client on
/mcp: use Login with DROPP tokens of your own registered application (Login with dropp (OAuth)), or a live API key for your own account. Ask DROPP for every scope your tools need before people connect: scopes added later do not reach existing grants. - For your app's own statistics: switch the test key for a live key or a
Login with DROPP token with
stats:read, and ask DROPP forstats:agencyif you read agency views over OAuth. A test credential reads test data only, a live one live data only.
Errors you will meet
On /mcp, a failure of the /mcp request itself (authentication, rate
limit) is an HTTP error; everything else is a tool result with
isError: true and the error in the document.
| Where | Status | code | What to do |
|---|---|---|---|
POST /mcp | 401 | JSON-RPC -32001, data.code unauthorized | Missing, invalid or expired Bearer: refresh the token, else sign in again |
POST /mcp | 401 | JSON-RPC -32001, data.code oauth_session_ended | The DROPP session behind the token is gone: refreshing does not help, sign in again |
POST /mcp | 429 | rate_limited / app_rate_limited (API error envelope) | The /mcp request itself is over the limit: wait Retry-After |
GET / DELETE /mcp | 405 | JSON-RPC -32000 | Use POST |
| tool | 400 | bad_request | An argument outside the tool's schema; the message names it |
| tool | 400 | ambiguous_scope | Several creators: pass profile_id (see whoami) |
| tool | 403 | forbidden | A scope the credential lacks, or a view outside its scope |
| tool | 403 | profile_not_connected | The creator is not connected to this credential |
| tool | 403 | test_mode_unsupported | Balance, payouts, invites or wishlists with a test key |
| tool | 404 | not_found | An unknown link id (or other id) |
| tool | 404 | unknown_confirmation | Unknown, expired or another caller's confirmation_id: prepare again |
| tool | 409 | confirmation_in_progress | Already being executed: check with list_links before trying again |
| tool | 429 | rate_limited / app_rate_limited | Wait retry_after_seconds |
| tool | 503 | confirmations_unavailable | DROPP cannot hold confirmations now; nothing was prepared or executed |
| tool | none | feature_unavailable | Balance and payouts are not available on this deployment |
| tool | none | dropp_unreachable | The inner API call timed out, or its answer was over 1 MB or unreadable: try again, or narrow the request |
| tool | none | internal_error | The tool failed; nothing more is known |
On GET /v1/stats/report: 400 bad_request (invalid parameter, unknown
time zone, window over 366 days, or a combination a number does not support,
named in the message), 400 ambiguous_scope, 403 forbidden,
403 profile_not_connected.
Limits and numbers
| What | Value |
|---|---|
| Tools | 11 |
| API calls per tool call | up to 2 inner calls (for example whoami: /me and /creators), plus the /mcp request itself, so up to 3 requests against your limits |
| Requests, per connected creator (Login with DROPP) | 100 per minute, 10 per second burst |
| Requests, per application in total (Login with DROPP) | 1,000 per minute, 50 per second burst (registered partners can have more); API keys have their own limits, see the rate limits page |
confirmation_id | valid 10 minutes, runs once |
| Duplicate protection on creates | same request, same caller, same UTC day |
| Inner API call | 15 seconds timeout, 1 MB answer at most |
| Statistics window | 366 days at most |
Top N groups (limit) | 1 to 100 |
metadata through the connector | flat string values, up to 500 characters each |
Not available yet
- The connector itself: it opens when DROPP registers its application.
- Listings in Claude's and ChatGPT's connector directories.
- Buyer country and payment method for most orders. Country is known
only where the buyer entered it (subscriptions, raffle entries,
subscription add-ons); payment method only for PIX and for card, Apple Pay
and Google Pay through Shift4. The rest is
nullorunknown, with a coverage note. - Tools that move money or change access: refunds, payout requests, API
keys and webhooks. Use the API (
orders:refundfor refunds) or the dashboard. - A test sign-in through Login with DROPP: tokens are live. Test with a
drp_test_key.
Related pages
- Ask DROPP about your sales from your AI assistant (business page)
- Login with dropp (OAuth)
- Rate limits
- Setup page:
https://app.dropp.fans/en/connect/assistant/ - Developer portal:
https://roadmap.dropp.fans/developers