View Credential Group
curl --request GET \
--url https://api.thehyperstack.com/v1/group/view/{group_key}import requests
url = "https://api.thehyperstack.com/v1/group/view/{group_key}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.thehyperstack.com/v1/group/view/{group_key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.thehyperstack.com/v1/group/view/{group_key}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.thehyperstack.com/v1/group/view/{group_key}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.thehyperstack.com/v1/group/view/{group_key}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.thehyperstack.com/v1/group/view/{group_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"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
}
{
"success": false,
"error": "Group Not Found",
"error_code": "not_found"
}
{
"detail": "Invalid token or organization not found"
}
Credential Groups
View Credential Group
GET
/
v1
/
group
/
view
/
{group_key}
View Credential Group
curl --request GET \
--url https://api.thehyperstack.com/v1/group/view/{group_key}import requests
url = "https://api.thehyperstack.com/v1/group/view/{group_key}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.thehyperstack.com/v1/group/view/{group_key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.thehyperstack.com/v1/group/view/{group_key}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.thehyperstack.com/v1/group/view/{group_key}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.thehyperstack.com/v1/group/view/{group_key}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.thehyperstack.com/v1/group/view/{group_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"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
}
{
"success": false,
"error": "Group Not Found",
"error_code": "not_found"
}
{
"detail": "Invalid token or organization not found"
}
Description
This endpoint allows you to view an existing credential group in Hyperstack. The group key is passed as a URL path parameter.Headers
string
required
Bearer YOUR_API_TOKEN — obtainable from Hyperstack Dashboard → Settings → API Access
Path Parameters
string
required
Unique key of the credential group to retrieve.
Success Response Fields
boolean
Indicates whether the request was successful. Always
true for a 200 response.string
The title of the credential group.
string
Description of the credential group.
string
Comma-separated tags associated with the credential group.
string
Human-readable code for the group.
string
External URL associated with the credential group.
boolean
Indicates whether credentials in this group expire.
number
Validity period in years. Only present when
does_expire is true.Responses
{
"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
}
{
"success": false,
"error": "Group Not Found",
"error_code": "not_found"
}
{
"detail": "Invalid token or organization not found"
}
curl -X GET "https://api.thehyperstack.com/v1/group/view/SBXCmfk47u5y" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Last modified on February 22, 2026
Was this page helpful?

