> For the complete documentation index, see [llms.txt](https://docs.getpenfold.dev/dev/llms.txt)

# Create an organisation

> POST /organisations
> 
> **Partner organisations only.** A Payroll organisation calling this
> endpoint receives `405 Method Not Allowed`.
> 
> Creates an organisation that you manage. Create its employers next with
> `POST /employers`, then register its admins.



## Servers
- https://payroll-api.getpenfold.dev/v4: https://payroll-api.getpenfold.dev/v4


## Authentication methods
- O auth2 client credentials


## Parameters



### Body: application/json (object)

- **display_name** (string)
  The organisation's name, as shown on the Penfold Workplace Platform.

- **type** (string)
  `SingleEmployer` organisations hold exactly one employer. `MultiEmployer`
  organisations hold several, for example a group of companies.



## Responses
### 201
Organisation created

#### Body: application/json (object)
- **id** (string)
  Penfold organisation id. Use it as `organisation_id`.

- **display_name** (string)
  The organisation's name, as shown on the Penfold Workplace Platform.

- **type** (string)
  `SingleEmployer` organisations hold exactly one employer. `MultiEmployer`
  organisations hold several, for example a group of companies.

- **created_at** (string(date-time))
  When the organisation was created (ISO 8601 UTC).


### 400
Request body failed validation

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.

- **validation_errors** (array[object])


### 401
Missing or invalid authentication token

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.


### 405
Method not allowed. Partner organisations only.

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.


### 500
Internal server error

#### Body: application/json (object)
- **error** (string)
  A descriptive error message.



[Powered by Bump.sh](https://bump.sh)
