Skip to main content
POST
Create organization

Authorizations

Authorization
string
header
required

workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens

Headers

idempotency-key
string

Optional caller-supplied idempotency key. Any non-empty key up to 64 characters is accepted. Endpoint-specific documentation describes how the key is used.

Required string length: 1 - 64
Example:

"create-prod-2026-05-07"

Body

application/json
name
string
required
Required string length: 2 - 50
Pattern: ^[\p{L}\p{N}](?:[\p{L}\p{N}\s\-'&.]*[\p{L}\p{N}])?$/u
slug
string
Required string length: 3 - 39
Pattern: ^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$

Response

Organization created

id
string
required
Required string length: 1 - 54
name
string
required
Example:

"Code Zero"

slug
string | null
required
Example:

"code-zero"

icon
string<uri> | null
required
Maximum string length: 256
Example:

"https://github.com/code-zero.png"

created_at
integer
required

Unix timestamp (seconds)

Required range: x >= 0
updated_at
integer
required

Unix timestamp (seconds)

Required range: x >= 0
etag
string
required