---
title: "create an organization"
method: POST
path: "/organisations"
tags: ["organisation"]
---

# create an organization

`POST /organisations`

## Request

- Base URL: `https://staging.api-golang.boilerplate.hng.tech/api/v1`
- URL: `https://staging.api-golang.boilerplate.hng.tech/api/v1/organisations`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/docs/organisations/post.ts> (a function with typed inputs; its response is checked against the schema)

creates an organization

## Request body

- CreateOrganizationReq
  - `name` string
  - `description` string
  - `email` string
  - `state` string
  - `industry` string
  - `type` string
  - `address` string
  - `country` string

## Response `201`

organization created successfully

- OrganizationSuccessResponse
  - `status` string
  - `status_code` integer
  - `message` string
  - `data` OrganizationResData: Object describing the organisation data
    - `organisation_id` string, uuid
    - `name` string
    - `description` string
    - `email` string
    - `state` string
    - `industry` string
    - `type` string
    - `address` string
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `404`: Not found
- `500`: Server error

## Changes

- **2026-07-17** `2d1d3ed96bb9`: 1 info
  - endpoint added
- **2024-08-07** `06cecc2ac126`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/changes/organisations/post.md)

---

[API](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger.md) - [All operations](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/llms.txt) - [OpenAPI document](https://skmtc.dev/hngprojects/apis/kimiko-golang-swagger/revisions/2d1d3ed96bb9?raw)
