POST
/
v1
/
organizations
curl --request POST \
  --url https://platform.thena.ai/v1/organizations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-org-id: <api-key>' \
  --data '{
  "isActive": true,
  "logoUrl": "<string>",
  "name": "<string>",
  "email": "john.doe@example.com",
  "password": "password123"
}'
{
  "id": "<string>",
  "orgId": "<string>",
  "name": "<string>",
  "isActive": true,
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "logoUrl": "<string>",
  "isVerified": true
}

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Body

application/json
isActive
boolean
required

Whether the organization is active

name
string
required

The name of the organization

logoUrl
string

The logo URL of the organization

email
string

The email of the user creating this organization

Example:

"john.doe@example.com"

password
string

The password of the user creating this organization

Example:

"password123"

Response

201
application/json
Operation successful
id
string
required

The unique identifier of the organization

orgId
string
required

The unique identifier of the organization

name
string
required

The name of the organization

isActive
boolean
required

Whether the organization is active

createdAt
string
required

The created at date of the organization

updatedAt
string
required

The updated at date of the organization

logoUrl
string
required

The logo URL of the organization

isVerified
boolean
required

Whether the organization is verified