---
updatedAt: 2025-09-16T11:54:08.000Z
agentTools:
  projectIndex: https://docs.developer.rabobank.com/identity-risk/llms.txt
---

# Create a dossier

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "",
    "title": "Rabo Identity Services - Onfido",
    "version": "1.53.0",
    "x-api-id": "cfc29bd6-748e-4539-a4b8-6f183f483d72",
    "x-ibm-name": "rabo-identity-services-onfido"
  },
  "servers": [
    {
      "url": "https://api.rabobank.nl/openapi/",
      "description": "Production server"
    },
    {
      "url": "https://api-sandbox.rabobank.nl/openapi/sandbox/",
      "description": "Sandbox server"
    }
  ],
  "paths": {
    "/ris/onfido/dossiers": {
      "post": {
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DossierResponseDto"
                }
              }
            },
            "description": "Created resource",
            "headers": {
              "X-Trace-Id": {
                "description": "Correlation id per request/response for debug purpose",
                "schema": {
                  "type": "string"
                },
                "x-example": "59b7807e80588fc36b04e522807db8f3cf00eaa3e1cb0deb355347d2aa2816ae"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "authorization-error": "Unauthorized",
                      "detail": "Failure while processing the request!",
                      "instance": "/ris/onfido",
                      "status": 401,
                      "title": "Unauthorized",
                      "traceId": "79c50d0b82206e76192f7de64d42e2d4",
                      "type": "urn:ris:error:unauthorized"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Unauthorized",
            "headers": {
              "X-Trace-Id": {
                "description": "Correlation id per request/response for debug purpose",
                "schema": {
                  "type": "string"
                },
                "x-example": "59b7807e80588fc36b04e522807db8f3cf00eaa3e1cb0deb355347d2aa2816ae"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "detail": "Failure while processing the request!",
                      "instance": "/ris/onfido",
                      "status": 500,
                      "title": "Internal Server Error",
                      "traceId": "327725e316216679503dd9667256e02f",
                      "type": "about:blank"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "A general problem with the server.",
            "headers": {
              "X-Trace-Id": {
                "description": "Correlation id per request/response for debug purpose",
                "schema": {
                  "type": "string"
                },
                "x-example": "59b7807e80588fc36b04e522807db8f3cf00eaa3e1cb0deb355347d2aa2816ae"
              }
            }
          }
        },
        "tags": [
          "Onfido"
        ],
        "operationId": "createDossier",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DossierRequestDto"
              }
            }
          }
        },
        "summary": "Create a dossier"
      }
    }
  },
  "components": {
    "schemas": {
      "DossierRequestDto": {
        "properties": {
          "externalReference": {
            "description": "Merchant specific reference to be associated with the dossier",
            "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "type": "string"
          }
        },
        "type": "object"
      },
      "DossierResponseDto": {
        "properties": {
          "createdAt": {
            "description": "The date and time the dossier was created",
            "example": "2023-12-15T13:36:43.590Z",
            "type": "string"
          },
          "dossierId": {
            "description": "Unique identifier of the dossier",
            "example": "f3586299-a7f3-074b-8c49-eaf866810210",
            "type": "string"
          },
          "externalReference": {
            "description": "Merchant specific reference to be associated with the dossier",
            "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "type": "string"
          },
          "updatedAt": {
            "description": "The date and time the dossier was updated",
            "example": "2023-12-15T13:36:43.590Z",
            "type": "string"
          }
        },
        "required": [
          "dossierId"
        ],
        "type": "object"
      },
      "ErrorResponse": {
        "properties": {
          "detail": {
            "description": "Detail of the error",
            "example": "Failure while processing the request!",
            "type": "string"
          },
          "instance": {
            "description": "Instance of the error",
            "example": "/ris/resource/d5cc0517-4e2b-4e80-8442-46a5a130b03e",
            "type": "string"
          },
          "status": {
            "description": "Status of the error",
            "example": 400,
            "format": "int32",
            "type": "integer"
          },
          "title": {
            "description": "Tittle of the error",
            "example": "Internal Server Error",
            "type": "string"
          },
          "traceId": {
            "description": "Id of the error, so that it can be investigated on the persisted logs",
            "example": "40b664267dbf2e1cec98de4a733bbd01",
            "type": "string"
          },
          "type": {
            "description": "Type of the error",
            "example": "urn:ris:error:input-validation",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "clientId": {
        "description": "ClientId as provided by the Rabobank developer portal.",
        "in": "header",
        "name": "X-IBM-Client-Id",
        "type": "apiKey"
      }
    }
  },
  "security": [
    {
      "clientId": []
    }
  ],
  "x-components": {},
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false
  }
}
```