---
updatedAt: 2026-11-04T12:15:03.000Z
agentTools:
  projectIndex: https://docs.developer.rabobank.com/identity-risk/llms.txt
---

# Create session

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "",
    "title": "Rabo Identity Services - itsme",
    "version": "1.55.0",
    "x-api-id": "6c9d3a43-35de-4f3b-ae40-84fa3f37066e",
    "x-ibm-name": "rabo-identity-services-itsme"
  },
  "servers": [
    {
      "url": "https://api.rabobank.nl/openapi/",
      "description": "Production server"
    },
    {
      "url": "https://api-sandbox.rabobank.nl/openapi/sandbox/",
      "description": "Sandbox server"
    }
  ],
  "paths": {
    "/ris/auth/itsme/sessions": {
      "post": {
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItsMeCreateSessionResponseDto"
                }
              }
            },
            "description": "Successful operation",
            "headers": {
              "X-Trace-Id": {
                "description": "Correlation id per request/response for debug purpose",
                "schema": {
                  "type": "string"
                },
                "x-example": "be398b586404e53f04a2362c9a6e83103338d3164a448e0298c1751cb3d6cd1c"
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "detail": "Invalid request content.",
                      "instance": "/ris/auth/itsme/sessions",
                      "invalid-context": [
                        {
                          "field": "requestedAttributes",
                          "reason": "must not be empty"
                        }
                      ],
                      "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": "be398b586404e53f04a2362c9a6e83103338d3164a448e0298c1751cb3d6cd1c"
              }
            }
          },
          "401": {
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "authorization-error": "Unauthorized",
                      "detail": "Failure while processing the request!",
                      "instance": "/ris/auth/itsme",
                      "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": "be398b586404e53f04a2362c9a6e83103338d3164a448e0298c1751cb3d6cd1c"
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "detail": "Failure while processing the request!",
                      "instance": "/ris/auth/itsme",
                      "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": "be398b586404e53f04a2362c9a6e83103338d3164a448e0298c1751cb3d6cd1c"
              }
            }
          }
        },
        "tags": [
          "itsme"
        ],
        "operationId": "createSession",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ItsMeRequestDto"
              }
            }
          },
          "required": true
        },
        "summary": "Create session"
      }
    }
  },
  "components": {
    "schemas": {
      "CallBackUrlDto": {
        "description": "Specify the redirect URLs that should be applied in different scenarios, https is required for all callback URLs.",
        "properties": {
          "abort": {
            "description": "Redirect in case the flow is aborted",
            "example": "https://developer.rabobank.nl/api-documentation/abort",
            "type": "string"
          },
          "error": {
            "description": "Redirect in case the flow is failing",
            "example": "https://developer.rabobank.nl/api-documentation/failed",
            "type": "string"
          },
          "success": {
            "description": "Redirect in case the flow is successful",
            "example": "https://developer.rabobank.nl/api-documentation/success",
            "type": "string"
          }
        },
        "required": [
          "abort",
          "error",
          "success"
        ],
        "type": "object"
      },
      "ErrorDto": {
        "properties": {
          "code": {
            "description": "Code of the error",
            "example": "idp:sql-connection-problem",
            "type": "string"
          },
          "detail": {
            "description": "Details of the error",
            "example": "Enable to connect to SQL memory store",
            "type": "string"
          },
          "title": {
            "description": "Title of the error",
            "example": "SQL connection problem.",
            "type": "string"
          },
          "type": {
            "description": "Type of the error",
            "example": "https://example.com/errors#sql-connection-problem",
            "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"
      },
      "ItsMeRequestDto": {
        "properties": {
          "callbackUrls": {
            "$ref": "#/components/schemas/CallBackUrlDto"
          },
          "externalReference": {
            "description": "An external reference that can be set, which will be returned as a URL parameter on callbackUrls",
            "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "type": "string"
          },
          "language": {
            "description": "The desired language for the UI",
            "example": "nl",
            "type": "string"
          },
          "requestedAttributes": {
            "description": "The list of requested attributes for the identification of the user",
            "example": [
              "name",
              "firstName",
              "lastName",
              "email",
              "gender",
              "dateOfBirth",
              "locale",
              "picture",
              "nin",
              "phoneNumber",
              "address",
              "nationality",
              "placeOfBirth",
              "countryOfBirth",
              "itsmeDocumentNumber",
              "itsmeIssuanceLocality",
              "itsmeValidityFrom",
              "itsmeValidityTo",
              "itsmeReadDate",
              "itsmeNationalNumber",
              "itsmeOs",
              "itsmeAppName",
              "itsmeAppRelease",
              "itsmeDeviceLabel",
              "itsmeDebugEnabled",
              "itsmeDeviceId",
              "itsmeOsRelease",
              "itsmeManufacturer",
              "itsmeDeviceLockLevel",
              "itsmeSmsEnabled",
              "itsmeRooted",
              "itsmeImei",
              "itsmeDeviceModel",
              "itsmeSdkRelease"
            ],
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "sessionLifetime": {
            "description": "The default sessionLifetime is 1200s with a minimum of 300s. In case a value is set lower than 300s, a value of 300s is applied. The maximum value is 3599s.",
            "example": 1200,
            "format": "int64",
            "maximum": 3599,
            "type": "integer"
          },
          "type": {
            "type": "string",
            "description": "Type of the session",
            "enum": [
              "authentication",
              "identification"
            ]
          }
        },
        "required": [
          "callbackUrls",
          "requestedAttributes"
        ],
        "type": "object"
      },
      "ItsMeCreateSessionResponseDto": {
        "required": [
          "callbackUrls",
          "id",
          "status"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of the session",
            "example": "f3586299-a7f3-074b-8c49-eaf866810210"
          },
          "authenticationUrl": {
            "type": "string",
            "description": "The URL that should be used to redirect your user to for the identification",
            "example": "https://rabobank.nl/broker/sp/external-service/login?messageId=b7ff5ac0-5a35-a144-9831-1434d87d19dd&transactionId=f3586299-a7f3-074b-8c49-eaf866810210"
          },
          "status": {
            "type": "string",
            "description": "The current status of the session",
            "example": "SUCCESS",
            "enum": [
              "SUCCESS",
              "CREATED",
              "ERROR",
              "ABORT",
              "WAITING_FOR_USER",
              "EXPIRED"
            ]
          },
          "statusDetail": {
            "type": "string",
            "description": "More details in case the response leads to an error",
            "example": "Additional details on the status"
          },
          "provider": {
            "type": "string",
            "description": "The IdP which was used by the end-user to authenticate",
            "example": "itsme"
          },
          "callbackUrls": {
            "$ref": "#/components/schemas/CallBackUrlDto"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorDto"
          },
          "language": {
            "type": "string",
            "description": "The desired language for the UI",
            "example": "nl"
          },
          "requestedAttributes": {
            "type": "array",
            "description": "The list of requested attributes for the identification of the user",
            "example": [
              "idpId",
              "name",
              "firstName",
              "lastName",
              "email",
              "gender",
              "dateOfBirth",
              "locale",
              "picture",
              "nin",
              "phoneNumber",
              "address",
              "nationality",
              "placeOfBirth",
              "countryOfBirth",
              "itsmeDocumentNumber",
              "itsmeIssuanceLocality",
              "itsmeValidityFrom",
              "itsmeValidityTo",
              "itsmeReadDate",
              "itsmeNationalNumber",
              "itsmeOs",
              "itsmeAppName",
              "itsmeAppRelease",
              "itsmeDeviceLabel",
              "itsmeDebugEnabled",
              "itsmeDeviceId",
              "itsmeOsRelease",
              "itsmeManufacturer",
              "itsmeDeviceLockLevel",
              "itsmeSmsEnabled",
              "itsmeRooted",
              "itsmeImei",
              "itsmeDeviceModel",
              "itsmeSdkRelease"
            ],
            "items": {
              "type": "string"
            }
          },
          "externalReference": {
            "type": "string",
            "description": "An external reference that can be set, which will be returned as a URL parameter on callbackUrls",
            "example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
          },
          "sessionLifetime": {
            "type": "integer",
            "description": "The default sessionLifetime is 1200s with a minimum of 300s. In case a value is set lower than 300s, a value of 300s is applied. The maximum value is 3599s.",
            "format": "int64",
            "example": 1200
          }
        }
      }
    },
    "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
  }
}
```