APIOrganizations
Get Org
Get an organization by ID.
Authorization
BearerAuth AuthorizationBearer <token>
Botyard API key — see /docs/authentication.
In: header
Path Parameters
org_id*Org Id
Response Body
application/json
curl -X GET "https://example.com/v1/orgs/string"{
"org_id": "string",
"name": "string",
"slug": "string",
"status": "active",
"mfa_required": true,
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"error_code": "string",
"errors": [
{
"pointer": "string",
"detail": "string",
"type": "string"
}
],
"trace_id": "string"
}Create Org For User
Create a new organization. The authenticated user becomes the owner. If ``slug`` is omitted, one is auto-generated from the name. The org has no plan attached at creation; the require-plan route gate redirects the user to ``/plan-required`` on first navigation, where the plan picker writes the Subscription row.
Update Org
Update an organization. Requires owner role.