Sign in

Settings and billing

Read and change your timezone, language and email notifications, read what you pay and have used, and save the details your invoices go to.

These endpoints do from code what Settings does in the app, under Account and Billing. Some things stay in the app on purpose, so a key that leaks cannot lock you out or spend your money: your password, two-step sign-in, API keys, deleting your Linkpost account, and adding a card or paying an invoice.

Method Path What it does
GET /api/v1/me Reads your settings.
PATCH /api/v1/me Changes your timezone, language or email notifications.
GET /api/v1/billing Reads what you pay and have used.
PUT /api/v1/billing/details Saves the details your invoices go to. Only when you pay per connected account.
GET /api/v1/me/founder Reads your place in the Founding 1000.

Read your settings

GET /api/v1/me returns the settings of your Linkpost account.

cURL
curl https://linkpost.app/api/v1/me \
  -H "Authorization: Bearer $LINKPOST_KEY"
JSON
{
  "data": {
    "name": "Mara Costa",
    "email": "mara@example.com",
    "timezone": "Europe/Madrid",
    "language": "en",
    "languages": ["en", "es", "pt_BR"],
    "email_notifications": { "publishing": true, "usage": true, "plan": true }
  }
}
Field What it is
name, email Your name and the address Linkpost emails.
timezone The timezone dates are read and shown in, like Europe/Madrid. null until you or your browser choose one: dates are then read in UTC.
language The language of the app and of its emails: one of languages.
email_notifications Which emails you get. publishing: a post failed or an account needs connecting again. usage: you used most or all of a monthly limit. plan: a trial or plan is about to end, or ended. See Email notifications.

Change your settings

PATCH /api/v1/me changes only the fields you send. email_notifications changes topic by topic, so { "usage": false } leaves the other topics as they are.

Field What it is
timezone An IANA timezone, like America/Mexico_City. A scheduled_at without an offset is read in it. Posts already scheduled keep their time.
language en, es or pt_BR.
email_notifications publishing, usage and plan, each true or false. Payment emails always arrive and are not a topic.
cURL
curl -X PATCH https://linkpost.app/api/v1/me \
  -H "Authorization: Bearer $LINKPOST_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "timezone": "America/Mexico_City", "email_notifications": { "usage": false } }'

The answer is your settings, as in Read your settings. You can change them up to 30 times a minute.

Field Message
timezone Use an IANA timezone like Europe/Madrid.
language Use one of: en, es, pt_BR.
email_notifications Unknown topic: billing. The topics are publishing, usage, plan.

Read your billing

GET /api/v1/billing returns what you pay and have used, as Settings, Billing shows it. model says how your account is billed: connections on the new pricing, which bills each connected account beyond the free ones, or plan for accounts still on plans. See Pricing and billing.

cURL
curl https://linkpost.app/api/v1/billing \
  -H "Authorization: Bearer $LINKPOST_KEY"

On the new pricing:

JSON
{
  "data": {
    "manage_url": "https://linkpost.app/settings/billing",
    "accounts": 3,
    "can_connect_another": true,
    "model": "connections",
    "connections": { "count": 3, "free": 2, "paid": 1, "price": "€2.99 a month (VAT included)" },
    "appsumo": null,
    "this_month": { "days": 27, "estimate": "€2.69 (VAT included)" },
    "billing_details": { "name": "Mara Costa", "country": "ES", "address": "Calle Mayor 1", "postal_code": "28013", "city": "Madrid", "tax_id": "12345678Z" },
    "card": "Visa ···· 4242",
    "unpaid_invoice": null,
    "invoices": [
      { "period": "2026-10", "number": "LP-0042", "amount": "€2.99", "status": "paid", "paid_at": "2026-11-01T06:02:11Z", "url": "https://invoice.stripe.com/i/acct_1/test_1" }
    ]
  }
}
Field What it is
manage_url The billing page, where you add a card, pay an invoice and see the details. Send people there for what the API does not do.
accounts How many accounts you have connected.
can_connect_another Whether a new account would be accepted now. Reconnecting one you have always works.
connections Your connected accounts: how many, how many are free and paid, and the price of each paid one.
appsumo Only when you linked a license of the AppSumo lifetime deal: its status (active, inactive or deactivated), its tier, the connected accounts it includes now (already counted in connections.free), activated_at and manage_url, your AppSumo products page. Otherwise null.
this_month The paid account-days so far this month and what they come to. The invoice counts the days each account was connected.
billing_details The details your invoices go to, or null before you add them.
card The card on file, or null.
unpaid_invoice An invoice whose payment did not go through, or null. Until it is paid you cannot connect more paid accounts.
invoices Your last 24 invoices, newest first, with the link to each.

Amounts come as text, in euros, ready to show. On an account still on plans the answer has, beside manage_url, accounts and can_connect_another:

JSON
{
  "data": {
    "model": "plan",
    "plan": { "name": "Creator", "max_accounts": 5, "max_posts_per_month": 30 },
    "subscription": { "kind": "paid", "interval": "month", "started_at": "2026-09-01T10:00:00Z", "ends_at": null, "via_stripe": true },
    "posts_this_month": 12,
    "post_limit": 30
  }
}

plan is null when no plan limits apply to your account, and post_limit is null when your posts have no monthly limit.

Save your billing details

PUT /api/v1/billing/details saves who your invoices go to. Send every field each time. Linkpost saves them on your Stripe customer too. A card is still added on the billing page, at manage_url.

Field What it is
name The name or company, up to 120 characters.
country The two-letter code of the country, like ES, FR or MX.
address, postal_code, city Your address.
tax_id Your tax ID. Required outside Spain, where no VAT is added: an EU VAT number with its country code, like FR40303265045, or outside the EU your tax ID in letters and numbers only. In Spain, a NIF, NIE or CIF, optional.
cURL
curl -X PUT https://linkpost.app/api/v1/billing/details \
  -H "Authorization: Bearer $LINKPOST_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Studio Mara SARL", "country": "FR", "address": "1 rue de Rivoli", "postal_code": "75001", "city": "Paris", "tax_id": "FR40303265045" }'
JSON
{ "data": { "name": "Studio Mara SARL", "country": "FR", "address": "1 rue de Rivoli", "postal_code": "75001", "city": "Paris", "tax_id": "FR40303265045" } }

A missing field answers 422 with a message such as Enter your city., and a missing tax ID outside Spain with Enter your tax ID. Outside Spain it is required, and no VAT is added to your invoices. When Stripe cannot be reached, the answer is 503 and nothing changes: try again later.

The billing details are only for accounts that pay per connected account. Any other account gets 404 on this path. You can call it up to 10 times a minute.

Read your founder status

GET /api/v1/me/founder returns your place in the Founding 1000: the first 1,000 people who sign up on the website and use Linkpost keep 5 accounts free and pay half for each extra account, for as long as their account exists. See Founders.

cURL
curl https://linkpost.app/api/v1/me/founder \
  -H "Authorization: Bearer $LINKPOST_KEY"
JSON
{
  "data": {
    "status": "founder",
    "seat": 42,
    "founder_since": "2026-11-28T09:30:00Z",
    "deadline": null,
    "steps": null,
    "free_accounts": 5,
    "extra_account_price": "€1.49 a month (VAT included)",
    "founder_deal": { "free_accounts": 5, "extra_account_price": "€1.49 a month (VAT included)" },
    "group_url": "https://chat.whatsapp.com/...",
    "seats_total": 1000,
    "seats_left": 958
  }
}
Field What it is
status founder: you have a seat. candidate: you signed up on the website and have not confirmed your email yet; confirming it before deadline takes the next seat, while seats_left is above 0. missed: the deadline passed or the seats ran out first; you keep the regular deal. none: accounts created by invitation, which are not candidates. Buying the AppSumo lifetime deal also gives a seat while seats_left is above 0, with no deadline: at once if your email is confirmed, or when you confirm it.
seat Your founder number, from 1. null until you have one.
founder_since When you got your seat.
deadline The last moment to confirm your email and take a seat, for candidate and missed.
steps For a candidate: whether your email is confirmed. The seat comes when you open the confirmation link; account_connected and first_post no longer decide it.
free_accounts, extra_account_price What your account has today: the accounts you connect for free and what each extra one costs. A candidate already connects the founder's free accounts; extra ones take the founder price once the seat is earned. null for accounts still on plans.
founder_deal What a founder keeps, at the price you would pay.
group_url The private founders group, for founders, when there is one.
seats_total, seats_left The seats of the Founding 1000 and how many are left.

The website reads the seats left from GET /api/v1/founders, which needs no key: { "seats_total": 1000, "founders": 42, "seats_left": 958, "open": true }. It is cached for a minute.