# createOrganization

> Required permission: Authenticated

Source: https://docs.gastrogate.io/docs/api/mutations/createOrganization

```graphql
createOrganization(
  input: OrganizationInput!
): Organization
```

## Arguments

| Name | Type | Description |
| --- | --- | --- |
| `input` | [`OrganizationInput`](https://docs.gastrogate.io/docs/api/types/OrganizationInput.md)! |  |

## Returns

[`Organization`](https://docs.gastrogate.io/docs/api/types/Organization.md)

## Example

```graphql
mutation CreateOrganization($input: OrganizationInput!) {
  createOrganization(input: $input) {
    id
    fortnoxAccountingImportEnabled
    hasFortnoxAccountingImportAccess
    hasFortnoxAccountingImportCredentials
    accountantEmail
    createdAt
  }
}
```

```bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { createOrganization(...) { __typename } }"}'
```
