Polytomic Subpackage Organization API

The subpackage_organization API from Polytomic — 3 operation(s) for subpackage_organization.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/organization Get the organization behind my credential · Get Current Organization #
Ask an LLM
“Which organization does my current API key belong to?”
“Can I find the effective organization implied by my user-scoped credential?”
Tell an agent
Show the organization my current credential is authenticated against.
Tell me which organization my API key belongs to.
GET /api/organizations List organizations under my partner account · Get Organizations #
Ask an LLM
“Which organizations does my partner account have access to?”
“What is the order of organizations returned for partner workflows?”
Tell an agent
List every organization accessible to my partner account.
Show the partner owner organization first, then its child organizations.
POST /api/organizations Create an organization under my partner account · Create Organization #
Ask an LLM
“How do I create a new organization under my partner account?”
“Can I set up SSO or OIDC on an organization when I create it?”
Tell an agent
Create an organization named {name} under my partner account.
Create organization {name} with OIDC issuer {issuer} and client ID {client_id}.
GET /api/organizations/{id} Get an organization by ID · Get Organization #
Ask an LLM
“How do I look up one organization by its ID?”
“What details are returned for a single organization?”
Tell an agent
Get organization {id}.
Show the details of organization {id}.
PUT /api/organizations/{id} Rename or change SSO settings of an organization · Update Organization #
Ask an LLM
“Can I rename an organization or change its SSO configuration?”
“Do I need to resend all SSO settings when updating an organization?”
Tell an agent
Rename organization {id} to {name}.
Update the SSO settings of organization {id} to name {name} and SSO domain {sso_domain}.
DELETE /api/organizations/{id} Delete an organization · Delete Organization #
Ask an LLM
“How do I delete an organization?”
“Can I delete my own partner owner organization?”
Tell an agent destructive · confirm first
Delete organization {id}.
Remove the organization with ID {id} from my partner account.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/polytomic:polytomic-subpackage-organization-api"
All apis
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.

Get an API 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 Specification

polytomic-subpackage-organization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference Subpackage Organization API
  version: 1.0.0
servers:
- url: https://app.polytomic.com
tags:
- name: subpackage_organization
paths:
  /api/organization:
    get:
      operationId: get-current
      summary: Get Current Organization
      description: 'Returns the organization the caller is authenticated against.


        This endpoint is the safest way to discover the effective organization for a

        user-scoped or organization-scoped credential. It does not let callers inspect

        arbitrary organizations; it only returns the organization implied by the

        credential that authenticated the request.


        If you need to enumerate or look up organizations across a partner account, use

        `GET /api/organizations` or

        `GET /api/organizations/{id}` instead.'
      tags:
      - subpackage_organization
      parameters:
      - name: Authorization
        in: header
        description: Bearer user API key
        required: true
        schema:
          type: string
      - name: X-Polytomic-Version
        in: header
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationEnvelope'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/organizations:
    get:
      operationId: list
      summary: Get Organizations
      description: 'Lists every organization accessible to the calling partner, with the partner''s owner organization first.


        In `2025-09-18`, this endpoint is partner-scoped rather than a general

        "current caller visibility" listing. The partner owner organization is returned

        first, followed by child organizations.


        This ordering matters for partner workflows such as shared connections, where

        the parent connection must live in the partner owner organization.


        If you need only the organization implied by the current credential, use

        `GET /api/organization` instead.'
      tags:
      - subpackage_organization
      parameters:
      - name: Authorization
        in: header
        description: Bearer partner API key
        required: true
        schema:
          type: string
      - name: X-Polytomic-Version
        in: header
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationsEnvelope'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    post:
      operationId: create
      summary: Create Organization
      description: 'Creates a new organization under the calling partner account, optionally configuring SSO or OIDC at creation time.


        > 🚧 Requires partner key

        >

        > This endpoint is only accessible using partner keys.


        SSO and OIDC settings supplied at creation time can be updated later via

        `PUT /api/organizations/{id}`.'
      tags:
      - subpackage_organization
      parameters:
      - name: Authorization
        in: header
        description: Bearer partner API key
        required: true
        schema:
          type: string
      - name: X-Polytomic-Version
        in: header
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationEnvelope'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOrganizationRequestSchema'
  /api/organizations/{id}:
    get:
      operationId: get
      summary: Get Organization
      description: 'Returns a single organization by ID.


        > 📘 Credential scope varies by endpoint and API version

        >

        > Organization endpoints do not all share the same credential requirements.

        > Check each endpoint''s description for the caller scope that applies in that

        > API version.'
      tags:
      - subpackage_organization
      parameters:
      - name: id
        in: path
        description: Unique identifier of the organization.
        required: true
        schema:
          type: string
          format: uuid
      - name: Authorization
        in: header
        description: Bearer partner API key
        required: true
        schema:
          type: string
      - name: X-Polytomic-Version
        in: header
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationEnvelope'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
    put:
      operationId: update
      summary: Update Organization
      description: 'Updates an organization''s name and SSO or OIDC configuration.


        > 🚧 Requires partner key

        >

        > This endpoint is only accessible using partner keys.


        > 📘 SSO and OIDC configuration is replaced in full on each update. Include all

        > desired settings in the request body, not just the fields you want to change.'
      tags:
      - subpackage_organization
      parameters:
      - name: id
        in: path
        description: Unique identifier of the organization to update.
        required: true
        schema:
          type: string
          format: uuid
      - name: Authorization
        in: header
        description: Bearer partner API key
        required: true
        schema:
          type: string
      - name: X-Polytomic-Version
        in: header
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationEnvelope'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOrganizationRequestSchema'
    delete:
      operationId: delete
      summary: Delete Organization
      description: 'Deletes an organization.


        Partner callers cannot delete their own owner organization.'
      tags:
      - subpackage_organization
      parameters:
      - name: id
        in: path
        description: Unique identifier of the organization.
        required: true
        schema:
          type: string
          format: uuid
      - name: Authorization
        in: header
        description: Bearer partner API key
        required: true
        schema:
          type: string
      - name: X-Polytomic-Version
        in: header
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Successful response
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    Organization:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier of the organization.
        issuer:
          type: string
          description: OIDC issuer URL for organizations using OpenID Connect single sign-on.
        name:
          type: string
          description: Human-readable name of the organization.
        sso_domain:
          type: string
          description: Email domain used to match users to this organization during SSO sign-in.
        sso_org_id:
          type: string
          description: WorkOS organization identifier linking this organization to its SAML/SSO configuration.
      title: Organization
    CreateOrganizationRequestSchema:
      type: object
      properties:
        client_id:
          type: string
          description: OIDC client ID issued by the identity provider.
        client_secret:
          type: string
          description: OIDC client secret issued by the identity provider. Write-only; never returned in responses.
        issuer:
          type: string
          description: OIDC issuer URL for organizations using OpenID Connect single sign-on.
        name:
          type: string
          description: Human-readable name of the organization. Must be unique across the partner account.
        sso_domain:
          type: string
          description: Email domain used to match users to this organization during SSO sign-in.
        sso_org_id:
          type: string
          description: WorkOS organization identifier linking this organization to its SAML/SSO configuration.
      required:
      - name
      title: CreateOrganizationRequestSchema
    OrganizationEnvelope:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/Organization'
      title: OrganizationEnvelope
    UpdateOrganizationRequestSchema:
      type: object
      properties:
        client_id:
          type: string
          description: OIDC client ID issued by the identity provider.
        client_secret:
          type: string
          description: OIDC client secret issued by the identity provider. Write-only; never returned in responses.
        issuer:
          type: string
          description: OIDC issuer URL for organizations using OpenID Connect single sign-on.
        name:
          type: string
          description: Human-readable name of the organization. Must be unique across the partner account.
        sso_domain:
          type: string
          description: Email domain used to match users to this organization during SSO sign-in.
        sso_org_id:
          type: string
          description: WorkOS organization identifier linking this organization to its SAML/SSO configuration.
      required:
      - name
      title: UpdateOrganizationRequestSchema
    ApiError:
      type: object
      properties:
        key:
          type: string
        message:
          type: string
        metadata:
          type: object
          additionalProperties:
            description: Any type
        status:
          type: integer
      title: ApiError
    OrganizationsEnvelope:
      type: object
      properties:
        data:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Organization'
      title: OrganizationsEnvelope
  securitySchemes:
    bearerUserAPIKey:
      type: http
      scheme: bearer
      description: Bearer user API key
    orgScopedAPIKey:
      type: http
      scheme: basic
      description: Basic organization-scoped API key
    bearerPartnerKey:
      type: http
      scheme: bearer
      description: Bearer partner API key