API and MCP
An AI agent (Claude, ChatGPT or another) can use Please Send It for its owner: create a document collection campaign, launch it, track who sent what, send reminders, and retrieve the files received.
A campaign is a request (what you ask for), contributors (who you ask) and a sequence (the reminders). In the API and the MCP server, a campaign is still called a "projet" (routes /api/projets, field projet_id, tools lister_projets, creer_projet…) and contributors are "destinataires" (field destinataires, destinataire_id): these technical names do not change.
Contents
- The API key
- The MCP server · Connect to Claude or ChatGPT
- List campaigns · Create a campaign · View a campaign · Launch
- Remind · Pause and resume · Download an upload · The ZIP · Other routes
- Rated and multiple-choice questions, answers export · Preferred channels, group message
- Add contributors · The sending sequence · Tokens · My contributors · Zapier, Make, n8n recipes
The API key
Create a key in My subscription, "Agent access" section. It starts with pse_, is shown only once, and can be revoked at any time. It acts on your behalf, in the organization that was active when you created it: it only sees the campaigns of that organization that you are allowed to see.
Send it in the Authorization header of every call:
Authorization: Bearer pse_your_key
- Base URL:
https://pleasesendit.com. Request and response bodies in JSON (Content-Type: application/json). Field names are in French: that is the API. - On error, the response carries an HTTP code (400, 401, 403, 404, 409, 429) and a message in your account's language (English for an account set to English):
{"erreur": "…"}. - 120 calls per minute at most with the same key.
- Managing the account, the organization and the keys stays on the website.
The MCP server
For Claude, ChatGPT and MCP-compatible assistants: add a remote MCP connector with the address below, then sign in to your account (OAuth 2.1), with no key to copy: see Connect Please Send It to Claude or ChatGPT. A script or a tool without a browser can also send your key in the Authorization: Bearer header.
https://pleasesendit.com/mcp
"Streamable HTTP" transport: each JSON-RPC 2.0 message is sent as a POST, the response comes back as application/json (no SSE stream). Protocol version: 2025-06-18. The tools:
lister_projets: campaigns and their progress.voir_projet: documents, contributors and their upload link, uploads, reminder history.creer_projet: documents, contributors (each with an optionallangue, see below), deadline, reminders; as a draft, or launched right away withlancer: true.lancer_projet,relancer_destinataire,mettre_en_pause.regler_recurrence: repeat the campaign every month, quarter, half-year or year, or stop the series (aucune).lister_documents_recus: the documents received, each with a download URL that requires the same key, and what is still missing.ajouter_contributeurs: more contributors in a campaign, typed in or taken from the address book;creer_projetalso acceptscontact_ids,groupe_id,sequence_type,momentsandmerci.voir_sequenceandregler_sequence: the sending sequence (ready-made sequences douce, standard, ferme, vide; steps added, moved, removed; sending times; thank-you message) and its summary: X / N contributions, worst-case tokens compared with the balance.voir_tokens: the token balance (included this month and purchased), the cost of each send and the packs, the latest movements.exporter_fiches_contact: the vCard of the contact cards received.exporter_reponses: the answers as a table, one row per contributor, with the Excel and CSV addresses.- My contributors:
lister_contacts,voir_contact,lister_groupes,creer_contact,modifier_contact,supprimer_contact,creer_groupe,gerer_groupe,importer_contacts.
Each tool carries its annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint). Connected through OAuth, an assistant only sees the tools of its rights: read and write for campaigns, contacts:read and contacts:write for My contributors. An API key has every tool.
Try it by hand:
curl https://pleasesendit.com/mcp \
-H "Authorization: Bearer $PSE_CLE" -H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"lister_projets","arguments":{}}}'
List campaigns
curl https://pleasesendit.com/api/projets -H "Authorization: Bearer $PSE_CLE"
Response: {"projets": [{"id": 12, "nom": "…", "echeance": "2026-10-31", "statut": "actif", "attendues": 8, "recues": 5, "destinataires": 4, "complets": 2, …}]}. Statuses: brouillon (draft), actif (active), pause (paused).
Create a campaign
The destinataires field lists the contributors, the people you ask for documents. Each document and each contributor carries a cle (key) of your choice; affectations says who sends what (contributor key to the list of document keys). The campaign is created as a draft: nothing is sent before launch.
curl https://pleasesendit.com/api/projets \
-H "Authorization: Bearer $PSE_CLE" -H "Content-Type: application/json" \
-d '{
"nom": "Rental application",
"echeance": "2026-10-31",
"frequence": 3, "plafond": 6, "renforcee": true,
"message": "Please send everything before the viewing.",
"pieces": [
{"cle": "rib", "nom": "Bank details", "format": "pdf"},
{"cle": "dom", "nom": "Proof of address", "format": "pdf", "consigne": "Less than three months old"}
],
"destinataires": [
{"cle": "c", "prenom": "Camille", "nom_famille": "Martin", "email": "camille.martin@example.com", "canal": "email", "langue": "en"},
{"cle": "j", "prenom": "Jean", "telephone": "06 12 34 56 78", "canal": "sms", "langue": "fr"}
],
"affectations": {"c": ["rib", "dom"], "j": ["rib"]}
}'
Response: {"ok": true, "id": 12}.
format:document(PDF or photo, JPG, PNG, HEIC or WebP, the default format),pdf,image(JPG, PNG, HEIC or WebP),docx,xlsx,video,lien(a web address),question(a written answer, the document name is the question),paiement(the person pays on their side, then declares "I've paid", with an optional proof; the service does not collect any money and checks nothing) ortout(any format). For apaiementdocument:montant_attendu(in euros, optional),lien_facture(https, optional) andpreuve_requise(boolean). The statement is in thepaiementfield of each document received; it is confirmed or rejected on the website.signature(optional):aucune(none),manuelle(print, sign, send back) orelectronique(see attaching the PDF to sign).frequence: a reminder every 2, 3 or 7 days, or 0;plafond: maximum reminders per contributor (0 to 20);renforcee: a reminder the day before and on the day of the deadline.- A contributor has an email or a phone number;
canalisemailorsms;bascule: truealso writes through the other channel after two unanswered messages;formuleisprenom(first name) orcomplet(full name). langue(optional):froren, the language of the contributor's emails, text messages and upload page. By default, your account's language.visibilite(optional):prive(private) orequipe(all members of the organization).recurrence(optional):aucune(none, the default),mois(monthly),trimestre(quarterly),semestre(every six months) oran(yearly). One period after launch, a new edition of the campaign (same documents, same contributors, new links, start and deadline moved forward) is created and launched on its own, and you get an email. Unlimited and Business plans.
View a campaign
curl https://pleasesendit.com/api/projets/12 -H "Authorization: Bearer $PSE_CLE"
The response details pieces, destinataires (with lien, their personal upload link, langue, the pieces requested and the depots received) and relances. To edit a campaign, send the same body as for creation to POST /api/projets/12, with the id of existing documents and contributors.
Launch the campaign
curl -X POST https://pleasesendit.com/api/projets/12/lancer -H "Authorization: Bearer $PSE_CLE"
Each contributor gets their personal link by email or text message, then automatic reminders go out between 9 am and 7 pm (Paris time), never on Sundays or public holidays, and stop as soon as the contributor has sent everything. Response: {"ok": true, "invites": 2}. Invitations follow the same window: launched outside it, the campaign is active and the response says "invites": 0, "differees": 2, "prochain_envoi": "…". The account must have confirmed its email address.
Remind a contributor
curl https://pleasesendit.com/api/projets/12/relancer \
-H "Authorization: Bearer $PSE_CLE" -H "Content-Type: application/json" \
-d '{"destinataire_id": 34}'
At most one manual reminder every ten minutes for the same contributor.
Pause and resume
curl -X POST https://pleasesendit.com/api/projets/12/pause -H "Authorization: Bearer $PSE_CLE"
Toggles between actif and pause; the response gives the new statut. While paused, the sequence stops: links stay open but nobody is reminded.
Add contributors to a campaign
Without sending the whole campaign again: contributors typed in, entries from My contributors (contact_ids) or a whole group (groupe_id). They get the chosen documents (all of them if pieces is missing); if the campaign is launched, they are invited right away, within the sending times.
curl https://pleasesendit.com/api/projets/12/destinataires \
-H "Authorization: Bearer $PSE_CLE" -H "Content-Type: application/json" \
-d '{"destinataires": [{"prenom": "Hugo", "email": "hugo@example.com"}],
"contact_ids": [41, 42], "pieces": ["RIB"]}'
Response: ajoutes (with their upload link) and laisses_de_cote: contributors already in the campaign, and those who asked not to be contacted. On creation too, POST /api/projets accepts contact_ids and groupe_id instead of, or in addition to, destinataires.
The sending sequence
Each campaign follows a sequence of steps: a day counted from the launch (0: the same day), a channel (email, sms, carte postcard, courrier letter, recommande registered letter, appel call, agent call by a voice agent) and an optional rewritten text; the merci step goes out once what the contributor sent is approved. Sending times (a time window in Paris, no weekends, no public holidays) push a step to the next open slot.
curl https://pleasesendit.com/api/projets/12/sequence -H "Authorization: Bearer $PSE_CLE"
Response: sequence (dated steps, moments, type) and bilan: contributions received (recues / attendues), sends in the worst case if nobody replies (au_pire), tokens (au_pire: tokens needed if nobody replies, solde: balance, couts: cost of each send), stocks (how many sends of each kind the balance covers) and what is missing (manque) when the worst-case tokens exceed the balance. alertes_tokens: mode (attendre or sauter, set in "My settings"), solde and alertes, one per step waiting for tokens (en_attente), skipped for lack of tokens (sautee) or upcoming and not covered by the balance at worst (a_venir), with tokens, manque and issue (attente or saut). The same field is in GET /api/projets/<id>.
curl https://pleasesendit.com/api/projets/12/sequence \
-H "Authorization: Bearer $PSE_CLE" -H "Content-Type: application/json" \
-d '{"type": "standard",
"operations": [{"action": "ajouter", "canal": "sms", "jour": 6, "texte": "Quick reminder: {link}"},
{"action": "deplacer", "etape_id": "e3", "jour": 9},
{"action": "retirer", "etape_id": "e5"}],
"moments": {"debut": 9, "fin": 18, "weekend": true, "feries": true},
"merci": "{greeting}, thank you, everything has arrived for {request}."}'
type:douce(gentle, spaced emails),standard(email, postcard, text),ferme(firm: tighter, then a letter and a registered letter),vide(the launch only), placed according to the time left until the deadline, like the website's editor. A text message outside your plan becomes an email; a postal send that the token balance does not cover is returned inproposes, not placed.operations:ajouter(add:canal,jour,texte,sujet,rectofor a postcard),deplacer(move:etape_id,jour),retirer(remove),modifier_texte(rewrite). A rewritten email or text keeps the link variable.- On creation,
POST /api/projetsacceptssequence_type(a ready-made sequence),momentsandmerci, or a fullsequencefield (type,moments,etapes). - Deadline time:
heure_limite("HH:MM", Paris time, 23:59 by default) andapres_limite(accepter: uploads still come in, marked late;fermer: the upload page refuses anything new). Each document received carriesretard_secondesanden_retard(e.g. "2 h 15 min"). Team hand-in:par_equipe: trueon a document andequipeon each contributor; one member's upload counts for the whole team. - Documents:
facultative: true(shown as optional, never chased on its own), formatspaiement(amount, invoice link, proof),action(links, "I'm not taking part"),contact(contact card). Contact cards received download as vCard:GET /api/projets/12/vcards, or as a Google Contacts CSV:GET /api/projets/12/contacts.csv.
Tokens
Sends that have a cost are paid in tokens: Email: 20 free, then 1 token per 50; text message: 2; WhatsApp: 3 (soon); phone message: 3 (soon); AI agent call: 7 (soon); postcard: 45; personalised postcard: 50; letter: 40; registered letter with acknowledgement: 130; small gift: 250 (soon); champagne: 600 (soon). Tokens included in the plan are used first, then purchased or gifted tokens; they are debited when the send goes out and given back if the provider refuses it.
curl https://pleasesendit.com/api/tokens -H "Authorization: Bearer $PSE_CLE"
{"solde": 340, "inclus": {"restant": 40, "par_mois": 60, "mois": "2026-10"}, "achetes": 300, "expirants": [],
"grille": {"prix_token": 10,
"couts": {"email": 0, "sms": 2, "whatsapp": 3, "appel": 3, "appel_agent": 7,
"carte": 45, "carte_perso": 50, "courrier": 40, "recommande": 130},
"packs": [{"tokens": 100, "prix": 1000}, {"tokens": 500, "prix": 4750}, {"tokens": 1000, "prix": 9000}]},
"historique": [{"le": "2026-10-02T09:12:00+00:00", "genre": "consommation", "service": "sms", "tokens": -2, "detail": "…"}]}
Amounts in euro cents including VAT; prix_token is the price of one token in the smallest pack. expirants lists gifted tokens from a gift code that carry an expiry date. Buying a pack and entering a gift code are done on the website, "My subscription" page, never with an API key.
My contributors (the address book)
The people you ask for documents, in the key's organization. An entry has bloque_le if the person asked not to be contacted, and appel_refuse_le if they refuse calls: these flags are read-only through the API; a blocked entry keeps its email and phone and cannot be deleted.
GET /api/contacts?recherche=martin&groupe=3&limite=50&decalage=0: a page of entries (total,contacts,groupes).GET /api/contacts/41: one entry and its history (campaigns, response time, reminders).POST /api/contacts: create (prenomornom_famille,email,telephone,adresse,langue,tonalite,formule,note,groupes). Same email or phone as an existing entry:409with thedoublon, unless"forcer": true.POST /api/contacts/41: change the given fields;POST /api/contacts/41/supprimer: delete.GET /api/contacts/groupes;POST /api/contacts/groupes{"nom": "Club"};POST /api/contacts/groupes/3{"ajouter": [41], "retirer": [42], "nom": "…"};POST /api/contacts/groupes/3/supprimer(entries stay).
Bulk import, without duplicates: an entry with the same email or phone is merged (its empty fields filled in, nothing overwritten), created anyway, or skipped.
curl https://pleasesendit.com/api/contacts/importer \
-H "Authorization: Bearer $PSE_CLE" -H "Content-Type: application/json" \
-d '{"doublons": "fusionner", "groupe": "Gala guests",
"contacts": [{"prenom": "Camille", "nom_famille": "Martin", "email": "camille.martin@example.com"}]}'
Response: crees (created), fusionnes (merged), ignores (skipped), erreurs (with their rank) and ids (each entry's ID, in order).
Recipes for Zapier, Make and n8n
Three ready-to-copy flows. They only use the routes above, with your key in the Authorization: Bearer header. In each tool, the "HTTP call" step is its generic web request module (Webhooks by Zapier, Make's HTTP module, n8n's HTTP Request node). Trigger names depend on the tool and its version: pick the "new attendee", "new row" or "new contact" trigger of the app you use.
1. New Eventbrite or Luma attendee: the contributor joins a group and a campaign
- Once: create the group (
POST /api/contacts/groupes{"nom": "Gala guests"}) and the campaign (on the website or withPOST /api/projets), and note its ID, for example 12. Launch it. - Trigger: a new attendee in your ticketing tool (Eventbrite or Luma), with first name, last name and email.
- HTTP call:
POST https://pleasesendit.com/api/contacts/importer, body{"doublons": "fusionner", "groupe": "Gala guests", "contacts": [{"prenom": "…", "nom_famille": "…", "email": "…"}]}. Keepids[0]from the response. - HTTP call:
POST https://pleasesendit.com/api/projets/12/destinataires, body{"contact_ids": [ids[0]]}. The contributor is invited right away; if they are already in the campaign, nothing is sent twice.
For n8n, the same flow, to import as a workflow file: n8n-inscrit-groupe-dossier.json. It starts with a Webhook node: point your ticketing tool's webhook at it, or replace it with its n8n trigger, then replace pse_VOTRE_CLE with your key in both HTTP Request nodes (or better, with an n8n header credential), and the campaign ID and group in the Code node.
2. New Google Sheets row: a contact and a campaign
- Trigger: a new row in the sheet (columns First name, Last name, Email, for example).
- HTTP call:
POST /api/contacts/importeras above (group optional). Keepids[0]. - HTTP call:
POST /api/projets, body{"nom": "Request for [First name] [Last name]", "echeance": "2026-11-30", "pieces": [{"cle": "rib", "nom": "Bank details", "format": "document"}], "contact_ids": [ids[0]], "sequence_type": "douce"}. Keepid. - HTTP call:
POST /api/projets/[id]/lancerso the invitation goes out.
3. New HubSpot contact: an entry in My contributors
- Trigger: a new contact in HubSpot (first name, last name, email, phone).
- HTTP call:
POST /api/contacts/importer, body{"doublons": "fusionner", "groupe": "HubSpot", "contacts": [{"prenom": "…", "nom_famille": "…", "email": "…", "telephone": "…"}]}. An existing contact is completed, never duplicated or overwritten.
Rated and multiple-choice questions, answers export
A document in the question format takes an optional question field: absent (or {"type": "texte"}), a free written answer; {"type": "note", "libelle_min": "Beginner", "libelle_max": "Fluent"}, a rating from 1 to 5 stars; {"type": "choix", "options": ["French", "English", "Spanish"], "multiple": true, "autre": true}, a choice from a list (2 to 20 options, single or multiple, "Other" with free text). The same fields go through creer_projet (MCP) and ready-made requests.
"pieces": [{"nom": "Level of English", "format": "question", "question": {"type": "note"}},
{"nom": "Languages spoken", "format": "question",
"question": {"type": "choix", "options": ["French", "English"], "multiple": true, "autre": true}}]
In GET /api/projets/<id>, each answer keeps reponse (readable text: "4", "French; English; Other: Italian") and reponse_valeur ({"note": 4}, or {"choix": [...], "indices": [...], "autre": "..."}).
Answers as a table, one row per contributor (first name, last name, email, phone, team if any, reply date) and one column per document: the rating as a number, choices separated by ";", the text, a link's address, "received on …" for a file (without the file):
curl -OJ https://pleasesendit.com/api/projets/12/reponses.xlsx -H "Authorization: Bearer $PSE_CLE"
curl -OJ https://pleasesendit.com/api/projets/12/reponses.csv -H "Authorization: Bearer $PSE_CLE"
curl https://pleasesendit.com/api/projets/12/reponses.json -H "Authorization: Bearer $PSE_CLE"
The CSV is UTF-8: semicolon separator in French, comma in English. MCP tool: exporter_reponses.
Preferred channels and group message
- On their upload page, the contributor fills in "How to reach you": their language, "tu" or "vous" (in French), their usual preferred channel, their urgent preferred channel, and yes or no for phone calls and for WhatsApp (each consent is kept with its date). Their choices take precedence over what the requester entered and stay on their card in My contributors for future campaigns. Read them in
destinataires[].preferences(GET /api/projets/<id>) and in a card'spreferences(GET /api/contacts/<id>). - Sending rules: the first message after the declaration goes through the usual channel, then the campaign's sequence resumes. The urgent channel is used on an email or text step marked
"urgente": true, and always for the message on the deadline day, twice a month at most per requester for the same person; an urgent phone channel adds a call to the message. A refused channel is never used. Opt-outs, caps, token balance and sending hours come first; tokens are debited according to the channel actually used. - Step
{"canal": "groupe", "jour": 6, "reglage": "compteur"}: a single email to the whole group, each contributor in blind copy.reglage:compteur("18 of 30 have replied", default),merci(first names of those who sent everything) orretardataires(first names of those who have not replied: announced from the invitation, refused on a sensitive request and after invitations already went out).texte: an optional note, no promotional content. The text ready to paste into a WhatsApp group:GET /api/projets/12/message-groupe?reglage=merci, ormessages_groupeinGET /api/projets/<id>. Cost: one email per contributor. - Key moments for the requester:
avis_canal(emailby default,sms) in a campaign's body, orPOST /api/compte/avis {"canal": "sms"}for the account: "everyone has replied" and the deadline summary arrive by text message to the account's number, at the token price of a text message; without a number or tokens, the email goes out. WhatsApp is coming soon.
Download an upload
The ID of an upload is found in destinataires[].depots[].id in the response of View a campaign.
curl -OJ https://pleasesendit.com/api/projets/12/depots/56 -H "Authorization: Bearer $PSE_CLE"
Download everything as a ZIP
curl -OJ https://pleasesendit.com/api/projets/12/zip -H "Authorization: Bearer $PSE_CLE"
The ZIP keeps the same organization: one folder per contributor, files named "Contributor - Document".
Other routes
GET /api/moi: the account, its active organization and the requests addressed to it.PUT /api/projets/12/pieces/7/modele?nom=contract.pdf(body: the raw file, 20 MB at most): attaches a template, or the PDF to sign for a document with electronic signature;…/exemple?nom=…attaches an example.POST /api/projets/12/supprimer: deletes the campaign and all files received. Permanent.POST /api/projets/12/recurrence(body:{"recurrence": "trimestre"}, or"aucune"to stop the series): sets, changes or stops the recurrence. The response givesprochaine_edition(next edition date); View a campaign also returnseditions, the editions of the series.
See also llms.txt, Your data, Terms of Use.