---
updatedAt: 2026-05-14T14:32:15.000Z
agentTools:
  projectIndex: https://docs.oysterhr.com/v0.1/llms.txt
---

# Retrieve an individual request

Returns details for a request.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Endpoints",
    "version": "v0.1"
  },
  "components": {
    "securitySchemes": {
      "bearer_auth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "timeOffEngagementDetails": {
        "type": "object",
        "properties": {
          "engagementId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "pattern": "^[a-z_]+$"
          },
          "countryCode": {
            "type": "string"
          }
        },
        "required": [
          "engagementId",
          "name",
          "type",
          "countryCode"
        ]
      },
      "timeOffRequest": {
        "type": "object",
        "properties": {
          "timeOffRequestId": {
            "type": "string"
          },
          "engagement": {
            "$ref": "#/components/schemas/timeOffEngagementDetails"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "state": {
            "type": "string",
            "pattern": "^[a-z_]+$"
          },
          "timeOffType": {
            "type": "string",
            "pattern": "^[a-z_]+$"
          },
          "requesterComments": {
            "type": "string",
            "nullable": true
          },
          "rejectionReason": {
            "type": "string",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "pattern": "^[a-z_]+$"
          },
          "periodInHours": {
            "type": "number",
            "format": "float"
          }
        },
        "required": [
          "timeOffRequestId",
          "engagement",
          "startDate",
          "endDate",
          "state",
          "timeOffType",
          "requesterComments",
          "rejectionReason",
          "reason",
          "periodInHours"
        ]
      }
    }
  },
  "paths": {
    "/v0.1/time_off/requests/{id}": {
      "get": {
        "summary": "Retrieve an individual request",
        "tags": [
          "Time Off",
          "time_off",
          "@oysterhr/prepay"
        ],
        "description": "Returns details for a request.",
        "security": [
          {
            "bearer_auth": [
              "read"
            ]
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Time Off Request ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful",
            "content": {
              "application/json": {
                "examples": {
                  "Successful": {
                    "value": {
                      "data": {
                        "timeOffRequestId": "Abce6d0f",
                        "engagement": {
                          "engagementId": "A5540727",
                          "name": "Elba Corwin",
                          "type": "employment",
                          "countryCode": "US"
                        },
                        "startDate": "2020-02-03",
                        "endDate": "2020-02-04",
                        "startDateTimePeriod": "full_day",
                        "endDateTimePeriod": "full_day",
                        "startDateHours": null,
                        "endDateHours": null,
                        "state": "submitted",
                        "timeOffType": "vacation",
                        "requesterComments": "Need a rest",
                        "rejectionReason": null,
                        "reason": "paid_time_off",
                        "periodInHours": 16
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/timeOffRequest"
                    }
                  },
                  "required": [
                    "data"
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.oysterhr.com",
      "description": "Production server"
    },
    {
      "url": "https://api-sandbox.oysterhr.com",
      "description": "Sandbox server"
    }
  ]
}
```