# List loyalty club oidc keys

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/loyalty_clubs/oauth2/keys:
    get:
      summary: List loyalty club oidc keys
      deprecated: false
      description: ''
      tags:
        - API Reference/Management API/Core/OAuth2/Keys
      parameters:
        - name: per_page
          in: query
          description: >-
            Number of results to be returned per request. See: [API
            Pagination](doc-341638)
          example: 10
          schema:
            type: integer
            default: '10'
        - name: page_no
          in: query
          description: 'Number of results page. See: [API Pagination](doc-341638)'
          example: 1
          schema:
            type: integer
            minimum: 1
            default: '1'
        - name: Content-Type
          in: header
          description: '[Details](doc-341635)'
          required: true
          example: application/json
          schema:
            type: string
            default: application/json
            const: application/json
        - name: X-User-Agent
          in: header
          description: Arbitrary identifier of your client. [Details](doc-341635)
          required: true
          example: '{{X_USER_AGENT}}'
          schema:
            type: string
            default: '{{X_USER_AGENT}}'
        - name: X-Product-Name
          in: header
          description: API Product for API context. [Details](doc-341635)
          required: true
          example: '{{PRODUCT_NAME}}'
          schema:
            type: string
            default: '{{PRODUCT_NAME}}'
        - name: X-Loyalty-Club-Slug
          in: header
          description: LoyaltyClub for API context. [Details](doc-342138)
          required: false
          example: '{{LOYALTY_CLUB_SLUG}}'
          schema:
            type: string
            default: '{{LOYALTY_CLUB_SLUG}}'
        - name: Authorization
          in: header
          description: '[Member](doc-342129) or [User](doc-342130) Authorization.'
          required: false
          example: Bearer {{_OAUTH_TOKEN}}
          schema:
            type: string
            default: Bearer {{_OAUTH_TOKEN}}
        - name: X-Client-Authorization
          in: header
          description: '[Token](doc-342128) Authorization.'
          example: '{{API_TOKEN}}'
          schema:
            type: string
            default: '{{API_TOKEN}}'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  keys:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                        loyalty_club_id:
                          type: integer
                        algorithm:
                          type: string
                        kid:
                          type: string
                          pattern: ^[A-Za-z0-9]+
                        created_at: &ref_0
                          $ref: '#/components/schemas/date_time.created_at'
                        updated_at: &ref_1
                          $ref: '#/components/schemas/date_time.updated_at'
                      x-apidog-orders:
                        - id
                        - loyalty_club_id
                        - algorithm
                        - kid
                        - created_at
                        - updated_at
                      required:
                        - id
                        - loyalty_club_id
                        - algorithm
                        - kid
                        - created_at
                        - updated_at
                      $ref: '#/components/schemas/Oauth2Key'
                  pagination_info:
                    $ref: '#/components/schemas/PaginationInfo'
                x-apidog-orders:
                  - keys
                  - pagination_info
                required:
                  - keys
                  - pagination_info
                x-apidog-ignore-properties: []
              example:
                keys:
                  - id: 26
                    loyalty_club_id: 3
                    algorithm: rs256
                    kid: gXjRr7J9GHP
                    created_at: '2022-11-05T16:25:58.099512Z'
                    updated_at: '2022-11-15T16:25:58.099512Z'
                  - id: 3
                    loyalty_club_id: 5
                    algorithm: rs256
                    kid: PKq4mjU
                pagination_info:
                  total_count: 2
          headers: {}
          x-apidog-name: OK
      security: []
      x-apidog-folder: API Reference/Management API/Core/OAuth2/Keys
      x-apidog-status: developing
      x-run-in-apidog: https://app.eu.apidog.com/web/project/346351/apis/api-3954487-run
components:
  schemas:
    PaginationInfo:
      type: object
      properties:
        count:
          type: integer
          description: Actual number of results returned in request
          readOnly: true
          examples:
            - 1000
        total_count:
          type: integer
          description: Number of all available results
          minimum: 1
          examples:
            - 2050
        per_page:
          type: integer
          description: Number of results returned per request
          readOnly: true
          examples:
            - 1000
        total_pages:
          type: integer
          description: Number of all available pages
          readOnly: true
          examples:
            - 3
        current_page:
          type: integer
          readOnly: true
          examples:
            - 1
        next_page:
          type: integer
          description: Next available page (null when it's a last page)
          readOnly: true
          examples:
            - 2
          nullable: true
        prev_page:
          type: integer
          description: Next available page (null when it's a first page)
          readOnly: true
          examples:
            - null
          nullable: true
        is_first_page:
          type: boolean
          readOnly: true
          examples:
            - true
        is_last_page:
          type: boolean
          readOnly: true
          examples:
            - false
        is_out_of_range:
          type: boolean
          description: Is given `per_page` param out of range?
          readOnly: true
          examples:
            - false
        offset:
          type: integer
          readOnly: true
          examples:
            - 0
      required:
        - count
        - total_count
        - per_page
        - total_pages
        - current_page
        - next_page
        - prev_page
        - is_first_page
        - is_last_page
        - is_out_of_range
        - offset
      x-apidog-orders:
        - count
        - total_count
        - per_page
        - total_pages
        - current_page
        - next_page
        - prev_page
        - is_first_page
        - is_last_page
        - is_out_of_range
        - offset
      readOnly: true
      x-apidog-ignore-properties: []
      nullable: true
      x-apidog-folder: ''
    date_time.updated_at:
      type: string
      description: Time of the last record update
      format: date-time
      examples:
        - '2022-11-15T16:25:58.099512Z'
      readOnly: true
      x-apidog-folder: ''
    date_time.created_at:
      type: string
      description: Time of record creation
      format: date-time
      examples:
        - '2022-11-05T16:25:58.099512Z'
      readOnly: true
      x-apidog-folder: ''
    Oauth2Key:
      type: object
      properties:
        id:
          type: integer
        loyalty_club_id:
          type: integer
        algorithm:
          type: string
          examples:
            - rs256
        kid:
          type: string
          pattern: ^[A-Za-z0-9-_]+
        created_at: *ref_0
        updated_at: *ref_1
      x-apidog-orders:
        - id
        - loyalty_club_id
        - algorithm
        - kid
        - created_at
        - updated_at
      required:
        - id
        - loyalty_club_id
        - algorithm
        - kid
        - created_at
        - updated_at
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.mpc.dev.placewise.com
    description: Staging
security: []

```