Instead of listing names on every document, make a team once and share with the team. Someone joins, they get what the team has. Someone leaves, they lose it everywhere — in one action, not a search through documents.
A team member is a PitchStation account, not an email address on a list. There is no way to check that a stranger controls an address, so an address alone cannot let someone in.
Two ways in:
POST /api/teams/:id/invites), send an invitation to their email with a personal note in your own words. They get a signup link; the moment they sign up and confirm that address, they join automatically — you get an email when it happens, they get the document list. Until then the invitation grants nothing: it appears in no access check, and you can revoke it any time from the pending list.curl -X POST https://pitchstation.ai/api/teams \
-H "Authorization: Bearer $PITCHSTATION_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"handle":"design","name":"Design team"}'
{ "success": true,
"team": { "id": 2,
"ref": "@leo_lin/design", ← how anyone names it unambiguously
"members": 1, ← you, automatically
"yourRole": "owner" } }The handle (design) is what you type. The ref (@leo_lin/design) is what you use when a plain handle would be ambiguous — see §05.
# by email — the usual case
-d '{"email":"simon@example.com"}'
# or by username, if you know it
-d '{"username":"simonruan"}'
curl -X POST https://pitchstation.ai/api/teams/2/members \
-H "Authorization: Bearer $PITCHSTATION_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"username":"simonruan"}'
{ "success": true,
"granted": 0,
"note": "This team has no documents yet." }If they have not signed up yet you get a clear refusal rather than a silent no-op:
{ "code": "USER_NOT_FOUND",
"error": "No account for \"nobody@example.com\". A team member must
already have an account: ask them to sign up at
/signup.html, then add them." }curl -X POST https://pitchstation.ai/api/share \
-H "Authorization: Bearer $PITCHSTATION_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"title":"Q3 plan", "access":"account",
"htmlContent":"…",
"teams":["design"]}'
{ "slug": "QeexQIP5",
"teams": { "teams": [ { "ref": "@leo_lin/design", "members": 2 } ] } }Everyone on the team is emailed automatically — they get the link, and it opens once they sign in. Nobody else's does. (§08 covers exactly when mail is and is not sent.)
access: "account" matters. A team member has to sign in for PitchStation to know they are one. If you leave it as a public link, anyone with the URL gets in and the team adds nothing.This is the part worth understanding before you do it. Adding a person gives them everything the team already has, not just what you share from now on. The response tells you the number:
{ "success": true,
"granted": 1,
"note": "That also gives them access to 1 document already
shared with this team." }That is the intended behaviour — it is what "share with the team" means — but it is a surprise the first time, so the count is in the response rather than something to discover later.
You do not have to republish. Widen it in place and the link, password, analytics and comments all carry forward:
curl -X PATCH https://pitchstation.ai/api/share/<slug>/access \
-H "Authorization: Bearer $PITCHSTATION_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"addTeams":["design"]}'
{ "promoted": { "from": "link", "to": "account",
"note": "a team member must sign in to be recognised as one" },
"grantedTo": 2,
"note": "This document is now open to 2 more people." }Going the other way needs no ceremony — {"removeTeams":["design"]} takes it back immediately.
You can be in your own design team and a client's design team at the same time. When you type just design, PitchStation refuses and asks which — it does not pick one:
{ "code": "TEAM_AMBIGUOUS",
"error": "\"design\" matches 2 teams. Name one exactly — nothing was shared.",
"candidates": [
{ "ref": "@leo_lin/design", "members": 1, "yourRole": "admin" },
{ "ref": "@bob/design", "members": 2, "yourRole": "member" } ] }Retry with the one you meant — "teams":["@bob/design"] or "teamIds":[3] — and it goes through.
| You do this | What happens |
|---|---|
| Remove them from the team | Access ends immediately, on every document the team granted. One action, not a search. |
| Archive the team | Every document it opened closes. Nothing is deleted; un-archiving restores access exactly. |
| Their comments | Stay. Deleting them would rewrite a discussion and orphan the replies to it. |
| The documents | Untouched. Removing a person changes who can read; it never changes what is there. |
This is the reason to use teams at all. Offboarding somebody becomes one call instead of remembering every document they were named on.
If you have PitchStation connected to Claude Code, Codex or another assistant, say what you want:
"Make a team called design, add simon@example.com, and share the Q3 plan with it."
Sharing something with a team emails the team. Changing who can reach a document you already shared does not, unless you ask.
| What you do | Who gets an email |
|---|---|
Publish with teams: | Every member, automatically. Putting a document in front of a team is telling them to read it. |
Widen an existing share — PATCH /access | Nobody, unless you add "notify": true. Widening is often just tidying up an allowlist, and mail nobody needs is mail everybody learns to ignore. |
| Add someone to a team | The new member — one email listing what the team grants them (retroactive access someone can't see is access they don't have). Pass "notify": false to skip; their own notification preference always wins. |
| Invite someone without an account | The invitee — an invitation with your quoted note and a signup link. When they sign up and confirm the address they join automatically, get the document list, and the inviter gets a "they joined" email. |
| Remove someone | Nobody. Their access simply ends. |
Send it again — POST /notify | Whoever you name: members, teams, viewers, recipients, owner. There is no “everyone” default — a resend that reaches more people than you pictured is worse than one that reaches too few. |
# the miss most people hit: widened without notify, and now want to tell them
curl -X POST https://pitchstation.ai/api/share/<slug>/notify \
-H "Authorization: Bearer $PITCHSTATION_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"to":"members"}' # or ["members","owner"]
# announce a document the team can already reach — same URL, same analytics
curl -X PATCH https://pitchstation.ai/api/share/<slug>/access \
-H "Authorization: Bearer $PITCHSTATION_TOKEN" \
-H 'Content-Type: application/json' \
-d '{"addTeams":["aip"],"notify":true}'
{ "grantedTo": 2,
"notified": ["yanglee@mobileinteractive.com"] }Two things it will not do: it never emails you unless you ask for owner, and it never re-sends a password — the password is stored hashed and cannot be recovered, so pass it on yourself. The response says so when the share has one.
Widening without notify now tells you it stayed quiet, rather than looking like a notification that failed:
{ "notified": [],
"notifyNote": "Nobody was emailed. Pass \"notify\": true to tell the 1 member,
or POST /api/share/<slug>/notify later." }notify.design team; that is why §05 exists.An issue Space is a Space a Team uses to collect its issues. A Team owner or admin selects Set up issue reporting on the Teams page to open the Team issue Spaces dialog, also available through Issue settings on the Issues page. Members who cannot set it up ask the Team owner or an admin. The Issue reporting checklist separates the server switch, Team membership, Space access, reporting being on or paused, and eligible owners.
When the dialog has no editable issue Space already connected, it starts with 1. Choose an issue Space. Choose one of your own available Spaces, or use Create a Space in a new tab and return; the choices refresh when you return, and Refresh Spaces is also available. To connect someone else’s Space to the Team, ask its owner, who must also have Team owner or admin authority. Next: choose owners opens the owner step. A default owner gets new issues; an optional backup owner gets them when the default owner cannot. At least one must be eligible: a current human Team member with Space owner or editor access. Save Team issue Spaces saves the changes together; a failed save keeps the selections for retry.
Existing editable issue Spaces have one row each, with their reporting state, owners and filing link; a row that needs an owner or has reporting paused also offers an action to fix it. Spaces you cannot edit show only the API’s identifier and title with guidance to ask their owner. You can add another of your own available Spaces or pause reporting without removing existing issues. After the first setup save, 3. Send the filing link shows the address; existing rows and the ready Team’s checklist also show a filing link. If its copy control is unavailable, copy the displayed address. A link grants no permission.
An active human in the exact active Team can list, search and read Issue details, activity and bound uploads across its active issue Spaces without a Space role. Every current human member can open Team Issues; Team progress remains a separate admin-only action. Connecting a Space to the Team does not grant Space membership. Filing, upload staging, AI drafting and comments keep their explicit Space role and current Team membership requirements; ownership and management keep their existing rules. Reporting being paused preserves reading and otherwise-authorized comments. Underlying Space documents and exact-version artifacts retain independent authorization.
You can prepare settings while server reporting is off. Filing, reading, uploads and AI drafting require the server feature to be enabled; manual reporting remains available when only AI is off. An agent posts its result for the human owner to review before resolution; the approval lasts 15 minutes and one use. See Team setup in the Issues guide, the Issues API and the agent workflow.
问题空间是团队用来收集问题的空间。团队所有者或管理员在团队页面选择设置问题报告,打开团队问题空间对话框;问题页面的问题设置也会打开此对话框。无权设置的成员应请团队所有者或管理员操作。问题报告检查清单分别检查服务器功能、团队成员资格、空间访问权限、正在接收报告或已暂停接收报告,以及负责人是否符合条件。
对话框尚无已关联且可编辑的问题空间时,会从1. 选择问题空间开始。选择一个你拥有且可用的空间,或使用在新标签页中创建空间后返回;返回时会刷新选项,也可选择刷新空间。如需把他人的空间关联到团队,请该空间所有者操作;对方也须具备团队所有者或管理员权限。下一步:选择负责人会打开负责人步骤。默认负责人接收新问题;默认负责人无法接收时,由可选的后备负责人接收。两者中至少一位须符合条件:是当前有效人类团队成员,且有空间所有者或编辑者权限。保存团队问题空间会一次保存所有更改;失败时会保留选择供重试。
已有且可编辑的问题空间各占一行,显示接收状态、负责人和问题提交链接;缺少负责人或已暂停接收报告的行还会提供修正操作。无权编辑的空间只显示 API 提供的编号和名称,并说明要向所有者提出的请求。仍可添加自己拥有的其他可用空间,或暂停接收而保留已有问题。首次设置保存后,3. 发送问题提交链接会显示网址;已有空间行和已就绪团队清单也会显示问题提交链接。复制控件不可用时,可复制显示的网址。链接不授予权限。
同一有效团队的当前有效人类成员无需空间角色,即可阅读该团队有效问题空间中的问题、活动与已绑定上传内容;每位当前人类成员均可打开团队问题,团队管理员进度仍是独立操作。把空间关联到团队不会授予空间成员资格。提交、暂存上传、AI 起草及评论仍需明确的空间角色与当前团队成员资格,负责工作及管理操作的原有规则不变。已暂停接收报告的空间仍可阅读,并保留原有评论权限。底层空间文档及准确版本的工件仍独立授权。
服务器报告功能关闭时可预先设置;提交、阅读、上传及 AI 起草须等待服务器开启。仅关闭 AI 时仍可手动报告。代理提交结果后,由当前人类负责人审核;解决批准有效期为 15 分钟且仅能使用一次。详细步骤见问题指南中的团队设置、问题 API和代理工作流程。
Where private reader delegation is enabled for the owner, an eligible account-mode HTML/PDF document can have named delegates from its existing audience. A delegate can invite one more reader layer; the client signs in with the exact invited, verified email. Team membership alone grants no delegation permission. Client identities stay with their direct inviter; the owner sees direct delegates and limited totals.
Follow the Private Reader Delegation guide for eligibility, owner opt-in, invitations, fixed versions, stopping new invitations and revocation. This uses personal web sessions and is separate from ordinary forwarding. Spaces, bundles and business-document workflows are excluded.