Yivi Organizations API

The Organizations API from Yivi — 11 operation(s) for organizations.

GitHub OpenAPI

Operations 13

GET /v1/organizations/ V1 organizations list #
POST /v1/organizations/create/ V1 organizations create create #
GET /v1/organizations/{org_slug}/ V1 organizations read #
GET /v1/organizations/{org_slug}/maintainers/ V1 organizations maintainers list #
POST /v1/organizations/{org_slug}/maintainers/ V1 organizations maintainers create #
DELETE /v1/organizations/{org_slug}/maintainers/{maintainer_id}/ V1 organizations maintainers delete #
PATCH /v1/organizations/{org_slug}/update/ V1 organizations update partial update #
GET /v1/organizations/{org_slug}/usage-keys/ V1 organizations usage keys list #
POST /v1/organizations/{org_slug}/usage-keys/ V1 organizations usage keys create #
DELETE /v1/organizations/{org_slug}/usage-keys/{key_id}/ V1 organizations usage keys delete #
GET /v1/organizations/{org_slug}/usage/ V1 organizations usage list #
GET /v1/organizations/{org_slug}/usage/monthly/ V1 organizations usage monthly list #
GET /v1/organizations/{org_slug}/usage/monthly/csv/ V1 organizations usage monthly csv list #

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/yivi:yivi-organizations-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

yivi-organizations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Yivi Organizations API
  version: v1
  description: 'Operations tagged Organizations across 2 of this provider''s published API definitions: yivi-swagger.json, yivi-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.yivi.app/
- url: https://api.yivi.app
security:
- Basic: []
tags:
- name: Organizations
paths:
  /v1/organizations/:
    parameters: []
    get:
      operationId: v1_organizations_list
      description: Get all registered organizations
      responses:
        '200':
          description: Success
        '404':
          description: Not Found
      tags:
      - Organizations
      summary: V1 organizations list
      x-summary-source: derived
    servers:
    - url: https://api.yivi.app/
  /v1/organizations/create/:
    parameters: []
    post:
      operationId: v1_organizations_create_create
      description: Creates an organization.
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
        '500':
          description: Internal Server Error
        '403':
          description: Forbidden
      tags:
      - Organizations
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                name_en:
                  type: string
                  maxLength: 255
                  minLength: 1
                name_nl:
                  type: string
                  maxLength: 255
                  minLength: 1
                slug:
                  type: string
                  format: slug
                  maxLength: 50
                  minLength: 1
                  pattern: ^[-a-zA-Z0-9_]+$
                logo:
                  type: string
                  format: binary
                contact_number:
                  type: string
                  minLength: 1
                contact_email:
                  type: string
                  format: email
                  minLength: 1
                country:
                  type: string
                  minLength: 1
                house_number:
                  type: string
                  minLength: 1
                street:
                  type: string
                  minLength: 1
                postal_code:
                  type: string
                  minLength: 1
                city:
                  type: string
                  minLength: 1
              required:
              - name_en
              - name_nl
              - slug
              - logo
              - contact_number
              - contact_email
              - country
              - house_number
              - street
              - postal_code
              - city
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                name_en:
                  type: string
                  maxLength: 255
                  minLength: 1
                name_nl:
                  type: string
                  maxLength: 255
                  minLength: 1
                slug:
                  type: string
                  format: slug
                  maxLength: 50
                  minLength: 1
                  pattern: ^[-a-zA-Z0-9_]+$
                logo:
                  type: string
                  format: binary
                contact_number:
                  type: string
                  minLength: 1
                contact_email:
                  type: string
                  format: email
                  minLength: 1
                country:
                  type: string
                  minLength: 1
                house_number:
                  type: string
                  minLength: 1
                street:
                  type: string
                  minLength: 1
                postal_code:
                  type: string
                  minLength: 1
                city:
                  type: string
                  minLength: 1
              required:
              - name_en
              - name_nl
              - slug
              - logo
              - contact_number
              - contact_email
              - country
              - house_number
              - street
              - postal_code
              - city
      summary: V1 organizations create create
      x-summary-source: derived
    servers:
    - url: https://api.yivi.app/
  /v1/organizations/{org_slug}/:
    parameters:
    - name: org_slug
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: v1_organizations_read
      description: Get organization by uuid
      responses:
        '200':
          description: Success
        '404':
          description: Not Found
      tags:
      - Organizations
      summary: V1 organizations read
      x-summary-source: derived
    servers:
    - url: https://api.yivi.app/
  /v1/organizations/{org_slug}/maintainers/:
    parameters:
    - name: org_slug
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: v1_organizations_maintainers_list
      description: Get all maintainers for an organization
      responses:
        '200':
          description: Success
      tags:
      - Organizations
      summary: V1 organizations maintainers list
      x-summary-source: derived
    post:
      operationId: v1_organizations_maintainers_create
      description: Add a maintainer to an organization
      responses:
        '201':
          description: Created
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Organization not found
      tags:
      - Organizations
      requestBody:
        content:
          application/json:
            schema:
              required:
              - email
              type: object
              properties:
                email:
                  type: string
                  format: email
        required: true
      summary: V1 organizations maintainers create
      x-summary-source: derived
    servers:
    - url: https://api.yivi.app/
  /v1/organizations/{org_slug}/maintainers/{maintainer_id}/:
    parameters:
    - name: org_slug
      in: path
      required: true
      schema:
        type: string
    - name: maintainer_id
      in: path
      required: true
      schema:
        type: string
    delete:
      operationId: v1_organizations_maintainers_delete
      description: Remove a maintainer from an organization
      responses:
        '200':
          description: Success
        '400':
          description: Bad Request
        '403':
          description: Forbidden
        '404':
          description: Organization not found / Maintainer not found
      tags:
      - Organizations
      requestBody:
        content:
          application/json:
            schema:
              type: object
        required: true
      summary: V1 organizations maintainers delete
      x-summary-source: derived
    servers:
    - url: https://api.yivi.app/
  /v1/organizations/{org_slug}/update/:
    parameters:
    - name: org_slug
      in: path
      required: true
      schema:
        type: string
    patch:
      operationId: v1_organizations_update_partial_update
      description: Updates an organization, given the uuid.
      responses:
        '200':
          description: Success
        '400':
          description: Bad Request
        '404':
          description: Organization not found
        '403':
          description: Forbidden
        '500':
          description: Internal Server Error
      tags:
      - Organizations
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                name_en:
                  type: string
                  maxLength: 255
                  minLength: 1
                name_nl:
                  type: string
                  maxLength: 255
                  minLength: 1
                slug:
                  type: string
                  format: slug
                  maxLength: 50
                  minLength: 1
                  pattern: ^[-a-zA-Z0-9_]+$
                logo:
                  type: string
                  format: binary
                contact_number:
                  type: string
                  minLength: 1
                contact_email:
                  type: string
                  format: email
                  minLength: 1
                country:
                  type: string
                  minLength: 1
                house_number:
                  type: string
                  minLength: 1
                street:
                  type: string
                  minLength: 1
                postal_code:
                  type: string
                  minLength: 1
                city:
                  type: string
                  minLength: 1
              required:
              - name_en
              - name_nl
              - slug
              - logo
              - contact_number
              - contact_email
              - country
              - house_number
              - street
              - postal_code
              - city
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                name_en:
                  type: string
                  maxLength: 255
                  minLength: 1
                name_nl:
                  type: string
                  maxLength: 255
                  minLength: 1
                slug:
                  type: string
                  format: slug
                  maxLength: 50
                  minLength: 1
                  pattern: ^[-a-zA-Z0-9_]+$
                logo:
                  type: string
                  format: binary
                contact_number:
                  type: string
                  minLength: 1
                contact_email:
                  type: string
                  format: email
                  minLength: 1
                country:
                  type: string
                  minLength: 1
                house_number:
                  type: string
                  minLength: 1
                street:
                  type: string
                  minLength: 1
                postal_code:
                  type: string
                  minLength: 1
                city:
                  type: string
                  minLength: 1
              required:
              - name_en
              - name_nl
              - slug
              - logo
              - contact_number
              - contact_email
              - country
              - house_number
              - street
              - postal_code
              - city
      summary: V1 organizations update partial update
      x-summary-source: derived
    servers:
    - url: https://api.yivi.app/
  /v1/organizations/{org_slug}/usage-keys/:
    parameters:
    - name: org_slug
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: v1_organizations_usage-keys_list
      description: Lists the usage reporting keys of an organization.
      responses:
        '200':
          description: ''
      tags:
      - Organizations
      summary: V1 organizations usage keys list
      x-summary-source: derived
    post:
      operationId: v1_organizations_usage-keys_create
      description: Registers the public key a Yivi server prints with `yivi irma server usage keygen`.
      responses:
        '201':
          description: ''
      tags:
      - Organizations
      summary: V1 organizations usage keys create
      x-summary-source: derived
    servers:
    - url: https://api.yivi.app/
  /v1/organizations/{org_slug}/usage-keys/{key_id}/:
    parameters:
    - name: org_slug
      in: path
      required: true
      schema:
        type: string
    - name: key_id
      in: path
      required: true
      schema:
        type: string
    delete:
      operationId: v1_organizations_usage-keys_delete
      description: 'Deactivates a key, e.g. when it was lost or compromised. Reports it already sent

        are kept.'
      responses:
        '204':
          description: ''
      tags:
      - Organizations
      summary: V1 organizations usage keys delete
      x-summary-source: derived
    servers:
    - url: https://api.yivi.app/
  /v1/organizations/{org_slug}/usage/:
    parameters:
    - name: org_slug
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: v1_organizations_usage_list
      description: 'Usage per day, requestor, credential type and outcome, summed over all reports of

        the organization''s servers. Optional `from` and `to` (YYYY-MM-DD) bound the days.'
      responses:
        '200':
          description: ''
      tags:
      - Organizations
      summary: V1 organizations usage list
      x-summary-source: derived
    servers:
    - url: https://api.yivi.app/
  /v1/organizations/{org_slug}/usage/monthly/:
    parameters:
    - name: org_slug
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: v1_organizations_usage_monthly_list
      description: 'Usage of one month per requestor and credential type, for invoicing, with the gaps

        in the reports. Query: `month` (YYYY-MM), and optionally `action` and `outcome`, each

        repeatable; they default to completed (`done`) `disclosing` and `signing` sessions.'
      responses:
        '200':
          description: ''
      tags:
      - Organizations
      summary: V1 organizations usage monthly list
      x-summary-source: derived
    servers:
    - url: https://api.yivi.app/
  /v1/organizations/{org_slug}/usage/monthly/csv/:
    parameters:
    - name: org_slug
      in: path
      required: true
      schema:
        type: string
    get:
      operationId: v1_organizations_usage_monthly_csv_list
      description: 'The monthly usage as CSV, one row per count. A `sessions` row counts sessions; a

        `credentials` row counts the sessions that disclosed one credential type. `complete` is

        false when the month''s reports have gaps; the gaps follow as `gap` rows.'
      responses:
        '200':
          description: ''
      tags:
      - Organizations
      summary: V1 organizations usage monthly csv list
      x-summary-source: derived
    servers:
    - url: https://api.yivi.app/
components:
  requestBodies:
    v1_organizations_create_create:
      content:
        multipart/form-data:
          schema:
            type: object
            properties:
              name_en:
                type: string
                minLength: 1
                maxLength: 255
              name_nl:
                type: string
                minLength: 1
                maxLength: 255
              slug:
                type: string
                format: slug
                minLength: 1
                maxLength: 50
                pattern: ^[-a-zA-Z0-9_]+$
              logo:
                type: string
                format: binary
              contact_number:
                type: string
                minLength: 1
              contact_email:
                type: string
                format: email
                minLength: 1
              country:
                type: string
                minLength: 1
              house_number:
                type: string
                minLength: 1
              street:
                type: string
                minLength: 1
              postal_code:
                type: string
                minLength: 1
              city:
                type: string
                minLength: 1
            required:
            - name_en
            - name_nl
            - slug
            - logo
            - contact_number
            - contact_email
            - country
            - house_number
            - street
            - postal_code
            - city
      required: true
  securitySchemes:
    Basic:
      type: http
      scheme: basic
x-refined-from:
- yivi-swagger.json
- yivi-openapi.yml