Softkiln Orgs API
The orgs API from Softkiln — 11 operation(s) for orgs.
The orgs API from Softkiln — 11 operation(s) for orgs.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/softkiln-com:softkiln-com-orgs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: App Manager Orgs API
version: 0.1.0
tags:
- name: Orgs
paths:
/api/orgs:
get:
tags:
- Orgs
summary: List Orgs
description: Orgs this user belongs to. Everyone has at least their personal org.
operationId: list_orgs_api_orgs_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/OrgOut'
type: array
title: Response List Orgs Api Orgs Get
post:
tags:
- Orgs
summary: Create Org
description: 'Create a team org. Open to anyone.
Safe precisely because a team org has no free-trial path: minting orgs
gains an abuser nothing, since a team org with no payment method cannot
create apps at all.'
operationId: create_org_api_orgs_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateOrgRequest'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OrgOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/orgs/workspaces:
get:
tags:
- Orgs
summary: List Workspaces
description: 'Every organization the caller can work in, for the workspace switcher.
Not `list_orgs`, which authorizes by membership and must keep doing so: a
person given one app in an org they don''t belong to (a consultant on a
client''s product) needs that org in the switcher, or the app is reachable
from nowhere. Those orgs come back as `guest`, and nothing here grants
anything — the role is read off what `visible_apps` already lets them see.
Platform admins get their own footprint, not the platform: "all
organizations" is a client-side entry over `GET /apps`, which already
returns everything for them.'
operationId: list_workspaces_api_orgs_workspaces_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/WorkspaceOut'
type: array
title: Response List Workspaces Api Orgs Workspaces Get
/api/orgs/my-domain:
get:
tags:
- Orgs
summary: My Domain
description: 'The caller''s email domain and whether a new org could claim it.
Declared before `/{slug}` so "my-domain" is not read as an org slug.'
operationId: my_domain_api_orgs_my_domain_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MyDomainOut'
/api/orgs/{slug}:
get:
tags:
- Orgs
summary: Get Org
operationId: get_org_api_orgs__slug__get
parameters:
- name: slug
in: path
required: true
schema:
type: string
title: Slug
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OrgOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- Orgs
summary: Update Org
operationId: update_org_api_orgs__slug__patch
parameters:
- name: slug
in: path
required: true
schema:
type: string
title: Slug
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateOrgRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OrgOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Orgs
summary: Delete Org
description: 'Delete an organization. Owner only, and only once it holds no apps.
With AI credit left, `forfeit_credit=true` is required: the confirmation
has shown the amount (`ai_credit_cents`) and said it is lost (APP-145).
This is the way OUT of an organization for its owner. An owner cannot
simply leave — that would strand the org with nobody able to pay for it,
manage its apps, or even receive its billing mail — so the choice is to
hand ownership to someone else or to delete the organization outright.'
operationId: delete_org_api_orgs__slug__delete
parameters:
- name: slug
in: path
required: true
schema:
type: string
title: Slug
- name: forfeit_credit
in: query
required: false
schema:
type: boolean
default: false
title: Forfeit Credit
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/orgs/{slug}/members:
get:
tags:
- Orgs
summary: List Members
operationId: list_members_api_orgs__slug__members_get
parameters:
- name: slug
in: path
required: true
schema:
type: string
title: Slug
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/OrgMemberOut'
title: Response List Members Api Orgs Slug Members Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Orgs
summary: Invite Member
description: Invite someone into the org. Owner/admin only — the sole way in.
operationId: invite_member_api_orgs__slug__members_post
parameters:
- name: slug
in: path
required: true
schema:
type: string
title: Slug
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InviteMemberRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InviteResult'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/orgs/{slug}/apps:
get:
tags:
- Orgs
summary: List Org Apps
description: 'The org''s own apps, for the invite dialog''s picker.
Admin-only, and scoped to this org: `GET /apps` is every app the CALLER can
see across all their orgs, so filling an org invite''s picker from it would
offer apps from a different organization and grant them on submit.'
operationId: list_org_apps_api_orgs__slug__apps_get
parameters:
- name: slug
in: path
required: true
schema:
type: string
title: Slug
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/OrgAppOut'
title: Response List Org Apps Api Orgs Slug Apps Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/orgs/{slug}/movable-apps:
get:
tags:
- Orgs
summary: List Movable Apps
description: 'The caller''s own products, from orgs they own, that could move in here.
See `engine/app_moves.py` for who may move what.'
operationId: list_movable_apps_api_orgs__slug__movable_apps_get
parameters:
- name: slug
in: path
required: true
schema:
type: string
title: Slug
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MovableAppsOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/orgs/{slug}/move-app:
post:
tags:
- Orgs
summary: Move App
description: 'Move one of the caller''s products into this org (APP-141).
Billing follows it: any trial ends, the old subscription is cancelled and
a new one is made on this org''s card (`billing.move_app_to_org`).'
operationId: move_app_api_orgs__slug__move_app_post
parameters:
- name: slug
in: path
required: true
schema:
type: string
title: Slug
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/MoveAppRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OrgAppOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/orgs/{slug}/members/{user_id}:
patch:
tags:
- Orgs
summary: Set Member Role
operationId: set_member_role_api_orgs__slug__members__user_id__patch
parameters:
- name: slug
in: path
required: true
schema:
type: string
title: Slug
- name: user_id
in: path
required: true
schema:
type: string
title: User Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SetRoleRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OrgMemberOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Orgs
summary: Remove Member
description: 'Remove a member — and every per-app grant they hold in this org.
The cascade lives in `orgs_engine.remove_member`. Without it, revoking
membership would leave `user_apps` rows intact and the person would keep
full access to the apps they were on: the removal would look like it
worked and would have done nothing.'
operationId: remove_member_api_orgs__slug__members__user_id__delete
parameters:
- name: slug
in: path
required: true
schema:
type: string
title: Slug
- name: user_id
in: path
required: true
schema:
type: string
title: User Id
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/orgs/{slug}/members/{user_id}/can-create-apps:
put:
tags:
- Orgs
summary: Set Member Can Create
description: 'Let one member create products directly, under `app_creators =
''selected''` (APP-330). Owner or admin; the flag is kept under `everyone`
too, so switching back and forth does not lose the list.'
operationId: set_member_can_create_api_orgs__slug__members__user_id__can_create_apps_put
parameters:
- name: slug
in: path
required: true
schema:
type: string
title: Slug
- name: user_id
in: path
required: true
schema:
type: string
title: User Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SetCanCreateRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OrgMemberOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/orgs/{slug}/transfer-owner:
post:
tags:
- Orgs
summary: Transfer Owner
operationId: transfer_owner_api_orgs__slug__transfer_owner_post
parameters:
- name: slug
in: path
required: true
schema:
type: string
title: Slug
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TransferOwnerRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OrgMemberOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
OrgMemberOut:
properties:
user_id:
type: string
title: User Id
email:
type: string
title: Email
role:
type: string
title: Role
pending:
type: boolean
title: Pending
can_create_apps:
type: boolean
title: Can Create Apps
default: false
type: object
required:
- user_id
- email
- role
- pending
title: OrgMemberOut
TransferOwnerRequest:
properties:
user_id:
type: string
title: User Id
type: object
required:
- user_id
title: TransferOwnerRequest
OrgOut:
properties:
id:
type: string
title: Id
slug:
type: string
title: Slug
name:
type: string
title: Name
is_personal:
type: boolean
title: Is Personal
is_mine:
type: boolean
title: Is Mine
my_role:
type: string
title: My Role
member_count:
type: integer
title: Member Count
app_count:
type: integer
title: App Count
has_payment_method:
type: boolean
title: Has Payment Method
plan:
type: string
title: Plan
entitled_plan:
type: string
title: Entitled Plan
ai_credit_cents:
type: integer
title: Ai Credit Cents
surfaces:
type: string
title: Surfaces
default: apps
app_creators:
type: string
title: App Creators
default: everyone
initiatives_available:
type: boolean
title: Initiatives Available
default: false
auto_join_domain:
anyOf:
- type: string
- type: 'null'
title: Auto Join Domain
my_email_domain:
anyOf:
- type: string
- type: 'null'
title: My Email Domain
can_use_my_domain:
type: boolean
title: Can Use My Domain
my_domain_problem:
anyOf:
- type: string
- type: 'null'
title: My Domain Problem
auto_join_domain_skipped:
anyOf:
- type: string
- type: 'null'
title: Auto Join Domain Skipped
type: object
required:
- id
- slug
- name
- is_personal
- is_mine
- my_role
- member_count
- app_count
- has_payment_method
- plan
- entitled_plan
- ai_credit_cents
- auto_join_domain
- my_email_domain
- can_use_my_domain
- my_domain_problem
title: OrgOut
InviteResult:
properties:
member:
$ref: '#/components/schemas/OrgMemberOut'
converted_to_team:
type: boolean
title: Converted To Team
type: object
required:
- member
- converted_to_team
title: InviteResult
SetCanCreateRequest:
properties:
can_create_apps:
type: boolean
title: Can Create Apps
type: object
required:
- can_create_apps
title: SetCanCreateRequest
CreateOrgRequest:
properties:
name:
type: string
title: Name
auto_join_domain:
type: boolean
title: Auto Join Domain
default: true
type: object
required:
- name
title: CreateOrgRequest
OrgAppOut:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
type: object
required:
- id
- name
title: OrgAppOut
SetRoleRequest:
properties:
role:
type: string
title: Role
type: object
required:
- role
title: SetRoleRequest
UpdateOrgRequest:
properties:
name:
anyOf:
- type: string
- type: 'null'
title: Name
auto_join_domain:
anyOf:
- type: boolean
- type: 'null'
title: Auto Join Domain
surfaces:
anyOf:
- type: string
- type: 'null'
title: Surfaces
app_creators:
anyOf:
- type: string
- type: 'null'
title: App Creators
type: object
title: UpdateOrgRequest
InviteMemberRequest:
properties:
email:
type: string
title: Email
role:
type: string
title: Role
default: user
app_ids:
items:
type: string
type: array
title: App Ids
default: []
type: object
required:
- email
title: InviteMemberRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
MyDomainOut:
properties:
domain:
anyOf:
- type: string
- type: 'null'
title: Domain
problem:
anyOf:
- type: string
- type: 'null'
title: Problem
type: object
required:
- domain
- problem
title: MyDomainOut
MovableAppsOut:
properties:
apps:
items:
$ref: '#/components/schemas/MovableAppOut'
type: array
title: Apps
blocked:
anyOf:
- type: string
- type: 'null'
title: Blocked
type: object
required:
- apps
- blocked
title: MovableAppsOut
MovableAppOut:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
tier:
type: string
title: Tier
from_org:
type: string
title: From Org
on_trial:
type: boolean
title: On Trial
type: object
required:
- id
- name
- tier
- from_org
- on_trial
title: MovableAppOut
MoveAppRequest:
properties:
app_id:
type: string
title: App Id
type: object
required:
- app_id
title: MoveAppRequest
WorkspaceOut:
properties:
slug:
type: string
title: Slug
name:
type: string
title: Name
is_personal:
type: boolean
title: Is Personal
is_mine:
type: boolean
title: Is Mine
role:
type: string
title: Role
app_count:
type: integer
title: App Count
direct_app_limit:
anyOf:
- type: integer
- type: 'null'
title: Direct App Limit
surfaces:
type: string
title: Surfaces
default: apps
can_create_apps:
type: boolean
title: Can Create Apps
default: true
pending_initiatives:
type: integer
title: Pending Initiatives
default: 0
type: object
required:
- slug
- name
- is_personal
- is_mine
- role
- app_count
title: WorkspaceOut