Org Web Adapter

journals/2022_06_15.org

2022-06-15

Timeline

- Note taken on

ExtensisHR conversation goes like this:

They need to be able to create companies on the fly, which are tied to a "global" billing account

My idea, create an undocumented API endpoint for my.15five.com/api/public/company/ that takes a GET or POST but only for special API keys that are given permission to create and manage company accounts.

created_by_api_key field on Company keeps track of where a company was created. This API key is then tied to a user, which allows us to know where it came from.

We can also keep the billing_user for a company tied to Extensis when they're created via the API.