Create Team Member
POST /team-members
Add someone to the roster.
This creates a DIRECTORY record, not a login. It does not invite anyone, grant any permission, or put them in the identity provider - a member created here can own a deal and be assigned a task, and cannot sign in.
Authorizations
Parameters
Header Parameters
Request Body required
Mirrors team_members.TeamMemberCreateRequest.
email is an EmailStr, as the app’s is. As a plain string a malformed
address would pass this layer and fail the app model built inside the
proxy - a bare ValidationError, which is a 500.
Responses
201
Successful Response
object
An open envelope for a single role, team, member or account record.
Open on purpose. The app’s own response models on this surface grow with
the product - RoleResponse gained rep_limits and manages_role_slugs,
TeamResponse gained channel counts and a campaign count - and a pinned
mirror would SILENTLY DROP whatever it had not caught up on. A dropped
permission in a role read is the worst possible kind of stale: it reads as
“they do not have it”.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error