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

# List themes

> Retrieves all themes and their codes that are currently configured.

A theme code can be supplied when creating a package; the package will then
be rendered with the requested theming.



## OpenAPI

````yaml /nsev/api-reference/openapi.yaml get /themes
openapi: 3.0.0
info:
  title: NSEV WebPortal API
  version: 4.0.0
  contact:
    name: NSEV Support Team
    url: https://connectivegroup.my.site.com/s/contactsupport?language=en_US
  description: >
    **Nitro Sign Enterprise Verified (NSEV) WebPortal API Version 4**


    A comprehensive digital signing API that enables secure document signing
    workflows.

    This API provides endpoints for managing packages, documents, elements,
    stakeholders, 

    and signing processes within the NSEV platform.


    ## Authentication


    This API supports multiple authentication methods:


    ### Basic Authentication

    Traditional HTTP Basic Authentication using username and password.


    ### OAuth 2.0


    **Client Credentials Flow (Machine-to-Machine)**

    - Full API access including administrative endpoints

    - Ideal for server-to-server integrations


    **Authorization Code Flow (User-based)**

    - Limited API access excluding administrative endpoints

    - Ideal for user-facing applications

    - Supports delegated user access scenarios


    ## API Variants


    This specification is available in two variants:

    - **Full API**: Complete API with all endpoints (BasicAuth + OAuth2 M2M)

    - **User API**: Limited API excluding admin endpoints (OAuth2 user-based
    only)


    Administrative endpoints (`/poisonqueue`, `/absenceperiods`, `/auditproofs`)
    are 

    restricted to machine-to-machine authentication only.
        
    ## Versioning


    This API follows semantic versioning principles. Major version changes may
    introduce

    breaking changes, while minor and patch versions maintain backwards
    compatibility.
servers:
  - url: '{baseUrl}/esig/webportalapi/v4'
    variables:
      baseUrl:
        default: https://your-tenant.sign.gonitro.com
        description: >-
          Your tenant-specific base URL, including scheme and host (e.g.
          https://acme.sign.gonitro.com). Each NSEV customer has a unique URL.
          Replace this with yours before sending a request. The esig path
          segment is required - the Web Application Firewall routes requests on
          it.
security:
  - basicAuth: []
  - bearerAuth: []
tags:
  - name: Configuration
    description: |
      Endpoints for retrieving system configuration settings,
      contact groups, templates and signing methods.
  - name: Packages
    description: |
      Core endpoints for creating, managing, and tracking packages
      throughout their lifecycle.
  - name: Documents
    description: |
      Endpoints for adding, removing, and managing documents within packages.
      Handles document upload, processing, and metadata management.
  - name: Elements
    description: |
      Endpoints for managing elements (fields) within documents,
      including signatures and other form elements.
  - name: Stakeholders
    description: |
      Endpoints for managing stakeholders (recipients)
      associated with packages and their roles in the package workflow.
  - name: Actors
    description: |
      Endpoints for managing individual actors within stakeholders,
      including their contact information and role preferences:
      Approver, FormFiller, Signer or Receiver
  - name: Process
    description: |
      Endpoints for managing the package process workflow, including
      process steps, parallel actions, and workflow orchestration.
  - name: AuditTrails
    description: |
      Modern endpoints for retrieving comprehensive audit trails as signed PDFs,
      verifying the integrity of audit trail data and retrieving audit events.
  - name: BulkActions
    description: |
      Endpoints for performing and managing bulk actions on multiple packages.
  - name: Users
    description: |
      Endpoints for managing user accounts, including user invitations.
  - name: AbsencePeriods
    description: |
      Administrative endpoints for managing user absence periods and
      delegation settings during out-of-office scenarios.

      **Access Level**: Machine-to-machine only (administrative access required)
paths:
  /themes:
    get:
      tags:
        - Configuration
      summary: List themes
      description: >-
        Retrieves all themes and their codes that are currently configured.


        A theme code can be supplied when creating a package; the package will
        then

        be rendered with the requested theming.
      operationId: listThemes
      parameters:
        - $ref: '#/components/parameters/continuationToken'
        - $ref: '#/components/parameters/maxQuantity'
        - $ref: '#/components/parameters/sortOrder'
        - name: sortField
          description: specify on which field to sort
          in: query
          schema:
            type: string
            default: code
            enum:
              - name
              - code
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  ContinuationToken:
                    $ref: '#/components/schemas/ContinuationToken'
                  Items:
                    type: array
                    description: The list containing the Themes
                    items:
                      type: object
                      properties:
                        Code:
                          type: string
                          description: The code of the Theme
                        Name:
                          type: string
                          description: The name of the Theme
                  MaxQuantity:
                    type: integer
                    description: >-
                      The maximum number of results that will be returned per
                      request
                  Total:
                    type: integer
                    description: The total number of results.
                example:
                  ContinuationToken: '1'
                  Items:
                    - Name: Nitro Theme
                      Code: '00000'
                    - Name: System Theme
                      Code: '00001'
                    - Name: My theme
                      Code: '00003'
                  MaxQuantity: 20,
                  Total: 3
              examples:
                themes:
                  summary: OK
                  value:
                    ContinuationToken: '2'
                    Items:
                      - Code: '00001'
                        Name: Corporate
                      - Code: '00002'
                        Name: High contrast
                    MaxQuantity: 100
                    Total: 2
        '400':
          description: >-
            When the MaxQuantity value was too large or the ContinuationToken
            invalid
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ValidationError'
              examples:
                invalid-request:
                  summary: >-
                    When the MaxQuantity value was too large or the
                    ContinuationToken invalid
                  value:
                    - ErrorCode: Request.UnsupportedValue
                      ErrorMessage: The provided value is not supported.
        '401':
          $ref: '#/components/responses/UnAuthorized'
components:
  parameters:
    continuationToken:
      name: continuationToken
      in: query
      description: >-
        The token to return to request the next page: the next page number as a
        string

        (for example `'2'`), as returned in the previous response's
        `ContinuationToken`.
      schema:
        type: string
    maxQuantity:
      name: maxQuantity
      in: query
      description: The maximum number of results to return
      schema:
        type: integer
        minimum: 1
        maximum: 50
        default: 20
    sortOrder:
      name: sortOrder
      in: query
      description: specify how the result is sorted, default is ascending
      schema:
        type: string
        default: asc
        enum:
          - asc
          - desc
  schemas:
    ContinuationToken:
      type: string
      description: >-
        The token to pass as `continuationToken` to request the next page: the
        next page number as a string.
      example: '1'
    ValidationError:
      title: Validation error
      allOf:
        - $ref: '#/components/schemas/Error'
        - description: Request failed validation
          example:
            ErrorCode: Name.MinimumLength:6
            ErrorMessage: The minimum length for a name is 6
    Error:
      title: Error
      type: object
      description: Something that went wrong
      example:
        ErrorCode: Something.WentWrong
        ErrorMessage: Something went wrong
      properties:
        ErrorCode:
          type: string
          description: >-
            An error code of something that went wrong, in the form of
            'Subject.Error:value'
        ErrorMessage:
          type: string
          description: A human-readable explanation of what went wrong
  responses:
    UnAuthorized:
      description: Caller is unauthorized to perform this operation
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >
        Bearer token authentication using JSON Web Tokens (JWT) or opaque
        tokens.


        **Usage**: Send the access token in the Authorization header:

        ```

        Authorization: Bearer <access_token>

        ```

````