Scalekit Users & Memberships API

Organization user membership lifecycle and invitations.

Operations 4

POST /api/v1/memberships/organizations/{organization_id}/users/{id} Add a user to an organization #
PATCH /api/v1/memberships/organizations/{organization_id}/users/{id} Update a membership #
DELETE /api/v1/memberships/organizations/{organization_id}/users/{id} Remove a user from an organization #
PATCH /api/v1/invites/organizations/{organization_id}/users/{id}/resend Resend a user invitation #

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/scalekit-users-memberships-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

scalekit-users-memberships-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Scalekit Admin Portal Users & Memberships API
  description: Scalekit is the authentication platform for B2B SaaS and AI agents. The REST API provides programmatic access to enterprise Single Sign-On (SAML / OIDC connections), SCIM directory provisioning, organizations, users and memberships, organization roles, machine-to-machine (M2M) authentication, and agent / MCP connected accounts and tool execution. The API base URL is per-environment; access tokens are obtained via the OAuth 2.0 client credentials grant and passed as Bearer tokens.
  termsOfService: https://www.scalekit.com/legal/terms-of-service
  contact:
    name: Scalekit Support
    url: https://www.scalekit.com
    email: support@scalekit.com
  version: '1.0'
servers:
- url: https://{environment}.scalekit.com
  description: Production environment (per-tenant subdomain)
  variables:
    environment:
      default: your-subdomain
      description: Your Scalekit environment subdomain.
- url: https://{environment}.scalekit.dev
  description: Development environment (per-tenant subdomain)
  variables:
    environment:
      default: your-subdomain
      description: Your Scalekit development environment subdomain.
security:
- bearerAuth: []
tags:
- name: Users & Memberships
  description: Organization user membership lifecycle and invitations.
paths:
  /api/v1/memberships/organizations/{organization_id}/users/{id}:
    parameters:
    - $ref: '#/components/parameters/OrganizationIdPath'
    - $ref: '#/components/parameters/UserId'
    post:
      operationId: addMembership
      tags:
      - Users & Memberships
      summary: Add a user to an organization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MembershipRequest'
      responses:
        '201':
          description: User added to organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Membership'
        '404':
          $ref: '#/components/responses/NotFound'
    patch:
      operationId: updateMembership
      tags:
      - Users & Memberships
      summary: Update a membership
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MembershipRequest'
      responses:
        '200':
          description: Membership updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Membership'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      operationId: removeMembership
      tags:
      - Users & Memberships
      summary: Remove a user from an organization
      responses:
        '204':
          description: User removed.
        '404':
          $ref: '#/components/responses/NotFound'
  /api/v1/invites/organizations/{organization_id}/users/{id}/resend:
    parameters:
    - $ref: '#/components/parameters/OrganizationIdPath'
    - $ref: '#/components/parameters/UserId'
    patch:
      operationId: resendInvite
      tags:
      - Users & Memberships
      summary: Resend a user invitation
      responses:
        '200':
          description: Invitation resent.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Membership'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        details:
          type: array
          items:
            type: object
    Membership:
      type: object
      properties:
        user_id:
          type: string
        organization_id:
          type: string
        roles:
          type: array
          items:
            type: string
        membership_status:
          type: string
          enum:
          - PENDING_INVITE
          - ACTIVE
    MembershipRequest:
      type: object
      properties:
        roles:
          type: array
          items:
            type: string
        metadata:
          type: object
          additionalProperties:
            type: string
  parameters:
    OrganizationIdPath:
      name: organization_id
      in: path
      required: true
      description: Organization identifier.
      schema:
        type: string
    UserId:
      name: id
      in: path
      required: true
      description: User identifier.
      schema:
        type: string
  responses:
    NotFound:
      description: The requested resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: OAuth 2.0 client-credentials access token passed as a Bearer token.
    oauth2ClientCredentials:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://{environment}.scalekit.com/oauth/token
          scopes: {}