> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gnosispay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create identity-document renewal session

> Starts or resumes identity-document collection for an available renewal.
Request only the credential used by the client and do not log the
returned value.



## OpenAPI

````yaml https://core.prod.gnosispay.com/user-api/openapi.json post /kyc/document-renewal/session
openapi: 3.2.0
info:
  title: User Service
  version: 0.0.0
servers:
  - url: https://core.prod.gnosispay.com/user-api
    description: Production
    variables: {}
  - url: https://core.sandbox.gnosispay.in/user-api
    description: Sandbox
    variables: {}
security: []
tags:
  - name: Auth
  - name: User
  - name: Terms
  - name: Source of Funds
  - name: Phone
  - name: User Account
  - name: Cards
  - name: User Movements
  - name: KYC
  - name: PCI
  - name: 3DS
  - name: Health
paths:
  /kyc/document-renewal/session:
    post:
      tags:
        - KYC
      summary: Create identity-document renewal session
      description: |-
        Starts or resumes identity-document collection for an available renewal.
        Request only the credential used by the client and do not log the
        returned value.
      operationId: KYC_createDocumentRenewalSession
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDocumentRenewalSessionRequest'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentRenewalSession'
        '401':
          description: Access is unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Unauthorized'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFound'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - BearerAuth: []
components:
  schemas:
    CreateDocumentRenewalSessionRequest:
      type: object
      required:
        - credentials
      properties:
        credentials:
          type: array
          items:
            $ref: '#/components/schemas/DocumentRenewalCredential'
          minItems: 1
          description: >-
            Verification credentials to return. Request only the credential used
            by the client.
    DocumentRenewalSession:
      type: object
      properties:
        mobileSdkToken:
          type: string
          description: Token for a native mobile verification experience, when requested.
        webSdkUrl:
          type: string
          description: URL for a hosted web verification experience, when requested.
    Unauthorized:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
    NotFound:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
    Error:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
    DocumentRenewalCredential:
      type: string
      enum:
        - mobile_sdk_token
        - web_sdk_url
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.