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

# Upload document

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "",
    "title": "Rabo Identity Services - Sign API",
    "version": "1.55.0",
    "x-api-id": "cee97266-f5b5-4d8c-9ed2-c8eb8b3a7082",
    "x-ibm-name": "rabo-identity-services-signapi"
  },
  "servers": [
    {
      "url": "https://api.rabobank.nl/openapi/",
      "description": "Production server"
    },
    {
      "url": "https://api-sandbox.rabobank.nl/openapi/sandbox/",
      "description": "Sandbox server"
    }
  ],
  "paths": {
    "/ris/sign/documents": {
      "post": {
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentUploadResponse"
                }
              }
            },
            "description": "Created resource",
            "headers": {
              "X-Trace-Id": {
                "description": "Correlation id per request/response for debug purpose",
                "schema": {
                  "type": "string"
                },
                "x-example": "a84937c8faee639291ce01c19ca64e01a8af71c0d79d8cb93c04d30d21b62a18"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "detail": "Invalid request content.",
                      "instance": "/ris/sign",
                      "invalid-context": [
                        {
                          "field": "file",
                          "reason": "File name should be less than 50 characters without the extension."
                        }
                      ],
                      "status": 400,
                      "title": "Bad Request",
                      "traceId": "f499f7d9ae692eb6bffab82970c70bf9",
                      "type": "urn:ris:error:input-validation"
                    }
                  }
                },
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Bad request",
            "headers": {
              "X-Trace-Id": {
                "description": "Correlation id per request/response for debug purpose",
                "schema": {
                  "type": "string"
                },
                "x-example": "a84937c8faee639291ce01c19ca64e01a8af71c0d79d8cb93c04d30d21b62a18"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "authorization-error": "Unauthorized",
                      "detail": "Failure while processing the request!",
                      "instance": "/ris/sign",
                      "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": "a84937c8faee639291ce01c19ca64e01a8af71c0d79d8cb93c04d30d21b62a18"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "detail": "Failure while processing the request!",
                      "instance": "/ris/sign",
                      "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": "a84937c8faee639291ce01c19ca64e01a8af71c0d79d8cb93c04d30d21b62a18"
              }
            }
          }
        },
        "tags": [
          "Sign"
        ],
        "operationId": "uploadDocument",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "properties": {
                  "file": {
                    "format": "binary",
                    "type": "string"
                  }
                },
                "required": [
                  "file"
                ],
                "type": "object"
              }
            }
          }
        },
        "summary": "Upload document"
      }
    }
  },
  "components": {
    "schemas": {
      "DocumentUploadResponse": {
        "properties": {
          "documentId": {
            "description": "Unique identifier of the uploaded document",
            "example": "f0ecc204-e43b-444c-ae37-4d45ff3b2897",
            "type": "string"
          }
        },
        "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
  }
}
```