Team
Invite a team member
Invite a person to a workspace’s team by email, with a role.
POST
Invite a team member
Needs
team:create, and a role in the workspace that can invite: owners and managers can. See Permissions.email to the workspace as role, a name from roles in the team list. PostSyncer keeps the email address, makes an account for it when there is none, and sends that person one invitation email with a link that works for 7 days. Until they accept, they are in the team with is_active: false. It is what the team page in the app does.
To take the invitation back, remove them: the link stops working, and an account made for the invitation stays. To send it again, update them with resend_invitation: true.
Team members are on paid plans: on Free the team is one person. When the workspace owner is on Free, nothing is saved, no email goes out, and the answer is 403 with error: plan_limit_reached and limit: team. The owner’s key gets upgrade_url and upgrade_plan; anyone else’s is told to ask the owner (owner_plan: true, no upgrade_url).
The workspace is checked first, then your role, then the plan, then the body, then the day’s invitations.
One invitation goes to an address for each workspace a day, new or sent again, and taking one back doesn’t give it back. A workspace sends 50 new invitations a day. Invitations sent from the app’s Team page count toward the same limits. Past either, nothing is saved or sent, and the answer is 429 with error: rate_limited, a Retry-After header and the wait in the message.
Errors
Related
- List team members: the team and the roles.
- Remove a team member: cancel the invitation.
Authorizations
Body
application/json
Response
The invitation: the person, with is_active: false until they accept.
A teammate, or someone invited who hasn't accepted yet.