Skip to content
Wazapin
Esc
navigateopen⌘Jpreview

Create a new organization

POST/v1/organizations
Authorization
bearerAuthbearerAuthrequired
or
apiKeyAuthapiKeyAuthrequired
Request body
requiredapplication/json
logostring
Logo URL
namestringrequired
Organization name
min length 1
slugstringrequired
Organization slug
min length 1
Responses
201Created
created_atstringrequired
default_currencystringrequired
home_currencystringrequired
idstringrequired
localestringrequired
logostring | nullrequired
namestringrequired
slugstringrequired
timezonestringrequired
updated_atstringrequired
400Bad Request
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
401Unauthorized
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
409Conflict
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
422Unprocessable Entity
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
500Internal Server Error
errorErrorBodyrequired
Show properties
codestringrequired
detailsErrorDetail[] | null
Show properties
Array of ErrorDetail
codestring
fieldstring
locationstring
messagestringrequired
messagestringrequired
request_idstring
Request
curl -X POST "/v1/organizations" \
  -H "Content-Type: application/json" \
  -d '{
  "logo": "string",
  "name": "string",
  "slug": "string"
}'
Response
{
  "created_at": "string",
  "default_currency": "string",
  "home_currency": "string",
  "id": "string",
  "locale": "string",
  "logo": "string",
  "name": "string",
  "slug": "string",
  "timezone": "string",
  "updated_at": "string"
}