Companies & Teams
Manage companies and onboard team members in bulk.
Create Company
Create a new company within the Juno ecosystem.
Endpoint: POST /companies
Request Body
| Field | Type | Required | Description |
|Data Type| | | |
| name | string | Yes | The name of the company. |
| email | string | Yes | The primary contact email for the company. |
Example Request
curl -X POST "https://api.usejuno.io/v1/developer/companies" \
-H "X-API-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme Corp",
"email": "contact@acme.com"
}'
Response
{
"description": "Company created successfully"
}
Bulk Onboard Team
Onboard multiple team members to a specific company at once.
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 |
|Data Type| | | |
| members | array | Yes | List of team members to onboard. |
Member Object:
| Field | Type | Required | Description |
|Data Type| | | |
| 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"
}