France Identité Protected data API

Data an issuer protects. An intended use that asks for it waits for the issuer's approval.

GitHub OpenAPI

Operations 2

GET /api/organisations/{organisationId}/protected-data See which data is protected, and your requests for it #
POST /api/organisations/{organisationId}/protected-data/requests Ask the issuers for the protected data your intended uses wait for #

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-protected-data-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-protected-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: France Identite Protected data API
  version: 1.0.0
  contact:
    name: Registre partenaires · France Identité sandbox
  description: 'Operations tagged Protected data across 2 of this provider''s published API definitions: france-identite-organisation-openapi.yml, france-identite-organisation-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: Protected data
  description: Data an issuer protects. An intended use that asks for it waits for the issuer's approval.
paths:
  /api/organisations/{organisationId}/protected-data:
    get:
      tags:
      - Protected data
      operationId: readProtectedData
      summary: See which data is protected, and your requests for it
      description: '`rules` lists the data issuers protect, and who decides. `requests` lists your

        organisation''s requests and their decisions.'
      security:
      - partnerApiKey: []
      - partnerSession: []
      - operatorToken: []
      parameters:
      - $ref: '#/components/parameters/OrganisationId'
      responses:
        '200':
          description: The protected data and your requests.
          content:
            application/json:
              schema:
                type: object
                required:
                - rules
                - requests
                properties:
                  rules:
                    type: array
                    items:
                      type: object
                  requests:
                    type: array
                    items:
                      type: object
        '401':
          $ref: '#/components/responses/SignInRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
    servers:
    - url: https://api.playground.france-identite.gouv.fr/france-titres/registry
      description: This register
  /api/organisations/{organisationId}/protected-data/requests:
    post:
      tags:
      - Protected data
      operationId: requestProtectedData
      summary: Ask the issuers for the protected data your intended uses wait for
      description: 'One request per rule, for the intended uses waiting for it. Once the issuer

        approves, those uses become active and get their registration certificates.'
      security:
      - partnerApiKey: []
      - partnerSession: []
      - operatorToken: []
      parameters:
      - $ref: '#/components/parameters/OrganisationId'
      - $ref: '#/components/parameters/Origin'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - ruleIds
              - justification
              properties:
                ruleIds:
                  type: array
                  minItems: 1
                  items:
                    type: string
                justification:
                  type: string
                  minLength: 10
                  maxLength: 2000
                  description: Why your service needs this data
                  for the issuer.: null
            example:
              ruleIds:
              - rule-3c1f9a2b
              justification: Vérifier la nationalité avant l’ouverture d’un compte.
      responses:
        '200':
          description: The requests made.
          content:
            application/json:
              schema:
                type: object
                required:
                - requests
                properties:
                  requests:
                    type: array
                    items:
                      type: object
        '400':
          $ref: '#/components/responses/Refused'
        '401':
          $ref: '#/components/responses/SignInRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: No such rule.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Règle introuvable.
    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
    OrganisationId:
      in: path
      name: organisationId
      required: true
      description: 'Your organisation''s register identifier. With an API key, the key''s own organisation, which `GET /api/me` gives: any other answers `403`.'
      schema:
        type: string
      example: FR-RCS.Sandbox.B.444555666
  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
            detail: Connexion requise pour cette action.
    Forbidden:
      description: The organisation named is not the API key's own, nor one the session's group manages, a request made with the session did not come from the register's origin, or what you resume was suspended by the register's operator.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: forbidden
            detail: Cette action n’est pas autorisée pour votre compte.
    Refused:
      description: The register refused the call; `error` says why.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: service not found
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: The reason
          in English or French.: null
        detail:
          type: string
  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-organisation-openapi.yml
- france-identite-organisation-openapi.yml