Bitwarden Organization API

The Organization API from Bitwarden — 1 operation(s) for organization.

Operations 1

POST /public/organization/import Import members and groups.

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/bitwarden-organization-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bitwarden-organization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bitwarden Public Collections Organization API
  description: The Bitwarden public APIs.
  contact:
    name: Bitwarden Support
    url: https://bitwarden.com
    email: support@bitwarden.com
  license:
    name: GNU Affero General Public License v3.0
    url: https://github.com/bitwarden/server/blob/master/LICENSE.txt
  version: latest
servers:
- url: https://api.bitwarden.com
security:
- OAuth2 Client Credentials:
  - api.organization
tags:
- name: Organization
paths:
  /public/organization/import:
    post:
      tags:
      - Organization
      summary: Import members and groups.
      description: Import members and groups from an external system.
      requestBody:
        description: The request model.
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/OrganizationImportRequestModel'
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationImportRequestModel'
          text/json:
            schema:
              $ref: '#/components/schemas/OrganizationImportRequestModel'
          application/*+json:
            schema:
              $ref: '#/components/schemas/OrganizationImportRequestModel'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/MemberResponseModel'
            application/json:
              schema:
                $ref: '#/components/schemas/MemberResponseModel'
            text/json:
              schema:
                $ref: '#/components/schemas/MemberResponseModel'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseModel'
components:
  schemas:
    OrganizationUserType:
      enum:
      - 0
      - 1
      - 2
      - 3
      type: integer
      format: int32
    OrganizationUserStatusType:
      enum:
      - 0
      - 1
      - 2
      type: integer
      format: int32
    OrganizationImportRequestModel:
      required:
      - overwriteExisting
      type: object
      properties:
        groups:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/OrganizationImportGroupRequestModel'
          description: Groups to import.
        members:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/OrganizationImportMemberRequestModel'
          description: Members to import.
        overwriteExisting:
          type: boolean
          description: Determines if the data in this request should overwrite or append to the existing organization data.
      additionalProperties: false
    ErrorResponseModel:
      required:
      - message
      - object
      type: object
      properties:
        object:
          type: string
          description: String representing the object's type. Objects of the same type share the same properties.
          readOnly: true
          example: error
        message:
          type: string
          description: A human-readable message providing details about the error.
          example: The request model is invalid.
        errors:
          type:
          - object
          - 'null'
          additionalProperties:
            type: array
            items:
              type: string
          description: 'If multiple errors occurred, they are listed in dictionary. Errors related to a specific

            request parameter will include a dictionary key describing that parameter.'
      additionalProperties: false
    AssociationWithPermissionsResponseModel:
      required:
      - id
      - readOnly
      type: object
      properties:
        id:
          type: string
          description: The associated object's unique identifier.
          format: uuid
          example: bfbc8338-e329-4dc0-b0c9-317c2ebf1a09
        readOnly:
          type: boolean
          description: When true, the read only permission will not allow the user or group to make changes to items.
      additionalProperties: false
    MemberResponseModel:
      required:
      - accessAll
      - email
      - id
      - object
      - status
      - twoFactorEnabled
      - type
      - userId
      type: object
      properties:
        object:
          type: string
          description: String representing the object's type. Objects of the same type share the same properties.
          readOnly: true
          example: member
        id:
          type: string
          description: The member's unique identifier within the organization.
          format: uuid
          example: 539a36c5-e0d2-4cf9-979e-51ecf5cf6593
        userId:
          type: string
          description: The member's unique identifier across Bitwarden.
          format: uuid
          example: 48b47ee1-493e-4c67-aef7-014996c40eca
        name:
          type:
          - string
          - 'null'
          description: The member's name, set from their user account profile.
          example: John Smith
        email:
          type: string
          description: The member's email address.
          example: jsmith@example.com
        twoFactorEnabled:
          type: boolean
          description: Returns {true} if the member has a two-step login method enabled on their user account.
        status:
          allOf:
          - $ref: '#/components/schemas/OrganizationUserStatusType'
          description: 'The member''s status within the organization. All created members start with a status of "Invited".

            Once a member accept''s their invitation to join the organization, their status changes to "Accepted".

            Accepted members are then "Confirmed" by an organization administrator. Once a member is "Confirmed",

            their status can no longer change.'
        collections:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/AssociationWithPermissionsResponseModel'
          description: The associated collections that this member can access.
        type:
          allOf:
          - $ref: '#/components/schemas/OrganizationUserType'
          description: The member's type (or role) within the organization.
        accessAll:
          type: boolean
          description: 'Determines if this member can access all collections within the organization, or only the associated

            collections. If set to {true}, this option overrides any collection assignments.'
        externalId:
          maxLength: 300
          minLength: 0
          type:
          - string
          - 'null'
          description: External identifier for reference or linking this member to another system, such as a user directory.
          example: external_id_123456
      additionalProperties: false
      description: An organization member.
    OrganizationImportMemberRequestModel:
      required:
      - externalId
      type: object
      properties:
        email:
          maxLength: 50
          minLength: 0
          type:
          - string
          - 'null'
          description: The member's email address. Required for non-deleted users.
          format: email
          example: jsmith@example.com
        externalId:
          maxLength: 300
          minLength: 0
          type: string
          description: External identifier for reference or linking this member to another system, such as a user directory.
          example: external_id_123456
        deleted:
          type: boolean
          description: Determines if this member should be removed from the organization during import.
      additionalProperties: false
    OrganizationImportGroupRequestModel:
      required:
      - externalId
      - name
      type: object
      properties:
        name:
          maxLength: 100
          minLength: 0
          type: string
          description: The name of the group.
          example: Development Team
        externalId:
          maxLength: 300
          minLength: 0
          type: string
          description: External identifier for reference or linking this group to another system, such as a user directory.
          example: external_id_123456
        memberExternalIds:
          type:
          - array
          - 'null'
          items:
            type: string
          description: The associated external ids for members in this group.
      additionalProperties: false
  securitySchemes:
    OAuth2_Client_Credentials:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://identity.bitwarden.com/connect/token
          scopes:
            api.organization: Organization APIs