Add a member
Adds a member who signs in through your enterprise SSO, without an invitation email or a click from them. The API key’s user must have signed in to Context7 through an active SSO connection whose domain covers the email; otherwise the request is refused with 403
sso_connection_required. The entry is bound to that connection. When the person has already signed in through it with this email, they join at once (status: added). Otherwise the entry waits in the invitation list and they join on their first sign-in through that connection (status: pending). Someone who signs in with that email any other way is not added automatically; to them the entry is an ordinary invitation they can accept. Owners and admins only. Refused when the teamspace is full (counting pending invitations), when the email is already a member or invited, and on Vercel Marketplace teamspaces (409 marketplace_managed).1 min read
post/v2/teamspaces/{teamspaceId}/members/add
Request example
Response
post/v2/teamspaces/{teamspaceId}/members/add
Authorization
Path parameters
Teamspace id (from
GET /v2/teamspaces).Body
application/jsonResponses
application/json
Member added, or waiting for their first SSO sign-in