curl --request POST \
--url https://api.trieve.ai/api/organization \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'
{
"created_at": "2021-01-01 00:00:00.000",
"id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"name": "Trieve",
"partner_configuration": {
"COMPANY_NAME": "Trieve",
"DEMO_DOMAIN": "demos.trieve.ai",
"FAVICON_URL": "https://cdn.trieve.ai/favicon.ico"
},
"registerable": true,
"updated_at": "2021-01-01 00:00:00.000"
}
Create a new organization. The auth’ed user who creates the organization will be the default owner of the organization.
curl --request POST \
--url https://api.trieve.ai/api/organization \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>"
}'
{
"created_at": "2021-01-01 00:00:00.000",
"id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
"name": "Trieve",
"partner_configuration": {
"COMPANY_NAME": "Trieve",
"DEMO_DOMAIN": "demos.trieve.ai",
"FAVICON_URL": "https://cdn.trieve.ai/favicon.ico"
},
"registerable": true,
"updated_at": "2021-01-01 00:00:00.000"
}
The organization data that you want to create
The body is of type object
.
Created organization object
The response is of type object
.
Was this page helpful?