Teardrop Admin / Identity API

The Admin / Identity API from Teardrop — 3 operation(s) for admin / identity.

GitHub OpenAPI

Operations 3

POST /admin/orgs Admin Create Org #
POST /admin/users Admin Create User #
POST /admin/client-credentials Admin Create Client Credentials #

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/teardrop-dev:teardrop-dev-admin-identity-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

teardrop-dev-admin-identity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Teardrop Admin / Identity API
  description: The open API and billing gateway for autonomous economic agents
  version: 2.13.0
tags:
- name: Admin / Identity
paths:
  /admin/orgs:
    post:
      tags:
      - Admin / Identity
      summary: Admin Create Org
      description: Create a new organisation (admin only).
      operationId: admin_create_org_admin_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/CreateOrgResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /admin/users:
    post:
      tags:
      - Admin / Identity
      summary: Admin Create User
      description: Create a new user within an org (admin only).
      operationId: admin_create_user_admin_users_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateUserRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateUserResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /admin/client-credentials:
    post:
      tags:
      - Admin / Identity
      summary: Admin Create Client Credentials
      description: 'Create org-scoped M2M client credentials (admin only).


        The client_secret is returned exactly once — store it immediately.'
      operationId: admin_create_client_credentials_admin_client_credentials_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateClientCredentialsRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateClientCredentialsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
components:
  schemas:
    CreateUserRequest:
      properties:
        email:
          type: string
          maxLength: 320
          minLength: 3
          title: Email
        secret:
          type: string
          maxLength: 128
          minLength: 8
          title: Secret
        org_id:
          type: string
          title: Org Id
        role:
          type: string
          title: Role
          default: user
      type: object
      required:
      - email
      - secret
      - org_id
      title: CreateUserRequest
    CreateOrgRequest:
      properties:
        name:
          type: string
          maxLength: 200
          minLength: 1
          title: Name
      type: object
      required:
      - name
      title: CreateOrgRequest
    CreateClientCredentialsRequest:
      properties:
        org_id:
          type: string
          title: Org Id
        scope:
          type: string
          enum:
          - read
          - publish
          - withdraw
          title: Scope
          default: publish
      type: object
      required:
      - org_id
      title: CreateClientCredentialsRequest
    CreateUserResponse:
      properties:
        id:
          type: string
          title: Id
        email:
          type: string
          title: Email
        org_id:
          type: string
          title: Org Id
        role:
          type: string
          title: Role
      type: object
      required:
      - id
      - email
      - org_id
      - role
      title: CreateUserResponse
    CreateOrgResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
      type: object
      required:
      - id
      - name
      title: CreateOrgResponse
    CreateClientCredentialsResponse:
      properties:
        client_id:
          type: string
          title: Client Id
        client_secret:
          type: string
          title: Client Secret
          description: Plaintext secret — shown once, only its hash is persisted.
        org_id:
          type: string
          title: Org Id
        scope:
          type: string
          title: Scope
          description: 'Granted scope: read, publish, or withdraw.'
        created_at:
          type: string
          title: Created At
          description: ISO 8601 timestamp.
      type: object
      required:
      - client_id
      - client_secret
      - org_id
      - scope
      - created_at
      title: CreateClientCredentialsResponse
    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
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer