France Identité Service lifecycle API

For any service of yours, verification or issuance. Suspend, resume or withdraw it, and renew or fetch its access certificate.

GitHub OpenAPI

Operations 5

POST /api/workshop/relying-party/service/status Suspend, resume or withdraw a service #
POST /api/workshop/service/access-certificate Renew a service's access certificate #
POST /api/workshop/key-material/export Fetch a service's access certificate #
GET /api/organisations/{organisationId}/services/{serviceIdentifier}/sandbox-keys List the keys the sandbox made for a service #
GET /api/organisations/{organisationId}/services/{serviceIdentifier}/sandbox-keys/{file} Download a key file the sandbox made #

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-service-lifecycle-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-service-lifecycle-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: France Identite Service lifecycle API
  version: 1.0.0
  contact:
    name: Registre partenaires · France Identité sandbox
  description: 'Operations tagged Service lifecycle 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: Service lifecycle
  description: For any service of yours, verification or issuance. Suspend, resume or withdraw it, and renew or fetch its access certificate.
paths:
  /api/workshop/relying-party/service/status:
    post:
      tags:
      - Service lifecycle
      operationId: changeServiceStatus
      summary: Suspend, resume or withdraw a service
      description: 'For a verification or an issuance service. `suspended` and `active` switch

        either way. `withdrawn` is final: the service''s intended uses are withdrawn and

        its certificates stop being trusted at the next publication. What the register''s

        operator suspended (`suspendedBy: operator`), only the operator resumes: you may

        still withdraw it.'
      security:
      - partnerApiKey: []
      - partnerSession: []
      - operatorToken: []
      parameters:
      - $ref: '#/components/parameters/Origin'
      - $ref: '#/components/parameters/PreferMinimal'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - organisationId
              - serviceIdentifier
              - status
              properties:
                organisationId:
                  $ref: '#/components/schemas/OwnOrganisationId'
                serviceIdentifier:
                  type: string
                status:
                  type: string
                  enum:
                  - active
                  - suspended
                  - withdrawn
            example:
              organisationId: FR-RCS.Sandbox.B.444555666
              serviceIdentifier: otter-age
              status: suspended
      responses:
        '200':
          $ref: '#/components/responses/OrganisationChanged'
        '400':
          description: The status or the change is refused; `error` says why.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: a withdrawn service cannot be reactivated
        '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/workshop/service/access-certificate:
    post:
      tags:
      - Service lifecycle
      operationId: renewAccessCertificate
      summary: Renew a service's access certificate
      description: 'Issues a new access certificate (WRPAC) from your `csr`, or from a new key the

        sandbox makes with `keyCustody: sandbox-generated`. The service must be active.


        A service may hold one access certificate in force per instance (ARF Reg_10a):

        name the instance in `instanceName`, written as the certificate''s OU. Without a

        name, the certificate is the service''s default one. The new certificate replaces

        only the one of the same instance, which is withdrawn; the others stay in force.

        The service''s registration certificates are issued again when the certificate they

        are bound to is replaced, and on every renewal of a service that names no instance.'
      security:
      - partnerApiKey: []
      - partnerSession: []
      - operatorToken: []
      parameters:
      - $ref: '#/components/parameters/Origin'
      - $ref: '#/components/parameters/PreferMinimal'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - organisationId
              - serviceIdentifier
              properties:
                organisationId:
                  $ref: '#/components/schemas/OwnOrganisationId'
                serviceIdentifier:
                  type: string
                csr:
                  type: string
                  description: A PEM certificate request, unless `keyCustody` is `sandbox-generated`.
                keyCustody:
                  type: string
                  enum:
                  - subscriber
                  - sandbox-generated
                instanceName:
                  $ref: '#/components/schemas/AccessCertificateInstanceName'
            example:
              organisationId: FR-RCS.Sandbox.B.444555666
              serviceIdentifier: otter-age
              csr: '-----BEGIN CERTIFICATE REQUEST-----

                MIHU…

                -----END CERTIFICATE REQUEST-----

                '
      responses:
        '200':
          $ref: '#/components/responses/OrganisationChanged'
        '400':
          $ref: '#/components/responses/Refused'
        '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/workshop/key-material/export:
    post:
      tags:
      - Service lifecycle
      operationId: exportAccessCertificate
      summary: Fetch a service's access certificate
      description: The active access certificate in PEM, never its private key.
      security:
      - partnerApiKey: []
      - partnerSession: []
      - operatorToken: []
      parameters:
      - $ref: '#/components/parameters/Origin'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - organisationId
              - serviceIdentifier
              properties:
                organisationId:
                  $ref: '#/components/schemas/OwnOrganisationId'
                serviceIdentifier:
                  type: string
            example:
              organisationId: FR-RCS.Sandbox.B.444555666
              serviceIdentifier: otter-age
      responses:
        '200':
          description: The certificate, and a file name to save it under.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessCertificateExport'
        '400':
          $ref: '#/components/responses/Refused'
        '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}/services/{serviceIdentifier}/sandbox-keys:
    get:
      tags:
      - Service lifecycle
      operationId: listSandboxKeys
      summary: List the keys the sandbox made for a service
      description: 'For a service registered or renewed with `keyCustody: sandbox-generated`: the

        files to download and their password. `access.p12` holds the access key and

        certificate, while it is still the active one. `signer.p12`, for issuers, holds

        the document signer key and certificate.'
      security:
      - partnerApiKey: []
      - partnerSession: []
      - operatorToken: []
      parameters:
      - $ref: '#/components/parameters/OrganisationId'
      - $ref: '#/components/parameters/ServiceIdentifier'
      responses:
        '200':
          description: The files, possibly none.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxKeys'
              example:
                available: true
                generated: true
                password: 5Yb2kQ9xVw3nT7aR
                files:
                - name: access.p12
                  kind: access
                  format: pkcs12
        '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}/services/{serviceIdentifier}/sandbox-keys/{file}:
    get:
      tags:
      - Service lifecycle
      operationId: downloadSandboxKey
      summary: Download a key file the sandbox made
      description: A PKCS#12 file, protected by the password the list gives.
      security:
      - partnerApiKey: []
      - partnerSession: []
      - operatorToken: []
      parameters:
      - $ref: '#/components/parameters/OrganisationId'
      - $ref: '#/components/parameters/ServiceIdentifier'
      - in: path
        name: file
        required: true
        schema:
          type: string
          enum:
          - access.p12
          - signer.p12
      responses:
        '200':
          description: The file.
          content:
            application/x-pkcs12:
              schema:
                type: string
                format: binary
        '401':
          $ref: '#/components/responses/SignInRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: The sandbox made no such file for this service.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: not_found
    servers:
    - url: https://api.playground.france-identite.gouv.fr/france-titres/registry
      description: This register
components:
  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.
    OrganisationChanged:
      description: The organisation as now registered, and the published register; with `Prefer return=minimal`, the organisation and the publication.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/OrganisationChanged'
    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:
    Service:
      type: object
      required:
      - serviceIdentifier
      - status
      properties:
        serviceIdentifier:
          type: string
        serviceTradeName:
          type: string
        serviceUrl:
          type: string
        status:
          type: string
        suspendedBy:
          $ref: '#/components/schemas/SuspendedBy'
        intendedUses:
          type: array
          description: A verification service's intended uses.
          items:
            $ref: '#/components/schemas/IntendedUse'
        providesAttestations:
          type: array
          description: The attestations an issuance service issues.
          items:
            type: object
        accessCertificates:
          type: array
          items:
            $ref: '#/components/schemas/AccessCertificate'
        registrationCertificates:
          type: array
          items:
            $ref: '#/components/schemas/RegistrationCertificate'
    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
    AccessCertificateExport:
      type: object
      required:
      - certificatePem
      - sha256
      - privateKeyExported
      properties:
        role:
          type: string
          enum:
          - requester
          - provider
        serviceIdentifier:
          type: string
        certificateType:
          type: string
        certificatePem:
          type: string
        sha256:
          type: string
        filename:
          type: string
        privateKeyExported:
          type: boolean
          const: false
        warning:
          type: string
    OrganisationChanged:
      type: object
      required:
      - organisation
      properties:
        organisation:
          $ref: '#/components/schemas/Organisation'
        relyingParties:
          type: array
          items:
            type: object
          description: Your verification services as the register publishes them.
        pidIssuer:
          type:
          - object
          - 'null'
          description: Your first issuance service as the register publishes it.
        publication:
          $ref: '#/components/schemas/Publication'
    AccessCertificate:
      type: object
      required:
      - sha256
      - status
      properties:
        certificateId:
          type: string
        sha256:
          type: string
        pem:
          type: string
        status:
          type: string
        validFrom:
          type: string
        validTo:
          type: string
        keyCustody:
          type: string
          enum:
          - subscriber
          - sandbox-generated
    OwnOrganisationId:
      type: string
      description: 'Your organisation''s register identifier. With an API key, the key''s own organisation, which `GET /api/me` gives: any other answers `403`.'
    SuspendedBy:
      type:
      - string
      - 'null'
      enum:
      - operator
      - partner
      - null
      description: Who suspended it. What the register's operator suspended, only the operator resumes.
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: The reason
          in English or French.: null
        detail:
          type: string
    RegistrationCertificate:
      type: object
      required:
      - status
      properties:
        id:
          type: string
        intendedUseIdentifier:
          type: string
        status:
          type: string
        accessCertificateSha256:
          type: string
        jws:
          type: string
    MultiLangText:
      type: array
      minItems: 1
      maxItems: 20
      items:
        type: object
        required:
        - lang
        - content
        properties:
          lang:
            type: string
            maxLength: 35
          content:
            type: string
            maxLength: 1000
    AccessCertificateInstanceName:
      type: string
      maxLength: 64
      example: Caisse 1
      description: 'Optional. The instance of the service the access certificate is for, written as the

        OU of its subject (ETSI TS 119 411-8 GEN-6.6.1-08): letters, digits, spaces and

        . , : '' ( ) & _ -. The same name, whatever its case, renews that instance''s

        certificate; a new one adds a certificate. A named instance needs your own `csr`:

        the sandbox keeps one generated key per service.

        '
    SandboxKeys:
      type: object
      required:
      - available
      - generated
      - files
      properties:
        available:
          type: boolean
          description: Whether this register makes keys.
        generated:
          type: boolean
        password:
          type: string
          description: The password of every file.
        accessCertificateSha256:
          type: string
        files:
          type: array
          items:
            type: object
            required:
            - name
            - kind
            properties:
              name:
                type: string
                enum:
                - access.p12
                - signer.p12
              kind:
                type: string
                enum:
                - access
                - signing
              format:
                type: string
    Organisation:
      type: object
      required:
      - id
      - status
      description: 'Your organisation. It holds more fields than listed here: identifiers, address, contacts, evidence, version history.'
      properties:
        id:
          type: string
        legalName:
          type: string
        tradeName:
          type: string
        status:
          type: string
        entitlements:
          type: array
          items:
            type: string
        isIntermediary:
          type: boolean
        accessGroup:
          type:
          - string
          - 'null'
          description: The group whose members manage the organisation. Only from `GET /api/organisations/{organisationId}`.
        hasUnpublishedChanges:
          type: boolean
        draft:
          type:
          - object
          - 'null'
        services:
          type: array
          items:
            $ref: '#/components/schemas/Service'
    IntendedUse:
      type: object
      required:
      - intendedUseIdentifier
      - status
      properties:
        intendedUseIdentifier:
          type: string
        purpose:
          $ref: '#/components/schemas/MultiLangText'
        privacyPolicy:
          type: object
          properties:
            policyURI:
              type: string
            type:
              type: string
        credentials:
          type: array
          items:
            $ref: '#/components/schemas/CredentialQuery'
        status:
          type: string
          enum:
          - active
          - suspended
          - withdrawn
          - pending
          - refused
          description: '`pending` or `refused` while it waits for protected data.'
        suspendedBy:
          $ref: '#/components/schemas/SuspendedBy'
    Publication:
      type:
      - object
      - 'null'
      properties:
        publicationId:
          type: string
        registryVersion:
          type:
          - integer
          - string
        publishedAt:
          type: string
  parameters:
    PreferMinimal:
      in: header
      name: Prefer
      description: '`return=minimal` returns the organisation and the publication only.'
      schema:
        type: string
        enum:
        - return=minimal
    ServiceIdentifier:
      in: path
      name: serviceIdentifier
      required: true
      schema:
        type: string
      example: otter-age
    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
    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
  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