---
title: "Get Program Public Certificates for ECC Encryption"
method: GET
path: "/programs/{programCode}/certificates/ecc"
tags: ["Certificates"]
---

# Get Program Public Certificates for ECC Encryption

`GET /programs/{programCode}/certificates/ecc`

Retrieves the ECC public certificates for the specified program.

## Path parameters

- `programCode` string, required

## Headers

- `X-GD-RequestId` string, required

## Response `200`

OK

- GetCertificatesResponse
  - `certificates` JWKSCertificate[], nullable
    - `kty` string, nullable
    - `kid` string, nullable
    - `use` string, nullable
    - `alg` string, nullable
    - `n` string, nullable
    - `e` string, nullable
    - `crv` string, nullable
    - `x` string, nullable
    - `y` string, nullable
    - `x5c` string[], nullable
    - `x5t` string, nullable
    - `x5tS256` string, nullable
    - `notBefore` string, date-time, nullable
    - `notAfter` string, date-time, nullable
    - `status` string, nullable
    - `pem` string, nullable
    - `der` string, nullable
    - `type` 'RSA' | 'ECC' — Represents the supported certificate key algorithm types.
    - `note` string, nullable
  - `responseDetails` ResponseDetail[], nullable — Required: A list of response details providing status codes, descriptions, and additional information about the result of the operation.
    - `code` integer — The primary status or error code for the response (e.g., 200 for success, 400 for validation error).
    - `subCode` integer, nullable — An optional subcode providing more granular detail about the response or error.
    - `description` string, nullable — A human-readable description of the response, error, or status.
    - `url` string, nullable — A URL linking to documentation or a web page with more information about the response code.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/greendot/apis/baas-apis.md) · [All operations](https://skmtc.net/greendot/apis/baas-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/greendot/baas-apis/revisions/666553766b78/schema)
