Vectelos Authentication & API Keys API

The Authentication & API Keys API from Vectelos, for authentication & api keys.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 13

POST /v1/auth/register Register User #
POST /v1/auth/login Login User #
POST /v1/auth/verify/request Request Email Verification #
POST /v1/auth/verify/confirm Confirm Email Verification #
POST /v1/auth/password/forgot Forgot Password #
POST /v1/auth/password/reset Reset Password #
POST /v1/auth/keys Generate New Api Key #
GET /v1/auth/keys List Api Keys #
GET /v1/auth/me Get Current Profile #
DELETE /v1/auth/keys/{key_id} Revoke Key #
POST /v1/auth/logout Sign Out #
POST /v1/auth/webhook-secret Rotate Tenant Webhook Secret #
POST /v1/auth/upgrade Change Plan #

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/vectelos-com:vectelos-com-authentication-api-keys-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

vectelos-com-authentication-api-keys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Vectelos Authentication & API Keys API
  description: Enterprise Tariff & Customs Compliance API Powered by Google Gemini Multimodal Intelligence
  version: 1.0.0
tags:
- name: Authentication & API Keys
paths:
  /v1/auth/register:
    post:
      tags:
      - Authentication & API Keys
      summary: Register User
      operationId: register_user_v1_auth_register_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/login:
    post:
      tags:
      - Authentication & API Keys
      summary: Login User
      operationId: login_user_v1_auth_login_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/verify/request:
    post:
      tags:
      - Authentication & API Keys
      summary: Request Email Verification
      description: 'Re-send the verification link to the signed-in account''s own address.


        Session-authenticated: you can only ask us to (re)send to the inbox on the

        account you are already signed in to, so this cannot be pointed at someone

        else''s address. Idempotent — asking when already verified just says so.'
      operationId: request_email_verification_v1_auth_verify_request_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Bearer <JWT session token>
          title: Authorization
        description: Bearer <JWT session token>
      - name: vx_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Vx Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/verify/confirm:
    post:
      tags:
      - Authentication & API Keys
      summary: Confirm Email Verification
      description: 'Mark an account''s email verified from the link we sent. Unauthenticated —

        the signed token is the proof. Clicking a valid link twice is not an error.'
      operationId: confirm_email_verification_v1_auth_verify_confirm_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfirmVerificationRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/password/forgot:
    post:
      tags:
      - Authentication & API Keys
      summary: Forgot Password
      description: 'Start a password reset. Always answers 202 with the same message whether

        or not an account exists, so this cannot be used to discover which addresses

        are registered. When the account does exist, a single-use reset link is

        emailed.'
      operationId: forgot_password_v1_auth_password_forgot_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ForgotPasswordRequest'
        required: true
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/password/reset:
    post:
      tags:
      - Authentication & API Keys
      summary: Reset Password
      description: 'Set a new password from a reset link. Unauthenticated — the signed token

        is the proof. The link is single-use: it carries a fingerprint of the

        password hash it was minted against, and is refused once that hash changes,

        so a used or stale link cannot reset the password again.'
      operationId: reset_password_v1_auth_password_reset_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResetPasswordRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/keys:
    post:
      tags:
      - Authentication & API Keys
      summary: Generate New Api Key
      operationId: generate_new_api_key_v1_auth_keys_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Bearer <JWT session token>
          title: Authorization
        description: Bearer <JWT session token>
      - name: vx_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Vx Session
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateKeyRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KeyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - Authentication & API Keys
      summary: List Api Keys
      description: 'List this tenant''s API keys. Only the prefix is ever returned -- the raw

        key is shown once, at creation, and only its SHA-256 digest is stored.'
      operationId: list_api_keys_v1_auth_keys_get
      parameters:
      - name: include_revoked
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Revoked
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Bearer <JWT session token>
          title: Authorization
        description: Bearer <JWT session token>
      - name: vx_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Vx Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/me:
    get:
      tags:
      - Authentication & API Keys
      summary: Get Current Profile
      operationId: get_current_profile_v1_auth_me_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Bearer <JWT session token>
          title: Authorization
        description: Bearer <JWT session token>
      - name: vx_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Vx Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/keys/{key_id}:
    delete:
      tags:
      - Authentication & API Keys
      summary: Revoke Key
      description: 'Revoke one API key. It stops authenticating immediately.


        Until this existed there was no way to kill a leaked key short of editing

        Firestore by hand -- and a `vt_live_` key pasted into a customer''s CI log is

        the ordinary way that happens, not an exotic one.'
      operationId: revoke_key_v1_auth_keys__key_id__delete
      parameters:
      - name: key_id
        in: path
        required: true
        schema:
          type: string
          title: Key Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Bearer <JWT session token>
          title: Authorization
        description: Bearer <JWT session token>
      - name: vx_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Vx Session
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/logout:
    post:
      tags:
      - Authentication & API Keys
      summary: Sign Out
      description: 'Sign out. This ends EVERY session on the account, not only this one.


        A JWT cannot be recalled once signed, so "sign out" has to mean invalidating

        the tokens rather than forgetting one on the client. Each token carries the

        epoch it was minted under; raising the account''s epoch refuses all of them

        at the next request.


        That it signs out everywhere is deliberate, and said plainly here because it

        is not what "log out" usually means. The reason to reach for this is a token

        you believe someone else has, and in that case ending only the session in

        your own browser is precisely the wrong outcome.


        API keys are untouched -- they have their own revocation, and an ERP should

        not drop because a person signed out of the portal.'
      operationId: sign_out_v1_auth_logout_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Bearer <JWT session token>
          title: Authorization
        description: Bearer <JWT session token>
      - name: vx_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Vx Session
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/webhook-secret:
    post:
      tags:
      - Authentication & API Keys
      summary: Rotate Tenant Webhook Secret
      description: 'Issue a fresh webhook signing secret. Payloads sent after this are signed

        with the new value, so update the receiver first.'
      operationId: rotate_tenant_webhook_secret_v1_auth_webhook_secret_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Bearer <JWT session token>
          title: Authorization
        description: Bearer <JWT session token>
      - name: vx_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Vx Session
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/auth/upgrade:
    post:
      tags:
      - Authentication & API Keys
      summary: Change Plan
      description: 'Retained only for downgrading to FREE. Paid tiers are granted exclusively by

        the Stripe webhook after a completed Checkout — POST /v1/billing/checkout.'
      operationId: change_plan_v1_auth_upgrade_post
      deprecated: true
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Bearer <JWT session token>
          title: Authorization
        description: Bearer <JWT session token>
      - name: vx_session
        in: cookie
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Vx Session
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlanChangeRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    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
    ResetPasswordRequest:
      properties:
        token:
          type: string
          title: Token
        new_password:
          type: string
          minLength: 12
          title: New Password
      type: object
      required:
      - token
      - new_password
      title: ResetPasswordRequest
    ConfirmVerificationRequest:
      properties:
        token:
          type: string
          title: Token
      type: object
      required:
      - token
      title: ConfirmVerificationRequest
    PlanChangeRequest:
      properties:
        plan:
          type: string
          title: Plan
          description: Only FREE is accepted here — paid plans go through Stripe Checkout.
      type: object
      required:
      - plan
      title: PlanChangeRequest
    KeyResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        api_key:
          type: string
          title: Api Key
          description: Raw API key (only shown once upon generation)
        created_at:
          type: string
          title: Created At
      type: object
      required:
      - id
      - name
      - api_key
      - created_at
      title: KeyResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RegisterRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
        password:
          type: string
          minLength: 12
          title: Password
          description: User password (min 12 characters)
        attribution:
          anyOf:
          - $ref: '#/components/schemas/Attribution'
          - type: 'null'
      type: object
      required:
      - email
      - password
      title: RegisterRequest
    ForgotPasswordRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
      type: object
      required:
      - email
      title: ForgotPasswordRequest
    CreateKeyRequest:
      properties:
        name:
          type: string
          maxLength: 120
          title: Name
          default: Default Key
        is_test:
          type: boolean
          title: Is Test
          default: false
      type: object
      title: CreateKeyRequest
    Attribution:
      properties:
        utm_source:
          anyOf:
          - type: string
          - type: 'null'
          title: Utm Source
        utm_medium:
          anyOf:
          - type: string
          - type: 'null'
          title: Utm Medium
        utm_campaign:
          anyOf:
          - type: string
          - type: 'null'
          title: Utm Campaign
        utm_content:
          anyOf:
          - type: string
          - type: 'null'
          title: Utm Content
        utm_term:
          anyOf:
          - type: string
          - type: 'null'
          title: Utm Term
        gclid:
          anyOf:
          - type: string
          - type: 'null'
          title: Gclid
        landing_path:
          anyOf:
          - type: string
          - type: 'null'
          title: Landing Path
        consent:
          anyOf:
          - type: string
          - type: 'null'
          title: Consent
      type: object
      title: Attribution
      description: 'Where a sign-up came from. Sent by the portal, forwarded from the landing

        page''s `.vectelos.com` cookie / URL params. The API treats every field as

        opaque analytics input — it is never used for authorisation. See

        `GTM_plan.md` §4.3.'
    LoginRequest:
      properties:
        email:
          type: string
          format: email
          title: Email
        password:
          type: string
          title: Password
      type: object
      required:
      - email
      - password
      title: LoginRequest
    AuthResponse:
      properties:
        user_id:
          type: string
          title: User Id
        email:
          type: string
          title: Email
        plan:
          type: string
          title: Plan
        credits:
          type: integer
          title: Credits
        access_token:
          type: string
          title: Access Token
        token_type:
          type: string
          title: Token Type
          default: bearer
      type: object
      required:
      - user_id
      - email
      - plan
      - credits
      - access_token
      title: AuthResponse