> ## Documentation Index
> Fetch the complete documentation index at: https://docs.timbal.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create SCIM Token

> Create a SCIM bearer token for the organization.



## OpenAPI

````yaml POST /orgs/{org_id}/scim-tokens
openapi: 3.1.0
info:
  title: Timbal Platform API
  description: Public API documentation for the Timbal platform
  license:
    name: ''
  version: 2.0.0
servers:
  - url: https://api.timbal.ai
    description: Production
  - url: https://api.dev.timbal.ai
    description: Development
security: []
tags:
  - name: ace
    description: Action Control Engine (ACE) operations
  - name: analytics
    description: Project analytics
  - name: billing
    description: Subscriptions, usage, and payment-related operations
  - name: content
    description: Re-sign stored content URLs
  - name: files
    description: File operations
  - name: iam
    description: IAM — actions, roles, users, and authorization introspection
  - name: k2
    description: Knowledge Bases v2 operations
  - name: orgs
    description: Organization operations
  - name: projects
    description: Project operations
  - name: runs
    description: Execution operations
  - name: templates
    description: Public project template catalog
  - name: users
    description: Authenticated user profile
paths:
  /orgs/{org_id}/scim-tokens:
    post:
      tags:
        - orgs
      description: Create a SCIM bearer token for the organization.
      operationId: handler
      parameters:
        - name: org_id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateScimTokenReqBody'
        required: true
      responses:
        '201':
          description: Token created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateScimTokenResBody'
      security:
        - bearer_auth: []
components:
  schemas:
    CreateScimTokenReqBody:
      type: object
      description: Create a SCIM token for an org.
      properties:
        label:
          type:
            - string
            - 'null'
          description: Human label for the admin UI (e.g. "Entra prod").
        provider_id:
          type:
            - integer
            - 'null'
          format: int64
          description: |-
            Optional IdP connection to bind this token to. When set, SCIM group
            pushes resolve roles through that connection's group→role mappings;
            when omitted the token does membership-only SCIM (auto add/remove).
    CreateScimTokenResBody:
      allOf:
        - $ref: '#/components/schemas/ScimTokenView'
        - type: object
          required:
            - token
            - base_url
          properties:
            base_url:
              type: string
              description: >-
                The base URL the IdP should target, e.g.
                `https://api.timbal.ai/scim/v2`.
            token:
              type: string
              description: >-
                The bearer token to paste into the IdP's SCIM config. Shown
                once.
      description: |-
        Create response: the only time the plaintext token is ever returned. The
        caller (IdP admin) must copy `token` now — it can't be retrieved later.
    ScimTokenView:
      type: object
      description: Masked view of a SCIM token. Never includes the secret.
      required:
        - id
        - org_id
        - enabled
        - created_at
        - updated_at
      properties:
        created_at:
          type: integer
          format: int64
        enabled:
          type: boolean
        id:
          type: string
        label:
          type:
            - string
            - 'null'
        last_used_at:
          type:
            - integer
            - 'null'
          format: int64
        org_id:
          type: string
        provider_id:
          type:
            - string
            - 'null'
        updated_at:
          type: integer
          format: int64
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      description: >-
        Timbal API key. Obtain your API key from the Timbal platform settings.
        See [Authentication](/api-reference/authentication) for more
        information.

````