---
agentTools:
  projectIndex: https://design-pickle.readme.io/llms.txt
---

# Get Request Type

Retrieves a specific request type by ID.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "servers": [
    {
      "url": "https://jar.designpickle.com/api/v2"
    }
  ],
  "info": {
    "title": "Design Pickle API",
    "version": "2.0.0",
    "description": "The Design Pickle API allows users to interact with the Design Pickle Platform more effectively.\nIt offers enhanced security, refined request retrieval, and improved request management capabilities.\n"
  },
  "tags": [
    {
      "name": "Endpoints",
      "description": "The Design Pickle API provides the following endpoints to interact with various resources:\n"
    }
  ],
  "paths": {
    "/request_types/{requestTypeId}": {
      "get": {
        "tags": [
          "Endpoints"
        ],
        "summary": "Get Request Type",
        "description": "Retrieves a specific request type by ID.",
        "operationId": "getRequestType",
        "parameters": [
          {
            "in": "path",
            "name": "requestTypeId",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "The ID of the request type to retrieve."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/RequestType"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundError"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      }
    },
    "schemas": {
      "RequestType": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "category": {
            "type": "string"
          },
          "formats": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "source": {
                  "type": "boolean"
                }
              }
            }
          },
          "imageUrl": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "sizes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "details": {
                  "type": "string"
                },
                "height": {
                  "type": "integer",
                  "nullable": true
                },
                "name": {
                  "type": "string"
                },
                "units": {
                  "type": "string",
                  "nullable": true
                },
                "width": {
                  "type": "integer",
                  "nullable": true
                }
              }
            }
          }
        }
      }
    },
    "responses": {
      "UnauthorizedError": {
        "description": "Unauthorized",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error": {
                  "type": "string",
                  "description": "A description of the error."
                }
              }
            }
          }
        }
      },
      "NotFoundError": {
        "description": "Not found",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error": {
                  "type": "string",
                  "description": "A description of the error."
                }
              }
            }
          }
        }
      },
      "InternalServerError": {
        "description": "Internal server error",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "error": {
                  "type": "string",
                  "description": "A description of the error."
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 102,
      "1": 132,
      "2": 38,
      "3": 187,
      "4": 9,
      "5": 77,
      "6": 95,
      "7": 0,
      "8": 89,
      "9": 9,
      "10": 29,
      "11": 56
    }
  }
}
```