post https://api-stage.onsched.com/v3/company
Creates a new company in the system. This endpoint accepts company details in the request body and returns the newly created company object.
You can pass in a Users
array which is an array of objects with:
- email: Email addresses of users to associate with the company (we will findOrCreate users for these emails in our system)
- role: The role for each user within the company (admin, user, or resource)