---
ai:
  exclude: true
search:
  tags:
    - statuscategory
    - GET
seo:
  description: >-
    Returns a full representation of the… Reference for the GET
    /api/2/statuscategory/{idOrKey} endpoint in the Jira Software Data Center
    REST API Reference.
sidebar:
  label: Get status category by ID or key
  badge: GET
title: Get status category by ID or key
type: openapi-operation
---
Returns a full representation of the StatusCategory having the given id or key

`GET /api/2/statuscategory/{idOrKey}`

**Responses**

- `200` — Returns a full representation of a Jira issue status category in JSON format.
- `404` — Returned if the requested issue status category is not found, or the user does not have permission to view it.

Response example, 200:

```json
{
  "colorName": "blue-gray",
  "id": 1,
  "key": "new",
  "name": "To Do",
  "self": "http://localhost:8090/jira/rest/api/2.0/statuscategory/1"
}
```
