curl --request GET \
--url https://api.getrecord.in/api/external/issuance/programs/prog_1779172339924_j3pr93 \
--header 'Authorization: Bearer sk_test_your_token_here'
{
"success": true,
"message": "Program fetched successfully",
"data": {
"programId": "prog_1779172339924_j3pr93",
"name": "MongoDB",
"description": "MongoDB Program",
"orgId": "org_1779085658651_hmhfv5",
"mode": "test",
"createdAt": "2025-05-19T12:12:19.924Z",
"updatedAt": "2025-05-19T12:12:19.924Z"
}
}
Issuance API
Get Program
Retrieve details of a single programme by its ID.
GET
/
api
/
external
/
issuance
/
programs
/
{programId}
curl --request GET \
--url https://api.getrecord.in/api/external/issuance/programs/prog_1779172339924_j3pr93 \
--header 'Authorization: Bearer sk_test_your_token_here'
{
"success": true,
"message": "Program fetched successfully",
"data": {
"programId": "prog_1779172339924_j3pr93",
"name": "MongoDB",
"description": "MongoDB Program",
"orgId": "org_1779085658651_hmhfv5",
"mode": "test",
"createdAt": "2025-05-19T12:12:19.924Z",
"updatedAt": "2025-05-19T12:12:19.924Z"
}
}
Overview
Returns full details for one programme. UseprogramId values from the List Programs response.
No request body required. Pass the
programId as a path parameter.Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
programId | string | Yes | The programId returned from List Programs |
Response Fields
| Field | Type | Description |
|---|---|---|
programId | string | Unique programme identifier |
name | string | Programme name |
description | string | Programme description |
orgId | string | Organisation the programme belongs to |
mode | string | "live" or "test" |
createdAt | string | ISO 8601 creation timestamp |
updatedAt | string | ISO 8601 last-updated timestamp |
Error Codes
| Code | HTTP | Description |
|---|---|---|
UNAUTHORIZED | 401 | Token missing or invalid |
NOT_FOUND | 404 | programId does not exist or belongs to another org |
curl --request GET \
--url https://api.getrecord.in/api/external/issuance/programs/prog_1779172339924_j3pr93 \
--header 'Authorization: Bearer sk_test_your_token_here'
{
"success": true,
"message": "Program fetched successfully",
"data": {
"programId": "prog_1779172339924_j3pr93",
"name": "MongoDB",
"description": "MongoDB Program",
"orgId": "org_1779085658651_hmhfv5",
"mode": "test",
"createdAt": "2025-05-19T12:12:19.924Z",
"updatedAt": "2025-05-19T12:12:19.924Z"
}
}
⌘I

