How to create a new company using the Blue API.


To create a new company, you can use the following mutation:

mutation CreateCompany {
  createCompany(input: { name: "new", slug: "new-slug" }) {
    id
  }
}

Note that creating new companies may affect the billing of your Blue account, as each company is billed separately.

Here are the options for the createCompany mutation and their descriptions:

Option Type Description
name String The name of the new company. This is a required field.
slug String A URL-friendly version of the company name. This is used in the company's URL and should be unique. This is a required field and will also act as the unique identifier for the company.

AI Assistant

Responses are generated using AI and may contain mistakes.

How can I help you?

Ask me anything about Blue or this documentation.

Enter to send • Shift+Enter for new line • ⌘I to open