Your Postwyre products
Which Postwyre products your plan includes, how to ask with GET /api/suite/me, and how a Postwyre app reads and spends your credits.
One login, the products you pay for
Your Postwyre login is one account. A product opens for you only while a brand you belong to has a plan that is paid, on a trial or given free by Postwyre, and that plan includes the product. Paying for one product never opens another. Solo and Starter include Postwyre alone. Each other product has a plan of its own. The Suite bundle covers up to 3 brands and includes Postwyre, with Starter's limits, and every other product except Callwyre. It is billed monthly and has the same 7-day trial as Starter. Pricing shows each of these plans as Coming until its price is set. Once its price is set, the Suite bundle can be bought in Billing and on the welcome screen, below Solo and Starter. The other product plans can't be bought yet.
Ask which products you have
GET /api/suite/me lists the products you have now, each with the address that opens it:
{
"products": [
{ "id": "social", "name": "Postwyre", "url": "https://postwyre.com" }
]
}- It covers every brand you belong to, so it never needs the
X-Workspace-Idheader. - A login with no plan gets an empty list.
- It only reads. Calling it twice gives the same answer until a plan changes, and the answer is never cached by a shared cache.
- Send an API key as a bearer token, as on every other route, or call it from a browser where you are signed in. A Postwyre app you signed in to with your Postwyre login can call it with its own sign-in. That app's sign-in is refused, with a 403, once no plan you are on includes it, and with a 401 once it was revoked. A connected AI app's sign-in is refused with a 401; agents use an API key here.
- Each key can make up to 120 requests a minute to the REST API, across every route, and this route counts toward it. A Postwyre app's sign-in gets its own 120 a minute. Past that the answer is 429 with the code
rate_limitedand aRetry-Afterheader saying how many seconds to wait. A person using the app is not counted.
The full description is in the OpenAPI file, under Products.
What a Postwyre app reads about your brands and credits
A Postwyre app you signed in to with your Postwyre login reads your brands, whether a brand's plan includes the app, and that plan's credits from postwyre.com, so the app keeps no copy of its own. Two routes take only the app's own sign-in. An API key, a connected AI app's sign-in and a browser are refused with a 401, so an agent uses GET /api/suite/me and the MCP connector instead. Both routes only read: they never spend, add or move credits, and nothing changes a plan or a brand.
Each call names the app with the product query parameter, for example ?product=crm. A sign-in made for a different app than the one named is refused with a 403. A missing or unknown product gets a 400.
GET /api/suite/brands
Every brand you belong to, with your role there, whether its plan includes the app, and which plan that is. It needs no X-Workspace-Id header, so an app can show a brand picker before you choose one.
{
"brands": [
{ "id": "org_1", "name": "Acme", "role": "owner", "includesProduct": true, "plan": "crm_solo", "suite": null },
{ "id": "org_2", "name": "Side project", "role": "member", "includesProduct": true, "plan": "crm_solo", "suite": null }
]
}planis the key of the paid or trial plan that gives the brand the app:suite_bundlefor the bundle, the app's own plan such ascrm_solo, or a Postwyre plan such aspro. It isnullwhen the brand's plan does not include the app (includesProductis false) and when Postwyre gives the plan free. Until the Suite bundle's price is set, no plan on sale includes an app other than Postwyre, so every other app readsnullhere.suiteis set only when that plan is the Suite bundle, and isnullotherwise.tieris the app's own plan the bundle gives. The brands on one Suite bundle share one of each app's plans evenly, soshareis this brand's part (1 / brandsOnPlan): the app multiplies each of that plan's monthly limits by it.poolis the same for every brand on the bundle and never a brand id, so an app can count use across them.monthlyCreditsis the most of the bundle's monthly credits the app may spend; past it the app spends bought credits only. Theincludedcredits below are the whole bundle's, so an app may be refused while they show more than it asked for.
On the Suite bundle, suite reads like this for a brand that shares the bundle with one other brand:
{ "suite": { "tier": "suite", "share": 0.5, "brandsOnPlan": 2, "pool": "Zq3xVb7Tn0kQ2mW8aR4yHc", "monthlyCredits": 0 } }It is refused with a 403 once none of your brands has a plan that includes the app.
GET /api/suite/entitlement
Whether the brand in the X-Workspace-Id header has a plan that includes the app, and that plan's credits. With one brand you can leave the header out; with more than one, leaving it out gets a 400.
{
"product": "crm",
"brandId": "org_1",
"role": "owner",
"entitled": true,
"access": "paid",
"plan": "crm_solo",
"suite": null,
"credits": { "included": 0, "includedMonthly": 0, "purchased": 40, "total": 40, "period": "2026-11" }
}accessispaid,trialorcomp(given free by Postwyre).planis the key of the plan that gives the brand the app, as in the brands list, so an app can tell a bundle customer (suite_bundle) from one who pays for the app alone. It isnullwhenaccessiscomp.suiteis the same as in the brands list.- The credits belong to the plan, so every brand on one plan reads the same balance.
includedis what is left of this month's credits,purchasedis bought credits, andperiodis the month in UTC. - A brand you do not belong to is refused with a 403. So is a brand whose plan does not include the app, and that answer carries no credits.
Both routes answer the same when called twice until a membership, a plan or the credits change, and the answer is never kept by a shared cache. They share the app's 120 requests a minute with GET /api/suite/me; past that the answer is 429 with a Retry-After header.
How a Postwyre app spends your credits
A Postwyre app pays for its AI work from the same credits as Postwyre itself: the plan's credits, shared by every brand on the plan. You buy credits once, in Billing on postwyre.com, and every app uses them. An app never sells credits of its own.
Two routes take only the app's own sign-in, the same as above, and refuse an API key, a connected AI app's sign-in and a browser with a 401. The app is always the one the sign-in was made for; nothing in the body can name another. The body names the brand with brandId. A brand you do not belong to gets a 404, and a brand whose plan does not include the app gets a 403. If the X-Workspace-Id header is sent too, it must name the same brand, or the answer is 400.
POST /api/suite/credits/spend
{ "brandId": "org_1", "credits": 3, "kind": "email_draft", "idempotencyKey": "draft-8f2c" }creditsis a whole number from 1 to 100. Work that needs more is split into several spends.kindis the app's own label for the work: 1 to 40 lowercase letters, digits or underscores. Billing shows it in your credit history, with underscores as spaces, for example "CRMwyre: email draft".idempotencyKeynames this one piece of work. Sending the same key with the samecreditsandkindagain answers the first answer again, withreplay: true, and spends nothing. Sending it with a differentcreditsorkindgets a 409.- Just before credits are taken, the spend checks again that the app's sign-in is not revoked, the app is not turned off, you are not banned, you still belong to the brand and its plan still includes the app. If any of that changed while the spend waited, it spends nothing and gets the same answer the first check gives: 401 for the sign-in, 404 for the brand, 403 for the plan.
The answer:
{
"spendId": "spd_1",
"brandId": "org_1",
"product": "crm",
"kind": "email_draft",
"credits": 3,
"replay": false,
"balance": { "included": 0, "purchased": 37, "total": 37, "period": "2026-11" }
}This month's plan credits are spent first, then bought ones. On a trial only bought credits are spent. When there are not enough credits, the answer is 402 and nothing is spent:
{
"error": { "code": "quota_exceeded", "reason": "no_credits", "message": "Not enough credits: this needs 3 and the brand has 1. Buy credits in Postwyre Billing." },
"balance": { "included": 0, "purchased": 1, "total": 1, "period": "2026-11" },
"buyUrl": "https://postwyre.com/billing#credits"
}A 402 is not remembered, so the app can send the same key again once credits are bought.
The brand's plan is checked again at the moment the credits are taken. If the plan stopped including the app while the spend waited its turn, the answer is the same 403 as above and nothing is spent, bought credits included. balance is always the balance the credits were taken from.
POST /api/suite/credits/refund
Gives back a spend whose work did not happen, or the part that was not used.
{ "brandId": "org_1", "spendId": "spd_1", "credits": 2 }- Leave
creditsout to give back the whole spend. A refund never gives back more than the spend took; asking for more gets a 409. - A spend is given back once, and its
idempotencyKeystays used: sending the spend again with that key answers the first answer and spends nothing, so work done again needs a new key. - Asking for the same refund again with the same amount answers the first answer again, with
replay: true. A different amount gets a 409. - Only a spend this app made for this brand can be given back. Any other
spendIdgets a 404. - Bought credits go back first. This month's plan credits go back only within the month they were spent in, so
creditsReturnedin the answer can be less thancredits. balanceis the balance the credits went back to, even if the brand has moved to another plan since the spend.
The answer:
{
"spendId": "spd_1",
"brandId": "org_1",
"product": "crm",
"credits": 2,
"creditsReturned": 2,
"replay": false,
"balance": { "included": 0, "purchased": 39, "total": 39, "period": "2026-11" }
}Errors
Every refusal on these routes, and on GET /api/suite/me, GET /api/suite/brands, GET /api/suite/person and GET /api/suite/entitlement, has the same shape, so an app never reads an error as an answer:
{ "error": { "code": "forbidden", "message": "No access to that brand" } }code is one of unauthorized (401), forbidden (403), not_found (404), validation_error (400), conflict (409), quota_exceeded (402), rate_limited (429) and not_configured (503, on GET /api/suite/brands and GET /api/suite/person when Postwyre cannot check that product's short-lived suite sign-ins on this server; the app's own sign-in still works). Only the 402 for missing credits adds fields: error.reason, balance and buyUrl, shown above.
Limits and records
The two routes share 60 calls a minute for each app and brand, on top of the app's 120 requests a minute for each person. Past either, the answer is 429 with the code rate_limited and a Retry-After header saying how many seconds to wait. Every call is recorded with the app, the person, the brand, the credits and how it ended. The record holds no sign-in token and no idempotencyKey.
Both routes are in the OpenAPI file, under Products.