Skip to main content
POST
Invite a team member
Needs team:create, and a role in the workspace that can invite: owners and managers can. See Permissions.
Invites the person at 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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
workspace_id
integer
required

The workspace. It must be one the key can reach.

email
string<email>
required

The person's email address. It must not be in the workspace's team already.

Maximum string length: 255
role
enum<string>
required

Their role: a name from roles in the team list. Owner is not one of them: a workspace has one owner.

Available options:
APP_MANAGER,
APP_CONTENT_MANAGER,
APP_CONTENT_CREATOR,
APP_CLIENT

Response

The invitation: the person, with is_active: false until they accept.

A teammate, or someone invited who hasn't accepted yet.

id
integer
required

The person's account id: the {id} to update or remove them.

workspace_id
integer
required
name
string
required

Their name. Until they set one, it is the email address's part before the @.

email
string<email>
required
avatar_url
string
required

Their photo, or a picture of their initials.

role
object
required

A role in a workspace.

is_active
boolean
required

False while the invitation isn't accepted yet.