Space Invoices Account Organization API

The AccountOrganization API from Space Invoices — 7 operation(s) for accountorganization.

GitHub OpenAPI

Operations 7

DELETE /v1/AccountOrganizations/{id} Delete a model instance by {{id}} from the data source #
POST /v1/AccountOrganizations/{id}/accept Confirm invitation to join organization #
POST /v1/AccountOrganizations/{id}/reject Deny invitation to join organization #
POST /v1/AccountOrganizations/{id}/enable Enable users access to organization #
POST /v1/AccountOrganizations/{id}/disable Disable users access to organization #
POST /v1/AccountOrganizations/{id}/change-role Account organization prototype change role #
POST /v1/AccountOrganizations/{id}/operator-data Account organization prototype update operator data #

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/spaceinvoices-com:spaceinvoices-com-accountorganization-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

spaceinvoices-com-accountorganization-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: space-invoices-api Account Organization API
  version: 2.0.0
  description: ''
  contact:
    name: Space Invoices Inc
servers:
- url: https://api.spaceinvoices.com
security:
- accessTokenHeader: []
  accessTokenQuery: []
tags:
- name: AccountOrganization
paths:
  /v1/AccountOrganizations/{id}:
    delete:
      tags:
      - AccountOrganization
      summary: Delete a model instance by {{id}} from the data source
      operationId: AccountOrganization.deleteById
      parameters:
      - name: id
        in: path
        description: Model id
        required: true
        schema:
          type: string
          format: JSON
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                type: object
            application/xml:
              schema:
                type: object
            text/xml:
              schema:
                type: object
            application/javascript:
              schema:
                type: object
            text/javascript:
              schema:
                type: object
      deprecated: false
  /v1/AccountOrganizations/{id}/accept:
    post:
      tags:
      - AccountOrganization
      summary: Confirm invitation to join organization
      operationId: AccountOrganization.prototype.accept
      parameters:
      - name: id
        in: path
        description: AccountOrganization id
        required: true
        schema:
          type: string
          format: JSON
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            application/xml:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            text/xml:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            application/javascript:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            text/javascript:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
      deprecated: false
  /v1/AccountOrganizations/{id}/reject:
    post:
      tags:
      - AccountOrganization
      summary: Deny invitation to join organization
      operationId: AccountOrganization.prototype.reject
      parameters:
      - name: id
        in: path
        description: AccountOrganization id
        required: true
        schema:
          type: string
          format: JSON
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            application/xml:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            text/xml:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            application/javascript:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            text/javascript:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
      deprecated: false
  /v1/AccountOrganizations/{id}/enable:
    post:
      tags:
      - AccountOrganization
      summary: Enable users access to organization
      operationId: AccountOrganization.prototype.enable
      parameters:
      - name: id
        in: path
        description: AccountOrganization id
        required: true
        schema:
          type: string
          format: JSON
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            application/xml:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            text/xml:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            application/javascript:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            text/javascript:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
      deprecated: false
  /v1/AccountOrganizations/{id}/disable:
    post:
      tags:
      - AccountOrganization
      summary: Disable users access to organization
      operationId: AccountOrganization.prototype.disable
      parameters:
      - name: id
        in: path
        description: AccountOrganization id
        required: true
        schema:
          type: string
          format: JSON
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            application/xml:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            text/xml:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            application/javascript:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            text/javascript:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
      deprecated: false
  /v1/AccountOrganizations/{id}/change-role:
    post:
      tags:
      - AccountOrganization
      operationId: AccountOrganization.prototype.changeRole
      parameters:
      - name: id
        in: path
        description: AccountOrganization id
        required: true
        schema:
          type: string
          format: JSON
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                role:
                  description: Role of invitee, one of 'default', 'readonly' and 'admin'. Defaults to 'default'.
                  type: string
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            application/xml:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            text/xml:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            application/javascript:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            text/javascript:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
      deprecated: false
      summary: Account organization prototype change role
      x-summary-source: derived
  /v1/AccountOrganizations/{id}/operator-data:
    post:
      tags:
      - AccountOrganization
      operationId: AccountOrganization.prototype.updateOperatorData
      parameters:
      - name: id
        in: path
        description: AccountOrganization id
        required: true
        schema:
          type: string
          format: JSON
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountOrganization'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/AccountOrganization'
          application/xml:
            schema:
              $ref: '#/components/schemas/AccountOrganization'
          text/xml:
            schema:
              $ref: '#/components/schemas/AccountOrganization'
        description: Operator data body. Accepts either {operatorLabel, operatorTaxNumber} or {data:{operatorLabel, operatorTaxNumber}}.
      responses:
        '200':
          description: Request was successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            application/xml:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            text/xml:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            application/javascript:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
            text/javascript:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
      deprecated: false
      summary: Account organization prototype update operator data
      x-summary-source: derived
components:
  schemas:
    ObjectID:
      type: string
      pattern: ^[a-fA-F\d]{24}$
    AccountOrganization:
      properties:
        role:
          default: admin
          type: string
        operatorLabel:
          description: Organization-specific fallback label for fiscalization operator data.
          type: string
        operatorTaxNumber:
          description: Organization-specific fallback tax number for fiscalization operator data.
          type: string
        active:
          default: true
          description: Indicates if link is active, disable to temporarily deny access.
          type: boolean
        disabled:
          default: false
          description: Indicates if access was disabled by admin.
          type: boolean
        rejected:
          default: false
          description: Indicates if invitation was rejected/ignored.
          type: boolean
        invitationEmail:
          type: string
        inviterId:
          type: string
        inviterMasterId:
          type: string
        id:
          $ref: '#/components/schemas/ObjectID'
        accountId:
          $ref: '#/components/schemas/ObjectID'
        organizationId:
          $ref: '#/components/schemas/ObjectID'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        custom:
          default: {}
          description: Custom field for freeform data input
          type: object
      additionalProperties: false
  securitySchemes:
    accessTokenHeader:
      type: apiKey
      in: header
      name: Authorization
    accessTokenQuery:
      type: apiKey
      in: query
      name: access_token