> ## 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.

# Get identity-document renewal

> Returns the authenticated user's current identity-document renewal state.
This operation is read-only. It does not start document collection or
create verification credentials.



## OpenAPI

````yaml https://core.prod.gnosispay.com/user-api/openapi.json get /kyc/document-renewal
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:
    get:
      tags:
        - KYC
      summary: Get identity-document renewal
      description: >-
        Returns the authenticated user's current identity-document renewal
        state.

        This operation is read-only. It does not start document collection or

        create verification credentials.
      operationId: KYC_getDocumentRenewal
      parameters: []
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentRenewal'
        '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:
    DocumentRenewal:
      type: object
      required:
        - status
        - canCreateSession
      properties:
        status:
          $ref: '#/components/schemas/DocumentRenewalStatus'
          description: Current renewal state for this user.
        documentExpiresAt:
          type: string
          format: date-time
          description: Expiry of the identity document that started the renewal.
        graceExpiresAt:
          type: string
          format: date-time
          description: Time when use becomes restricted until renewal completes.
        canCreateSession:
          type: boolean
          description: Whether this user can create or resume a renewal session.
    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
    DocumentRenewalStatus:
      type: string
      enum:
        - not_required
        - upcoming
        - action_required
        - in_progress
        - restricted
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````

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