Skip to article
Guides / Teams

Teams

Invite people to your apps with owner, admin, developer and viewer roles.

  • Plans Pro
On this page

Teams let other people work on your apps with their own sign-in. Each person gets a role, so a contractor can manage keys and emoji without managing the team, and a teammate can read usage and analytics without changing anything.

Roles

RoleCan do
OwnerEverything. The account that owns the apps and the plan.
AdminEverything except changing the plan, including team management.
DeveloperApps, keys, custom emoji and webhooks. No team management.
ViewerRead only: apps, usage and analytics.

Members work on the owner’s apps and see the owner’s plan. A membership counts only while the owner’s plan includes team members.

Invite people

The dashboard API serves teams to your signed-in session. An owner or an admin creates an invite with a role. The email address is optional.

Create an invite
POST /api/team/invites
{ "role": "developer", "email": "sam@example.com" }

→ 201 { "invite": { … }, "url": "https://…/invite/<token>" }

Send the link to the person. It is shown once, works once and expires after 7 days. They sign in and accept it:

Accept an invite
POST /api/invites/<token>/accept

→ 200 { "team": { "ownerId": "…", "ownerName": "…", "role": "developer" } }

Manage the team

RouteDoesWho
GET /api/teamMembers and open invitesAny member
PATCH /api/team/members/:idChange a role with { role }. The owner’s role cannot change.Owner, admin
DELETE /api/team/members/:idRemove a member, or leave the team yourselfOwner, admin, the member
DELETE /api/team/invites/:idWithdraw an open inviteOwner, admin

Team routes act on your own account. Add ?owner=<accountId> to act on a team you are a member of, with a high enough role.

Errors

Errors have the shape { "error": { "code", "message", "field"?, "plan"? } }.

StatusCodeWhen
402plan_requiredThe owner’s plan has no team members. plan names the cheapest plan that has them.
403forbidden_roleYour role is too low for this action
404invite_not_foundUnknown or withdrawn invite link
409invite_own_team, already_member, owner_immutableAn invite to your own team, a second membership, a change to the owner
410invite_used, invite_expiredThe invite was accepted already, or is older than 7 days

Apps and environments

Create one app per product. Every app has environments, and each key belongs to one of them: prod, staging or dev. Custom emoji, the emoji set and analytics are shared by the environments of an app, so staging shows what production shows. Only dev keys may be publishable keys that work from any origin.

PlanAppsEnvironmentsTeam members
Free1Production—
Solo1Production, Development—
Pro3Production, Staging, DevelopmentYes

Creating an app past your plan’s limit, or a key in an environment your plan does not include, answers 402 with plan_required. After a downgrade, keys of an environment the plan lost answer 402 until you upgrade again. Production keys never pause.