RequestKit
API ReferenceRequests

Get a request

Get a request

GET
/api/v1/requests/{request_id}

Path Parameters

request_idRequiredstring

The ID of the request

Query Parameters

includeRequesterboolean

Whether to include requester information

Default: false
userIdentifierstring

User identifier to check if the user has upvoted

Header Parameters

x-request-kit-keyRequiredstring
curl -X GET "http://localhost:3000/api/v1/requests/req_123456789?includeRequester=true&userIdentifier=user123" \
  -H "x-request-kit-key: <string>"

Request details retrieved successfully

{
  "id": "req_123456789",
  "title": "Add dark mode",
  "description": "Please add dark mode to the application",
  "createdAt": "2023-01-01T00:00:00.000Z",
  "upvotes": 42,
  "isUpvoted": true,
  "status": {
    "name": "In Progress",
    "color": "#00FF00",
    "description": "We are working on this"
  },
  "requester": {
    "identifier": "user123",
    "email": "[email protected]",
    "name": "John Doe"
  }
}