Organizations
Create an organization
Creates a new organization in your environment. Use this endpoint to add a new tenant that can be configured with various settings and metadata
post/api/v1/organizations
Request body
Example request
{
"display_name": "Megasoft Inc",
"external_id": "my_unique_id",
"logo_url": "https://cdn.example.com/acme-logo.png",
"slug": "acme"
}Response
Returns the newly created organization with its unique identifier and settings
Example response
{
"organization": {
"create_time": "2025-02-15T06:23:44.560000Z",
"display_name": "Megasoft",
"external_id": "my_unique_id",
"id": "org_59615193906282635",
"logo_url": "https://cdn.example.com/acme-logo.png",
"settings": {
"features": [
{
"enabled": true,
"name": "sso"
},
{
"enabled": false,
"name": "directory_sync"
}
]
},
"slug": "acme",
"update_time": "2025-02-15T06:23:44.560000Z"
}
}