CarGene Invitations API

The invitations API from CarGene — 2 operation(s) for invitations.

GitHub OpenAPI

Operations 2

GET /api/invitations/{token} Get Invitation #
POST /api/invitations/{token}/accept Accept 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/car-gene-com:car-gene-com-invitations-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

car-gene-com-invitations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Car Gene Com Invitations API
  version: 1.0.0
  description: 'Operations tagged invitations across 2 of this provider''s published API definitions: car-gene-com-openapi.json, car-gene-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.car-gene.com
  description: CarGene API host (named on https://car-gene.com/mcp/; spec served at https://api.car-gene.com/openapi.json)
tags:
- name: Invitations
paths:
  /api/invitations/{token}:
    get:
      tags:
      - Invitations
      summary: Get Invitation
      operationId: get_invitation_api_invitations__token__get
      parameters:
      - required: true
        schema:
          type: string
          title: Token
        name: token
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicInvitation'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/invitations/{token}/accept:
    post:
      tags:
      - Invitations
      summary: Accept Invitation
      description: 受ける。受けられなかったら 409 と理由 (期限切れ・宛先違い など)
      operationId: accept_invitation_api_invitations__token__accept_post
      parameters:
      - required: true
        schema:
          type: string
          title: Token
        name: token
        in: path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptedInvitation'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MyShop:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        prefecture:
          type: string
          title: Prefecture
        city:
          type: string
          title: City
        status:
          type: string
          title: Status
        sells_used_cars:
          type: boolean
          title: Sells Used Cars
        antique_license:
          type: string
          title: Antique License
        role:
          type: string
          enum:
          - owner
          - staff
          title: Role
      type: object
      required:
      - id
      - name
      - status
      - sells_used_cars
      - role
      title: MyShop
      description: ログインした人がメンバーの店
    PublicInvitation:
      properties:
        shop_name:
          type: string
          title: Shop Name
        email_hint:
          type: string
          title: Email Hint
        role:
          type: string
          enum:
          - owner
          - staff
          title: Role
        status:
          type: string
          enum:
          - open
          - expired
          - accepted
          - revoked
          title: Status
      type: object
      required:
      - shop_name
      - email_hint
      - role
      - status
      title: PublicInvitation
      description: 'リンクを開いた人に見せる招待。**宛先は伏せ字**——リンクを拾った人に

        宛先のアドレスを丸ごと見せない'
    AcceptedInvitation:
      properties:
        shop:
          $ref: '#/components/schemas/MyShop'
      type: object
      required:
      - shop
      title: AcceptedInvitation
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- car-gene-com-openapi.json
- car-gene-com-openapi.yml