France Identité Prepared requests API

The requests an intermediary prepares for its clients. They are public, versioned, and copied by a client into its own intended use.

GitHub OpenAPI

Operations 3

POST /api/workshop/organisation/request-template Prepare a request for clients, or publish a new version of one #
POST /api/workshop/organisation/request-template/delete Remove a prepared request #
GET /.well-known/eudiw/trust-list.json Read the prepared requests of every intermediary #

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/france-identite:france-identite-prepared-requests-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

france-identite-prepared-requests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: France Identite Prepared requests API
  version: 1.0.0
  contact:
    name: Registre partenaires · France Identité sandbox
  description: 'Operations tagged Prepared requests across 2 of this provider''s published API definitions: france-identite-intermediaries-openapi.yml, france-identite-intermediaries-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.playground.france-identite.gouv.fr/france-titres/registry
  description: This register
security: []
tags:
- name: Prepared requests
  description: The requests an intermediary prepares for its clients. They are public, versioned, and copied by a client into its own intended use.
paths:
  /api/workshop/organisation/request-template:
    post:
      tags:
      - Prepared requests
      operationId: saveRequestTemplate
      summary: Prepare a request for clients, or publish a new version of one
      description: 'Without `templateId`, prepares a new request. With it, replaces that request and

        raises its `version`. Clients that copied an earlier version keep it, and are

        offered the new one. At most 20 per intermediary.'
      security:
      - partnerApiKey: []
      - partnerSession: []
      - operatorToken: []
      parameters:
      - $ref: '#/components/parameters/Origin'
      - $ref: '#/components/parameters/PreferMinimal'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - organisationId
              - template
              properties:
                organisationId:
                  type: string
                  description: 'Your organisation, the intermediary. With an API key, the key''s own organisation, which `GET /api/me` gives: any other answers `403`.'
                template:
                  $ref: '#/components/schemas/RequestTemplateInput'
            example:
              organisationId: FR-RCS.Sandbox.B.901234567
              template:
                name: Identité du dirigeant
                purpose:
                - lang: fr
                  content: Vérifier l’identité du dirigeant qui demande le financement.
                credentials:
                - format: mso_mdoc
                  meta:
                    doctype_value: eu.europa.ec.eudi.pid.1
                  claims:
                  - path:
                    - eu.europa.ec.eudi.pid.1
                    - family_name
                  - path:
                    - eu.europa.ec.eudi.pid.1
                    - given_name
                  - path:
                    - eu.europa.ec.eudi.pid.1
                    - birth_date
      responses:
        '200':
          description: The request as saved, and the organisation.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/OrganisationResponse'
                - type: object
                  properties:
                    template:
                      $ref: '#/components/schemas/RequestTemplate'
              example:
                organisation:
                  id: FR-RCS.Sandbox.B.901234567
                  legalName: Primus Money SAS
                  status: registered
                  isIntermediary: true
                template:
                  templateId: tpl-5f8c0d6e-2b1a-4c3d-9e7f-0a1b2c3d4e5f
                  name: Identité du dirigeant
                  version: 1
                  purpose:
                  - lang: fr
                    content: Vérifier l’identité du dirigeant qui demande le financement.
                  credentials:
                  - format: mso_mdoc
                    meta:
                      doctype_value: eu.europa.ec.eudi.pid.1
                    claims:
                    - path:
                      - eu.europa.ec.eudi.pid.1
                      - family_name
                  createdAt: '2026-11-03T10:00:00Z'
                  updatedAt: '2026-11-03T10:00:00Z'
        '401':
          $ref: '#/components/responses/SignInRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '422':
          $ref: '#/components/responses/Unprocessable'
    servers:
    - url: https://api.playground.france-identite.gouv.fr/france-titres/registry
      description: This register
  /api/workshop/organisation/request-template/delete:
    post:
      tags:
      - Prepared requests
      operationId: removeRequestTemplate
      summary: Remove a prepared request
      description: New clients can no longer choose it. Clients that copied it keep their intended use as it is.
      security:
      - partnerApiKey: []
      - partnerSession: []
      - operatorToken: []
      parameters:
      - $ref: '#/components/parameters/Origin'
      - $ref: '#/components/parameters/PreferMinimal'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - organisationId
              - templateId
              properties:
                organisationId:
                  type: string
                  description: 'Your organisation, the intermediary. With an API key, the key''s own organisation, which `GET /api/me` gives: any other answers `403`.'
                templateId:
                  type: string
            example:
              organisationId: FR-RCS.Sandbox.B.901234567
              templateId: tpl-5f8c0d6e-2b1a-4c3d-9e7f-0a1b2c3d4e5f
      responses:
        '200':
          description: The organisation without the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganisationResponse'
              example:
                organisation:
                  id: FR-RCS.Sandbox.B.901234567
                  legalName: Primus Money SAS
                  status: registered
                  isIntermediary: true
        '401':
          $ref: '#/components/responses/SignInRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '422':
          $ref: '#/components/responses/Unprocessable'
    servers:
    - url: https://api.playground.france-identite.gouv.fr/france-titres/registry
      description: This register
  /.well-known/eudiw/trust-list.json:
    get:
      tags:
      - Prepared requests
      operationId: readPublishedRequestTemplates
      summary: Read the prepared requests of every intermediary
      description: 'The public JSON trust list. Each record of `payload.relyingParties` that is an

        intermediary (`isIntermediary: true`) carries its `requestTemplates`. A client

        choosing an intermediary copies one into its intended use and records it as

        `sourceTemplate` (`organisationId`, `templateId`, `version`).'
      responses:
        '200':
          description: The signed JSON trust list, its payload in clear beside the JWS.
          content:
            application/json:
              schema:
                type: object
                properties:
                  payload:
                    type: object
                    properties:
                      relyingParties:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            legalName:
                              type: string
                            serviceIdentifier:
                              type: string
                            isIntermediary:
                              type: boolean
                            requestTemplates:
                              type: array
                              items:
                                $ref: '#/components/schemas/RequestTemplate'
              example:
                payload:
                  relyingParties:
                  - id: FR-RCS.Sandbox.B.901234567
                    legalName: Primus Money SAS
                    serviceIdentifier: primus-money-kyc
                    isIntermediary: true
                    requestTemplates:
                    - templateId: tpl-5f8c0d6e-2b1a-4c3d-9e7f-0a1b2c3d4e5f
                      name: Identité du dirigeant
                      version: 2
                      purpose:
                      - lang: fr
                        content: Vérifier l’identité du dirigeant qui demande le financement.
                      credentials:
                      - format: mso_mdoc
                        meta:
                          doctype_value: eu.europa.ec.eudi.pid.1
                        claims:
                        - path:
                          - eu.europa.ec.eudi.pid.1
                          - family_name
                        - path:
                          - eu.europa.ec.eudi.pid.1
                          - given_name
    servers:
    - url: https://api.playground.france-identite.gouv.fr/france-titres/registry
      description: This register
components:
  parameters:
    Origin:
      in: header
      name: Origin
      description: This register's origin. Required on writes made with the session cookie; browsers send it themselves.
      schema:
        type: string
        format: uri
      example: https://api.playground.france-identite.gouv.fr
    PreferMinimal:
      in: header
      name: Prefer
      description: '`return=minimal` returns the organisation and the publication only.'
      schema:
        type: string
        enum:
        - return=minimal
  responses:
    SignInRequired:
      description: No API key, partner session or operator token was sent, or the key is unknown, expired or revoked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: unauthorized
    Forbidden:
      description: The organisation named is not the API key's own, nor one the session's group manages, or a request made with the session did not come from the register's origin.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: cross_site_request
            detail: 'Requête refusée : elle ne provient pas du registre.'
    Unprocessable:
      description: The register's rules refuse the change; `error` says which.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: 'Seul un intermédiaire prépare des demandes pour ses clients : déclarez d’abord votre organisation comme intermédiaire.'
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
        detail:
          type: string
        error_description:
          type: string
    CompactJws:
      type: string
      pattern: ^[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+$
    RequestTemplate:
      allOf:
      - $ref: '#/components/schemas/RequestTemplateInput'
      - type: object
        required:
        - templateId
        - version
        properties:
          version:
            type: integer
            minimum: 1
            description: Raised on each change.
          createdAt:
            type: string
            format: date-time
          updatedAt:
            type: string
            format: date-time
    CredentialQuery:
      type: object
      required:
      - format
      - meta
      - claims
      properties:
        format:
          type: string
          enum:
          - mso_mdoc
          - dc+sd-jwt
        meta:
          type: object
          description: '`doctype_value` for an mdoc, `vct` for an SD-JWT.'
          properties:
            doctype_value:
              type: string
            vct:
              type: string
        claims:
          type: array
          minItems: 1
          maxItems: 100
          items:
            type: object
            required:
            - path
            properties:
              path:
                type: array
                minItems: 1
                maxItems: 10
                items:
                  type: string
    RequestTemplateInput:
      type: object
      required:
      - name
      - purpose
      - credentials
      properties:
        templateId:
          type: string
          description: Present to publish a new version of this request.
        name:
          type: string
          maxLength: 120
          description: As clients see it.
        purpose:
          $ref: '#/components/schemas/MultiLangText'
        credentials:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/CredentialQuery'
    OrganisationResponse:
      type: object
      required:
      - organisation
      properties:
        organisation:
          type: object
          required:
          - id
          - status
          properties:
            id:
              type: string
            legalName:
              type: string
            status:
              type: string
            isIntermediary:
              type: boolean
            requestTemplates:
              type: array
              items:
                $ref: '#/components/schemas/RequestTemplate'
            actingFor:
              type: array
              items:
                type: object
                required:
                - associationId
                - relyingParty
                - serviceIdentifier
                - intendedUseIdentifier
                properties:
                  associationId:
                    type: string
                  relyingParty:
                    type: object
                    properties:
                      id:
                        type: string
                      legalName:
                        type: string
                      sub:
                        type: string
                  serviceIdentifier:
                    type: string
                  serviceTradeName:
                    type: string
                  intendedUseIdentifier:
                    type: string
                  since:
                    type: string
                    format: date-time
                  registrationCertificate:
                    type:
                    - object
                    - 'null'
                    properties:
                      id:
                        type: string
                      jws:
                        $ref: '#/components/schemas/CompactJws'
    MultiLangText:
      type: array
      minItems: 1
      items:
        type: object
        required:
        - lang
        - content
        properties:
          lang:
            type: string
          content:
            type: string
            maxLength: 1000
  securitySchemes:
    partnerApiKey:
      type: http
      scheme: bearer
      bearerFormat: fipk_…
      description: 'A key a member of your organisation''s group creates in the partner space, under

        *Team & API › API access*. It is shown once, acts for that organisation alone

        with the rights of a member of the group, expires after 30, 90 or 365 days, and

        is revoked there. No `Origin` header is needed.

        '
    partnerSession:
      type: apiKey
      in: cookie
      name: registrar_session
      description: The partner space's sign-in cookie, for the browser; scripts use an API key (`partnerApiKey`). Writes also need an `Origin` header equal to this register's origin.
    operatorToken:
      type: http
      scheme: bearer
      description: The sandbox operator's token. Partners use an API key or their session.
x-refined-from:
- france-identite-intermediaries-openapi.yml
- france-identite-intermediaries-openapi.yml