API 2.0
Certificates
List the certificates on a Pgyer account via API.
Endpoints for certificate management.
Certificate List
Fetch every certificate on the current account.
POST
https://www.pgyer.com/apiv2/certificate/indexRequest Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| _api_key | String | Yes | API Key — see auth |
Response
| Field | Type | Description |
|---|---|---|
| certificateKey | String | Unique certificate key |
| certificateName | String | Certificate name |
| certificateExpired | Date | Expiration time |
| certificateCreated | Date | Upload time |
| certificateStatus | String | Certificate status |
{
"code": 0,
"message": "",
"data": [
{
"certificateKey": "c1a2b3c4d5e6",
"certificateName": "Sample release cert",
"certificateExpired": "2027-01-01 00:00:00",
"certificateCreated": "2025-01-01 10:00:00",
"certificateStatus": "valid"
}
]
}