---
updatedAt: 2026-09-06T13:33:03.000Z
agentTools:
  projectIndex: https://docs.umbrellacost.io/llms.txt
---

# Create an MSP Customer

The call is used to create a new customer for an MSP

<Callout icon="📘" theme="info">
  ### Note the request path is without the last "/"

  Due to documentation limitations, the request seems to end with a "/"

  Do not use it as the actual request URL is [https://api.umbrellacost.io/api/v2/user-management/customers](https://api.umbrellacost.io/api/v2/user-management/customers)
</Callout>

An MSP customer can take different shapes and forms.

* In-Activated - A container for linked accounts
* Activated - A customer with users and login
* Parent - An activated organization that holds users, while the accounts are managed by its child organizations
* Child - An in-activated organization that holds accounts, while the users are managed by its parent

Use this request to create the customer organization according to your needs.

<Callout icon="⚠️" theme="warn">
  ### Important

  * Activation is irreversible. Activate only when needed — this is exactly why "create now, activate later" is useful.
  * Domain usage - Reusing a domain that already belongs to an organization fails with a generic "please contact support" message and an error ID. Inform umbrella support of the domain you've tried to use, to allow adding it under your customer list.
  * Permissions - Edit customers permission allows customer activation.
</Callout>

A few use cases to help you determine the relevant body in your request:

<Callout icon="📘" theme="info">
  ### Please note

  Not all fields appear in the use cases, just the ones that cause the difference in umbrella creation of the customer entity.
</Callout>

| Use case                             | Send in the Request      | Outcome                                                                         |
| ------------------------------------ | ------------------------ | ------------------------------------------------------------------------------- |
| Log in now, one named admin          | An admin email address   | Activated customer created - login created<br />Invitation sent to that address |
| Log in now, whole company via SSO    | A company domain         | Anyone with an email at that domain can sign in                                 |
| Just a container for now             | Nothing extra            | Customer exists, nobody can log in yet                                          |
| A sub-customer under an existing one | The parent customer's ID | Nested under the parent; no separate login                                      |

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "UM 2.0 customers API",
    "version": "1.0.0",
    "description": "API documentation for user-management 2.0 /customers endpoints"
  },
  "servers": [
    {
      "url": "https://api.umbrellacost.io/api/v2/user-management/customers"
    }
  ],
  "paths": {
    "/": {
      "post": {
        "description": "The call is used to create a new customer for an MSP",
        "summary": "Create an MSP Customer",
        "tags": [
          "MSP Customers"
        ],
        "operationId": "post_apiv1mspcustomer",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "customerName": {
                      "type": "string",
                      "description": ""
                    },
                    "customerCode": {
                      "type": "string",
                      "description": ""
                    },
                    "customerId": {
                      "type": "string",
                      "description": ""
                    },
                    "linkedAccountIds": {
                      "type": "object",
                      "description": ""
                    },
                    "customerNameId": {
                      "type": "string",
                      "description": ""
                    }
                  }
                },
                "examples": {
                  "OK": {
                    "summary": "OK",
                    "value": "{\n  \"id\": id\n}"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "description": "",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "apikey",
            "in": "header",
            "required": true,
            "description": "",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "x-readme": {
          "code-samples": [
            {
              "code": "curl --location --request POST 'https://api.umbrellacost.io/api/v2/user-management/customers' \\\n--header 'apikey: {{account-api-key}}' \\\n--header 'Authorization: {{bearer-token}}' \\\n--header 'Content-Type: application/json' \\",
              "language": "shell",
              "name": ""
            }
          ],
          "samples-languages": [
            "shell"
          ]
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "The customer name\t",
                    "x-readme-id": "0.0"
                  },
                  "linkedAccountsIds": {
                    "type": "array",
                    "description": "List of linked accounts for this customer\t",
                    "items": {
                      "type": "string"
                    },
                    "x-readme-id": "0.1"
                  },
                  "code": {
                    "type": "string",
                    "description": "An additional customer identifier\t",
                    "x-readme-id": "0.2"
                  }
                },
                "type": "object",
                "required": [
                  "name",
                  "linkedAccountsIds"
                ]
              },
              "examples": {
                "New Example": {
                  "summary": "New Example",
                  "value": {
                    "name": "Test Customer",
                    "code": "6543",
                    "adminEmail": "",
                    "parentOrganizationId": "123456b-5250-4e12-801f-838540ea2074",
                    "description": "Test Description",
                    "accounts": {
                      "accountsToAdd": {
                        "fullyAssignedPayerAccounts": [],
                        "payerWithLinkedAccounts": {
                          "1334567890": [
                            "1234567890"
                          ]
                        }
                      },
                      "accountsToRemove": {
                        "fullyAssignedPayerAccounts": [],
                        "payerWithLinkedAccounts": {}
                      },
                      "allLinkedAccountsOfAllPayerAccounts": false
                    }
                  }
                }
              }
            }
          }
        },
        "x-internal": false
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false
  }
}
```