Organization API
Organizations
Organization details and member management
/organizationsList organizations
Query parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"organizations": [
null
]
}/organizationsCreate organization
Request body
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations' \
-X POST \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"name": "string"
}'Response
{
"ok": true
}/organizations/{orgId}Get organization
Path parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true
}/organizations/{orgId}Update organization
Path parameters
Request body
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>' \
-X PUT \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"defaultTeam": "string",
"defaultAssistant": "string"
}'Response
{
"ok": true
}/organizations/{orgId}Delete organization
Path parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>' \
-X DELETE \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"organization": {
"id": "string"
}
}/organizations/{orgId}/domainsList org domains
Path parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/domains' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"domains": [
null
]
}/organizations/{orgId}/domainsAdd domain
Path parameters
Request body
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/domains' \
-X POST \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"domain": "string"
}'Response
{
"ok": true
}/organizations/{orgId}/domains/{domainId}Update domain
Path parameters
Request body
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/domains/<domainId>' \
-X PUT \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"autoJoin": true
}'Response
{
"ok": true
}/organizations/{orgId}/domains/{domainId}Remove domain
Path parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/domains/<domainId>' \
-X DELETE \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"domain": {
"id": "string"
}
}/organizations/{orgId}/domains/{domainId}/verifyVerify domain
Path parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/domains/<domainId>/verify' \
-X POST \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true
}/organizations/{orgId}/ssoUpdate SSO config
Path parameters
Request body
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/sso' \
-X PUT \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"enabled": true,
"enforced": true,
"provider": "string",
"googleWorkspace": {}
}'Response
{
"ok": true
}/organizations/{orgId}/ssoDisable SSO
Path parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/sso' \
-X DELETE \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true
}/organizations/{orgId}/scim-tokenRegenerate SCIM token
Path parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/scim-token' \
-X POST \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"scim": {
"token": "string"
}
}/organizations/{orgId}/membersList org members
Path parameters
Query parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/members' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"members": [
{
"id": "string",
"email": "string",
"name": "string",
"organizationRole": "string",
"createdAt": "2025-01-15T10:30:00.000Z"
}
]
}/organizations/{orgId}/membersProvision org member
Path parameters
Request body
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/members' \
-X POST \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]"
}'Response
{
"ok": true,
"member": {
"id": "string",
"email": "string",
"name": "string",
"organizationRole": "string",
"createdAt": "2025-01-15T10:30:00.000Z"
}
}/organizations/{orgId}/members/{userId}Remove org member
Path parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/members/<userId>' \
-X DELETE \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"member": {
"id": "string"
}
}/organizations/{orgId}/audit-eventsList org audit events
Path parameters
Query parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/audit-events' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"events": [
{
"id": "string",
"account": "string",
"organization": "string",
"actor": "string",
"action": "string",
"entityType": "string"
}
]
}/organizations/{orgId}/audit-loggingGet audit logging config
Path parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/audit-logging' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"auditLogging": {
"enabled": true,
"s3BucketArn": "string",
"s3Prefix": "string",
"roleArn": "string",
"region": "string",
"lastDeliveredAt": "2025-01-15T10:30:00.000Z"
}
}/organizations/{orgId}/audit-loggingUpdate audit logging config
Path parameters
Request body
Responses
trueRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/audit-logging' \
-X PUT \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"enabled": true,
"s3BucketArn": "string",
"s3Prefix": "string",
"roleArn": "string"
}'Response
{
"ok": true,
"auditLogging": {
"enabled": true,
"s3BucketArn": "string",
"s3Prefix": "string",
"roleArn": "string",
"region": "string",
"lastDeliveredAt": "2025-01-15T10:30:00.000Z"
}
}/organizations/{orgId}/audit-logging/deliverRequest audit log delivery to org S3
Path parameters
Request body
Responses
truependingrunningcompletedfailedRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/audit-logging/deliver' \
-X POST \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"from": "2025-01-15T10:30:00.000Z",
"to": "2025-01-15T10:30:00.000Z"
}'/organizations/{orgId}/audit-logging/deliver/{jobId}Get audit delivery job status
Path parameters
Responses
truependingrunningcompletedfailedRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/audit-logging/deliver/<jobId>' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"deliveryJob": {
"id": "string",
"organization": "string",
"requestedBy": "string",
"status": "pending",
"from": "2025-01-15T10:30:00.000Z",
"to": "2025-01-15T10:30:00.000Z"
}
}/organizations/{orgId}/settings/model-tiersGet org default model tiers
Path parameters
Responses
truelowmediumhighnulllowmediumhighnullRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/settings/model-tiers' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"defaultModelTiers": {
"chat": "low",
"task": "low"
}
}/organizations/{orgId}/settings/model-tiersUpdate org default model tiers
Path parameters
Request body
lowmediumhighnulllowmediumhighnullResponses
truelowmediumhighnulllowmediumhighnullRequest
curl 'https://app.openassistant.us/api/organizations/<orgId>/settings/model-tiers' \
-X PATCH \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"chat": "low",
"task": "low"
}'Response
{
"ok": true,
"defaultModelTiers": {
"chat": "low",
"task": "low"
}
}/orgs/{id}/profileGet org profile — the Company at Account.ownCompanyId for the caller's account
Path parameters
Responses
trueRequest
curl 'https://app.openassistant.us/api/orgs/<id>/profile' \
-H "Authorization: Bearer ak_live_..."Response
{
"ok": true,
"profile": {
"companyId": "string",
"name": "string",
"ownOrgProfile": {
"mission": "string",
"values": [
"string"
],
"founded": "2025-01-15T10:30:00.000Z",
"stage": "string"
}
}
}/orgs/{id}/profilePatch org profile — first call claims the company for the caller's account and grants org_admin; subsequent calls require org_admin
Path parameters
Request body
Responses
trueRequest
curl 'https://app.openassistant.us/api/orgs/<id>/profile' \
-X PATCH \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"industry": "string",
"website": "string",
"location": "string"
}'Response
{
"ok": true,
"profile": {
"companyId": "string",
"name": "string",
"ownOrgProfile": {
"mission": "string",
"values": [
"string"
],
"founded": "2025-01-15T10:30:00.000Z",
"stage": "string"
}
}
}