---
title: "List service requests"
url: "https://portal2.konghotels.cloud/apis/kong-hotels-guest-stay-api-1/versions/b4bfa113-0e33-46cc-8723-38e7ac5e7863/operations/listServiceRequests"
---

> Full API specification: https://portal2.konghotels.cloud/apis/kong-hotels-guest-stay-api-1/versions/b4bfa113-0e33-46cc-8723-38e7ac5e7863.md

# List service requests

`GET` `/stays/{confirmationNumber}/service-requests`

Operation ID: `listServiceRequests`

## Path parameters

- `confirmationNumber` (string, required) - Confirmation number from the Partner API reservation.

## Query parameters

- `status` (string, optional)
- `per_page` (integer, optional)
- `cursor` (string, optional) - Opaque cursor from `meta.next_cursor` / `links.next`.

## Responses

- `200` - Requests for this stay, newest first.
- `401` - Rejected by Kong Gateway: missing or invalid credentials.
- `404` - Not found, or not visible to your consumer.
- `429` - Too many requests.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Kong Hotels Guest Stay API
  version: 1.0.0
servers:
  - url: https://stay.konghotels.cloud
    description: Production (Kong Gateway)
paths:
  /stays/{confirmationNumber}/service-requests:
    get:
      tags:
        - Service Requests
      operationId: listServiceRequests
      summary: List service requests
      parameters:
        - $ref: "#/components/parameters/ConfirmationNumber"
        - name: status
          in: query
          schema:
            $ref: "#/components/schemas/ServiceRequestStatus"
        - $ref: "#/components/parameters/PerPage"
        - $ref: "#/components/parameters/Cursor"
      responses:
        "200":
          description: Requests for this stay, newest first.
          headers:
            X-Request-ID:
              $ref: "#/components/headers/RequestId"
          content:
            application/json:
              schema:
                allOf:
                  - type: object
                    required:
                      - data
                    properties:
                      data:
                        type: array
                        items:
                          $ref: "#/components/schemas/ServiceRequest"
                  - $ref: "#/components/schemas/CursorPage"
        "401":
          $ref: "#/components/responses/Unauthorized"
        "404":
          $ref: "#/components/responses/NotFound"
        "429":
          $ref: "#/components/responses/RateLimited"
security:
  - KongKeyAuth: []
components:
  parameters:
    ConfirmationNumber:
      name: confirmationNumber
      in: path
      required: true
      description: Confirmation number from the Partner API reservation.
      schema:
        type: string
        examples:
          - KH4DEMO01
    PerPage:
      name: per_page
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 25
    Cursor:
      name: cursor
      in: query
      description: Opaque cursor from `meta.next_cursor` / `links.next`.
      schema:
        type: string
  schemas:
    ServiceRequestStatus:
      type: string
      enum:
        - open
        - in_progress
        - completed
        - cancelled
    ServiceRequest:
      type: object
      properties:
        id:
          type: string
          examples:
            - sr_01J9ZK
        service_code:
          type: string
        service_name:
          type: string
        category:
          $ref: "#/components/schemas/ServiceCategory"
        quantity:
          type: integer
        note:
          type:
            - string
            - "null"
        status:
          $ref: "#/components/schemas/ServiceRequestStatus"
        room_number:
          type: string
        created_at:
          type: string
          format: date-time
        preferred_time:
          type:
            - string
            - "null"
          format: date-time
        completed_at:
          type:
            - string
            - "null"
          format: date-time
    CursorPage:
      type: object
      properties:
        links:
          type: object
          properties:
            first:
              type:
                - string
                - "null"
            last:
              type:
                - string
                - "null"
            prev:
              type:
                - string
                - "null"
            next:
              type:
                - string
                - "null"
        meta:
          type: object
          properties:
            path:
              type: string
            per_page:
              type: integer
            next_cursor:
              type:
                - string
                - "null"
            prev_cursor:
              type:
                - string
                - "null"
    ServiceCategory:
      type: string
      enum:
        - housekeeping
        - amenities
        - maintenance
        - concierge
    Problem:
      type: object
      description: RFC 9457 problem details. Same shape as the Partner API.
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        instance:
          type: string
        request_id:
          type: string
      additionalProperties: true
  headers:
    RequestId:
      description: Unique request identifier for support.
      schema:
        type: string
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
  responses:
    Unauthorized:
      description: "Rejected by Kong Gateway: missing or invalid credentials."
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/Problem"
          example:
            type: https://api.konghotels.cloud/problems/unauthorized
            title: Unauthorized
            status: 401
            detail: Missing or invalid API key.
            request_id: 9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d
    NotFound:
      description: Not found, or not visible to your consumer.
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/Problem"
          example:
            type: https://api.konghotels.cloud/problems/not-found
            title: Resource not found
            status: 404
            detail: Stay not found.
            request_id: 9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d
    RateLimited:
      description: Too many requests.
      headers:
        Retry-After:
          $ref: "#/components/headers/RetryAfter"
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/Problem"
  securitySchemes:
    KongKeyAuth:
      type: apiKey
      in: header
      name: apikey
      description: Your API key, validated by Kong Gateway.
```
