POST
/
organizations
Create Organization
curl --request POST \
  --url https://api.wacht.dev/organizations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "display_name": "<string>",
  "description": "<string>"
}'
{
  "id": "<string>",
  "name": "Acme Corporation",
  "display_name": "Acme Corp",
  "slug": "acme-corp",
  "description": "<string>",
  "logo_url": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "member_count": 25,
  "workspace_count": 5
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication using the Authorization header

Body

application/json

Response

201
application/json

Organization created successfully

The response is of type object.