> ## Documentation Index
> Fetch the complete documentation index at: https://thehyperstack.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# View Credential Group

### Description

This endpoint allows you to **view an existing credential group** in Hyperstack. The group key is passed as a URL path parameter.

### Headers

<ParamField header="Authorization" type="string" required="true">
  Bearer YOUR\_API\_TOKEN — obtainable from **Hyperstack Dashboard → Settings → API Access**
</ParamField>

### Path Parameters

<ParamField path="group_key" type="string" required="true">
  Unique key of the credential group to retrieve.
</ParamField>

### Success Response Fields

<ResponseField name="success" type="boolean">
  Indicates whether the request was successful. Always `true` for a 200 response.
</ResponseField>

<ResponseField name="title" type="string">
  The title of the credential group.
</ResponseField>

<ResponseField name="description" type="string">
  Description of the credential group.
</ResponseField>

<ResponseField name="tags" type="string">
  Comma-separated tags associated with the credential group.
</ResponseField>

<ResponseField name="group_code" type="string">
  Human-readable code for the group.
</ResponseField>

<ResponseField name="url" type="string">
  External URL associated with the credential group.
</ResponseField>

<ResponseField name="does_expire" type="boolean">
  Indicates whether credentials in this group expire.
</ResponseField>

<ResponseField name="validity" type="number">
  Validity period in years. Only present when `does_expire` is `true`.
</ResponseField>

### Responses

<ResponseExample>
  ```json 200 Success theme={null}
  {
    "success": true,
    "title": "Course Completion Certificate",
    "description": "Awarded upon successful completion of the course.",
    "tags": "apple,mango,orange",
    "group_code": "CERT-2024",
    "url": "https://acme.com/course",
    "does_expire": true,
    "validity": 1
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "success": false,
    "error": "Group Not Found",
    "error_code": "not_found"
  }
  ```

  ```json 401 Unauthorized theme={null}
  {
    "detail": "Invalid token or organization not found"
  }
  ```
</ResponseExample>

```bash theme={null}
curl -X GET "https://api.thehyperstack.com/v1/group/view/SBXCmfk47u5y" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
```
