Teams
Send team invitation
Send an invitation to join a team. All team members can send invitations. Members can only invite as MEMBER role, while owners can invite as any role.
post/teams/{team_id}/invitations
Request
- Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
- URL: https://api.presscart.com/teams/{team_id}/invitations
- Auth: HTTP bearer
Path parameters
team_idstring required
Example:team-a-bb4478bd2e2e
Request body
Example request
{
"email": "john.doe@example.com",
"role": "MEMBER"
}Response
Invitation sent successfully
Example response
{
"email": "john.doe@example.com",
"role": "MEMBER",
"team_id": "123e4567-e89b-12d3-a456-426614174000",
"invited_by_id": "123e4567-e89b-12d3-a456-426614174001"
}Changes
No recorded changes to this operation across all 2 revisions of this API.