GET
/
api
/
certs
List Certificates.
curl --request GET \
  --url https://{tenant}/api/certs \
  --header 'Authorization: Bearer <token>'
{
"cert_basics": [
{
"dns_names": [
".*itachi.io"
],
"has_private": false,
"id": "5e9d9544a1dcd60001d0ed208edce514c2d0a866063550c64d6c90be99d01561ac5aa7e82b8610b7e273d37d",
"is_ca": false,
"issuer_cn": "tyk-gateway-2.localhost",
"not_after": "2025-05-19T05:23:10Z",
"not_before": "2024-05-19T05:23:10Z",
"subject_cn": "tyk-gateway-2.localhost"
},
{
"dns_names": [
".*tyk.io"
],
"has_private": false,
"id": "5e9d9544a1dcd60001d0ed207c440d66ebb0a4629d21329808dce9091acf5f2fde328067a6e60e5347271d90",
"is_ca": false,
"issuer_cn": "tyk.io",
"not_after": "2034-03-26T08:46:37Z",
"not_before": "2024-03-25T08:46:37Z",
"subject_cn": "tyk.io"
}
],
"pages": 1
}

Authorizations

Authorization
string
header
required

The Tyk Dashboard API Access Credentials

Query Parameters

p
integer

Use p query parameter to say which page you want returned. Send number less than 0 to return all items.

mode
enum<string>

Set to detailed to get certificates that are more with more details (Will contains certs basic details). To retrieve a list of certificates with all the certificate details use this endpoint.

Available options:
detailed
filter
enum<string>
default:omit

Defines the filtering strategy applied to certificate keys. This query param works only in combination with detailed mode (mode=detailed). omit – Includes all certificates; this is the default behavior. with_pk – Returns only certificates that are associated with a private key. without_pk – Returns only certificates that do not include a private key.

Available options:
omit,
with_pk,
without_pk

Response

OK

cert_basics
object[] | null
pages
integer