Teams
Onboard team members in bulk for an existing company.
Bulk Onboard Team
Onboard multiple team members to a specific company at once. Company creation is managed inside Juno and is not available through the Developer API.
Endpoint: POST /companies/{companyId}/teams/bulk
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
companyId | string | Yes | The ID of the company. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
members | array | Yes | List of team members to onboard. |
Member Object:
| Field | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Email address of the team member. |
firstName | string | Yes | First name. |
lastName | string | Yes | Last name. |
privilege | string | No | Role/privilege level (e.g. 'admin', 'member'). |
Example Request
curl -X POST "https://api.usejuno.io/v1/developer/companies/123/teams/bulk" \
-H "X-API-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"members": [
{
"email": "alice@acme.com",
"firstName": "Alice",
"lastName": "Doe",
"privilege": "admin"
},
{
"email": "bob@acme.com",
"firstName": "Bob",
"lastName": "Smith",
"privilege": "member"
}
]
}'
Response
{
"description": "Team members onboarded"
}