Lokki Self Test API

The Self Test API from Lokki — 2 operation(s) for self test.

Operations 2

POST /v2/self-test/complete-form #
POST /v2/self-test/setup-test-account #

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/lokki-self-test-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lokki-self-test-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lokki Self Test API
  description: The main API powering the Lokki Dashboard and Online Store
  version: '2.0'
  contact: {}
servers: []
security:
- x-access-token: []
tags:
- name: Self Test
paths:
  /v2/self-test/complete-form:
    post:
      operationId: sendCompleteSelfTestForm
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SelfTestFormDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                type: boolean
      tags:
      - Self Test
  /v2/self-test/setup-test-account:
    post:
      operationId: selfTestCreateTestAccount
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SelfTestCreateAccountFormDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SelfTestCreateAccountResultDto'
        '201':
          description: ''
      tags:
      - Self Test
components:
  schemas:
    SelfTestCreateAccountFormDto:
      type: object
      properties:
        hasRentalActivity:
          type: boolean
        launchDate:
          type: string
        verticale:
          enum:
          - BIKE
          - ELECTRIC_BIKE
          - MOPED
          - MOTORCYCLE
          - CAR
          - SCOOTER
          - SKI
          - CLIMBING
          - SNOWSHOES
          - SURF
          - PADDLE
          - CANOE_KAYAK
          - BOAT
          - EVENT
          - MOTOCULTURE
          - TOOLING
          type: string
        productsNumber:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        email:
          type: string
        phone:
          type: string
        companyName:
          type: string
        website:
          type: string
        replaceForLokki:
          type: array
          items:
            type: string
        currentSoftware:
          type: string
        painPoints:
          type: array
          items:
            type: string
        featuresToUse:
          type: array
          items:
            type: string
        comments:
          type: string
        utmInfos:
          $ref: '#/components/schemas/SelfTestUtmInfos'
        companyId:
          type: string
        lang:
          enum:
          - fr
          - en
          - es
          - pt
          - it
          - pl
          - de
          - nl
          type: string
        password:
          type: string
          minLength: 8
          pattern: /(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}/
      required:
      - hasRentalActivity
      - launchDate
      - verticale
      - productsNumber
      - firstName
      - lastName
      - email
      - phone
      - companyName
      - website
      - replaceForLokki
      - currentSoftware
      - painPoints
      - featuresToUse
      - comments
      - utmInfos
      - password
    UserValidationCode:
      type: object
      properties:
        code:
          type: string
        expiresAt:
          format: date-time
          type: string
      required:
      - code
      - expiresAt
    SelfTestFormDto:
      type: object
      properties:
        hasRentalActivity:
          type: boolean
        launchDate:
          type: string
        verticale:
          type: string
          enum:
          - BIKE
          - ELECTRIC_BIKE
          - MOPED
          - MOTORCYCLE
          - CAR
          - SCOOTER
          - SKI
          - CLIMBING
          - SNOWSHOES
          - SURF
          - PADDLE
          - CANOE_KAYAK
          - BOAT
          - EVENT
          - MOTOCULTURE
          - TOOLING
        productsNumber:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        email:
          type: string
        phone:
          type: string
        companyName:
          type: string
        website:
          type: string
        replaceForLokki:
          type: array
          items:
            type: string
        currentSoftware:
          type: string
        painPoints:
          type: array
          items:
            type: string
        featuresToUse:
          type: array
          items:
            type: string
        comments:
          type: string
        utmInfos:
          $ref: '#/components/schemas/SelfTestUtmInfos'
        companyId:
          type: string
        lang:
          type: string
          enum:
          - fr
          - en
          - es
          - pt
          - it
          - pl
          - de
          - nl
      required:
      - hasRentalActivity
      - launchDate
      - verticale
      - productsNumber
      - firstName
      - lastName
      - email
      - phone
      - companyName
      - website
      - replaceForLokki
      - currentSoftware
      - painPoints
      - featuresToUse
      - comments
      - utmInfos
    User:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        email:
          type: string
        phone:
          type: string
        picture:
          type: string
        role:
          enum:
          - user
          - manager
          - admin
          - reconditioner
          type: string
        password:
          type: string
        validationCode:
          $ref: '#/components/schemas/UserValidationCode'
        isDemoAccount:
          type: boolean
        isAccountActivated:
          type: boolean
        lastConnection:
          format: date-time
          type: string
        createdFrom:
          enum:
          - admin_dashboard
          - employee
          - lokkit
          - visibility
          - self_test
          type: string
        createdAt:
          format: date-time
          type: string
        connectionAttempt:
          type: number
        availableTools:
          type: array
          items:
            type: string
            enum:
            - dashboard
            - lokkit
            - visibility
            - visibility_one
            - reconditioning
        signedUpWith:
          enum:
          - google
          - apple
          type: string
      required:
      - id
      - name
      - email
      - phone
      - picture
      - role
      - isDemoAccount
      - isAccountActivated
      - createdFrom
      - createdAt
      - connectionAttempt
      - availableTools
    SelfTestUtmInfos:
      type: object
      properties:
        utm_source:
          type: string
        utm_medium:
          type: string
        utm_campaign:
          type: string
        utm_content:
          type: string
        utm_term:
          type: string
        device:
          type: string
        matchtype:
          type: string
        campaign_id:
          type: string
        adset_id:
          type: string
        ad_id:
          type: string
        GeoLoc:
          type: string
    SelfTestCreateAccountResultDto:
      type: object
      properties:
        user:
          $ref: '#/components/schemas/User'
      required:
      - user
  securitySchemes:
    x-access-token:
      scheme: bearer
      bearerFormat: JWT
      type: apiKey
      in: header
      name: x-access-token