POST
/
v1
/
organizations
Create Organization
curl --request POST \
  --url https://api.vertracloud.app/v1/organizations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "tags": [
    {}
  ]
}'
{
  "status": "success",
  "response": {
    "id": "org123",
    "name": "myorganization",
    "description": "I have a description :)",
    "tags": ["discord", "programming", "software", "technology"],
    "owner_id": "993591427428790342",
    "members": [
      {
        "user_id": "993591427428790342",
        "role": "owner",
        "joined_at": "2025-08-14T19:58:00Z"
      }
    ],
    "created_at": "2025-08-14T19:58:00Z",
    "updated_at": "2025-08-14T19:58:00Z"
  }
}
name
string
required
The name of the organization (case-insensitive, max 50 characters).
description
string
A description of the organization. Defaults to “I have a description :)”.
tags
array
An array of tags for the organization. Defaults to [“discord”, “programming”, “software”, “technology”].

Response

status
string
Indicates whether the call was successful. success if successful, error if not.
response
object
The details of the created organization.
{
  "status": "success",
  "response": {
    "id": "org123",
    "name": "myorganization",
    "description": "I have a description :)",
    "tags": ["discord", "programming", "software", "technology"],
    "owner_id": "993591427428790342",
    "members": [
      {
        "user_id": "993591427428790342",
        "role": "owner",
        "joined_at": "2025-08-14T19:58:00Z"
      }
    ],
    "created_at": "2025-08-14T19:58:00Z",
    "updated_at": "2025-08-14T19:58:00Z"
  }
}

Error Responses

status
string
Indicates whether the call was successful. error if not successful.
code
string
The error code indicating the reason for failure. Possible values:
  • UNAUTHORIZED: The user is not authenticated.
  • PLAN_RESTRICTED_FEATURE: The user’s plan does not allow creating organizations.
  • ORGANIZATION_NAME_ALREADY_EXISTS: An organization with the provided name already exists.
{
  "status": "error",
  "code": "UNAUTHORIZED"
}