France Identité Card designs API

The Card Studio design of an attestation you issue, which test wallets draw as its card.

GitHub OpenAPI

Operations 3

PUT /api/organisations/{organisationId}/services/{serviceIdentifier}/card-designs/{type} Upload the Card Studio design of an attestation #
GET /api/organisations/{organisationId}/services/{serviceIdentifier}/card-designs/{type} See the design of an attestation #
DELETE /api/organisations/{organisationId}/services/{serviceIdentifier}/card-designs/{type} Remove the design of an attestation #

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-card-designs-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-card-designs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: France Identite Card designs API
  version: 1.0.0
  contact:
    name: Registre partenaires · France Identité sandbox
  description: 'Operations tagged Card designs 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: Card designs
  description: The Card Studio design of an attestation you issue, which test wallets draw as its card.
paths:
  /api/organisations/{organisationId}/services/{serviceIdentifier}/card-designs/{type}:
    put:
      tags:
      - Card designs
      operationId: putCardDesign
      summary: Upload the Card Studio design of an attestation
      description: 'Send the bundle Card Studio exports (`.zip`) for one attestation your issuance service

        declares: `{type}` is its doctype (mdoc) or vct (SD-JWT VC), URL-encoded. The register

        checks it (`config.json`, `configs/default.json`, every variant and its home background in

        PNG, `manifestId` equal to `{type}`, the format of the attestation), keeps it as uploaded

        for France Identité, and publishes the home card to wallets at once: the wallet issuer

        catalogue gives its address and SHA-256 under `providedAttestations[].cardDesign`. A new

        upload replaces the design.


        8 MiB at most, with a `Content-Length`: a larger body, or one sent in chunks, is refused

        with `413` before it is read. 64 files and 24 MiB unpacked at most.'
      security:
      - partnerApiKey: []
      - partnerSession: []
      - operatorToken: []
      parameters:
      - $ref: '#/components/parameters/OrganisationId'
      - in: path
        name: serviceIdentifier
        required: true
        schema:
          type: string
      - in: path
        name: type
        required: true
        schema:
          type: string
        example: org.iso.18013.5.1.mDL
      - $ref: '#/components/parameters/Origin'
      requestBody:
        required: true
        content:
          application/zip:
            schema:
              type: string
              format: binary
      responses:
        '200':
          description: The design as kept.
          content:
            application/json:
              schema:
                type: object
                properties:
                  design:
                    $ref: '#/components/schemas/CardDesign'
        '400':
          $ref: '#/components/responses/Refused'
        '401':
          $ref: '#/components/responses/SignInRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: Your service does not declare this attestation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Over 8 MiB, or no `Content-Length`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    get:
      tags:
      - Card designs
      operationId: getCardDesign
      summary: See the design of an attestation
      security:
      - partnerApiKey: []
      - partnerSession: []
      - operatorToken: []
      parameters:
      - $ref: '#/components/parameters/OrganisationId'
      - in: path
        name: serviceIdentifier
        required: true
        schema:
          type: string
      - in: path
        name: type
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The design.
          content:
            application/json:
              schema:
                type: object
                properties:
                  design:
                    $ref: '#/components/schemas/CardDesign'
        '401':
          $ref: '#/components/responses/SignInRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: No design for this attestation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      tags:
      - Card designs
      operationId: deleteCardDesign
      summary: Remove the design of an attestation
      description: Wallets draw the attestation's usual card again.
      security:
      - partnerApiKey: []
      - partnerSession: []
      - operatorToken: []
      parameters:
      - $ref: '#/components/parameters/OrganisationId'
      - in: path
        name: serviceIdentifier
        required: true
        schema:
          type: string
      - in: path
        name: type
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/Origin'
      responses:
        '204':
          description: Removed.
        '401':
          $ref: '#/components/responses/SignInRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: No design for this attestation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    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
    CardDesign:
      type: object
      properties:
        type:
          type: string
          example: org.iso.18013.5.1.mDL
        format:
          type: string
          enum:
          - mso_mdoc
          - dc+sd-jwt
        sha256:
          type: string
          description: SHA-256 of the home card bundle wallets get.
        uri:
          type: string
          description: The home card bundle
          as wallets fetch it.: null
        files:
          type: string
          description: Base address of its files (config.json
          configs/*.json: null
          assets/*.png).: null
        variants:
          type: array
          items:
            type: string
          example:
          - default
          - electric
        homeOnly:
          type: boolean
          description: The bundle was made for the home card only (no gyro views).
        samples:
          type: object
          additionalProperties:
            type: string
          description: Card Studio's sample values
          for previews.: null
        size:
          type: integer
          description: Size of the uploaded bundle
          in bytes.: null
        uploadedBy:
          type: string
        uploadedAt:
          type: string
          format: date-time
  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