Invite Team Members
You can invite team members to collaborate on your project.
Send Invitations
To invite team members, use the POST /api/teamMembers/invite endpoint.
Endpoint
POST /api/teamMembers/invite
Request Body
{
"siteName": "My Awesome Project",
"teamMembers": [
{
"email": "jane.doe@example.com",
"name": "Jane Doe",
"role": "admin",
"position": "CTO"
},
{
"email": "john.smith@example.com",
"name": "John Smith",
"role": "view",
"position": "Developer"
}
]
}siteName(required): The name of your project.teamMembers(required): An array of team members to invite.email(required): The email address of the invitee.name(required): The name of the invitee.role(required): The role assigned to the invitee (view,create,delete,admin).position(required): The position of the invitee within the team.
Response
The API returns the status of each invitation, indicating whether it was successful or failed.
Authentication
This endpoint requires authentication. In production, you must include the x-api-key and x-api-secret headers.
Last updated on