France Identité Credential API

Which organisation your API key or session acts for.

GitHub OpenAPI

Operations 1

GET /api/me Find the organisation your API key acts 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-credential-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-credential-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: France Identite Credential API
  version: 1.0.0
  contact:
    name: Registre partenaires · France Identité sandbox
  description: 'Operations tagged Credential across 3 of this provider''s published API definitions: france-identite-intermediaries-openapi.yml, france-identite-intermediaries-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: Credential
  description: Which organisation your API key or session acts for.
paths:
  /api/me:
    get:
      tags:
      - Credential
      operationId: readCredential
      summary: Find the organisation your API key acts for
      description: '`organisations` lists the organisations you may act for, by register identifier:

        with an API key, its own organisation alone; with the session, each organisation

        your groups manage. Name it in the writes. An unknown, expired or revoked key is

        not refused here: `principal.kind` is then `anonymous` and `organisations` empty.

        The answer has other fields, for the partner space.'
      security:
      - partnerApiKey: []
      - partnerSession: []
      - {}
      responses:
        '200':
          description: Who the credential acts as, and for which organisations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Credential'
              example:
                principal:
                  kind: member
                  sub: api-key:9f2c4e1a7b3d5f60
                  label: Clé d’API « Primus KYC »
                  groups:
                  - partners/primus
                operator: false
                organisations:
                - FR-RCS.Sandbox.B.901234567
                canCreateOrganisation: false
    servers:
    - url: https://api.playground.france-identite.gouv.fr/france-titres/registry
      description: This register
components:
  schemas:
    Credential:
      type: object
      required:
      - principal
      - operator
      - organisations
      properties:
        principal:
          type: object
          required:
          - kind
          properties:
            kind:
              type: string
              enum:
              - anonymous
              - member
              - operator
              description: '`member` for an API key or a partner; `anonymous` without a valid credential.'
            sub:
              type: string
              description: For an API key, `api-key:` and its identifier.
            label:
              type: string
              description: As the journal names what it does.
            groups:
              type: array
              items:
                type: string
        operator:
          type: boolean
        organisations:
          type:
          - array
          - 'null'
          description: The register identifiers of the organisations you may act for. `null` for the operator, who acts for any.
          items:
            type: string
        canCreateOrganisation:
          type: boolean
          description: Always `false` with an API key.
  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
- france-identite-organisation-openapi.yml