ScoreInvest Admin API

The Admin API from ScoreInvest — 15 operation(s) for admin.

GitHub OpenAPI

Operations 17

GET /admin Admin Login Page #
GET /admin/login Admin Login Page #
POST /admin/login Admin Login #
GET /admin/dashboard Admin Dashboard #
GET /admin/leads Admin Leads Page #
GET /admin/export-leads Admin Export Leads #
GET /admin/logout Admin Logout #
GET /admin/affiliations Admin Affiliations Page #
PUT /api/admin/affiliations Api Update Affiliation #
POST /api/admin/affiliations Api Create Affiliation #
POST /api/admin/affiliations/{affiliation_id}/conversion Api Add Conversion #
GET /admin/leads-pipeline Admin Leads Pipeline #
POST /admin/leads/{lead_id}/status Admin Lead Status #
POST /admin/leads/{lead_id}/response Admin Lead Response #
POST /admin/leads/relances/generer Admin Lead Relances Generer #
POST /admin/leads/relances/{relance_id}/envoyee Admin Lead Relance Envoyee #
GET /admin/analytics Admin Analytics Page #

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/scoreinvest-fr:scoreinvest-fr-admin-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

scoreinvest-fr-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ScoreInvest.fr Admin API
  description: Le GPS de votre patrimoine
  version: 0.1.0
tags:
- name: Admin
paths:
  /admin:
    get:
      summary: Admin Login Page
      description: Page de connexion admin - accepte aussi ?key= pour accès direct (ScoreZenith Hub)
      operationId: admin_login_page_admin_get
      parameters:
      - name: error
        in: query
        required: false
        schema:
          type: string
          title: Error
      - name: key
        in: query
        required: false
        schema:
          type: string
          title: Key
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Admin
  /admin/login:
    get:
      summary: Admin Login Page
      description: Page de connexion admin - accepte aussi ?key= pour accès direct (ScoreZenith Hub)
      operationId: admin_login_page_admin_login_get
      parameters:
      - name: error
        in: query
        required: false
        schema:
          type: string
          title: Error
      - name: key
        in: query
        required: false
        schema:
          type: string
          title: Key
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Admin
    post:
      summary: Admin Login
      description: Traitement login admin
      operationId: admin_login_admin_login_post
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_admin_login_admin_login_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Admin
  /admin/dashboard:
    get:
      summary: Admin Dashboard
      description: Dashboard admin complet
      operationId: admin_dashboard_admin_dashboard_get
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
      tags:
      - Admin
  /admin/leads:
    get:
      summary: Admin Leads Page
      description: Page liste complète des leads
      operationId: admin_leads_page_admin_leads_get
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
      tags:
      - Admin
  /admin/export-leads:
    get:
      summary: Admin Export Leads
      description: Export CSV des leads
      operationId: admin_export_leads_admin_export_leads_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Admin
  /admin/logout:
    get:
      summary: Admin Logout
      description: Déconnexion admin
      operationId: admin_logout_admin_logout_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Admin
  /admin/affiliations:
    get:
      summary: Admin Affiliations Page
      description: Page admin pour gérer les affiliations
      operationId: admin_affiliations_page_admin_affiliations_get
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
      tags:
      - Admin
  /api/admin/affiliations:
    put:
      summary: Api Update Affiliation
      operationId: api_update_affiliation_api_admin_affiliations_put
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Admin
    post:
      summary: Api Create Affiliation
      operationId: api_create_affiliation_api_admin_affiliations_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Admin
  /api/admin/affiliations/{affiliation_id}/conversion:
    post:
      summary: Api Add Conversion
      operationId: api_add_conversion_api_admin_affiliations__affiliation_id__conversion_post
      parameters:
      - name: affiliation_id
        in: path
        required: true
        schema:
          type: integer
          title: Affiliation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Admin
  /admin/leads-pipeline:
    get:
      summary: Admin Leads Pipeline
      operationId: admin_leads_pipeline_admin_leads_pipeline_get
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Status
      - name: genere
        in: query
        required: false
        schema:
          type: integer
          default: 0
          title: Genere
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Admin
  /admin/leads/{lead_id}/status:
    post:
      summary: Admin Lead Status
      operationId: admin_lead_status_admin_leads__lead_id__status_post
      parameters:
      - name: lead_id
        in: path
        required: true
        schema:
          type: integer
          title: Lead Id
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_admin_lead_status_admin_leads__lead_id__status_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Admin
  /admin/leads/{lead_id}/response:
    post:
      summary: Admin Lead Response
      operationId: admin_lead_response_admin_leads__lead_id__response_post
      parameters:
      - name: lead_id
        in: path
        required: true
        schema:
          type: integer
          title: Lead Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Admin
  /admin/leads/relances/generer:
    post:
      summary: Admin Lead Relances Generer
      operationId: admin_lead_relances_generer_admin_leads_relances_generer_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      tags:
      - Admin
  /admin/leads/relances/{relance_id}/envoyee:
    post:
      summary: Admin Lead Relance Envoyee
      operationId: admin_lead_relance_envoyee_admin_leads_relances__relance_id__envoyee_post
      parameters:
      - name: relance_id
        in: path
        required: true
        schema:
          type: integer
          title: Relance Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Admin
  /admin/analytics:
    get:
      summary: Admin Analytics Page
      operationId: admin_analytics_page_admin_analytics_get
      parameters:
      - name: key
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Admin
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
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    Body_admin_lead_status_admin_leads__lead_id__status_post:
      properties:
        status:
          type: string
          title: Status
        owner:
          type: string
          title: Owner
          default: ''
        product:
          type: string
          title: Product
          default: ''
        notes:
          type: string
          title: Notes
          default: ''
      type: object
      required:
      - status
      title: Body_admin_lead_status_admin_leads__lead_id__status_post
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_admin_login_admin_login_post:
      properties:
        password:
          type: string
          title: Password
      type: object
      required:
      - password
      title: Body_admin_login_admin_login_post