Skip to content

List certificates for an organization

GET
/api/organizations/{organizationId}/certificates

Returns every TLS certificate belonging to the organization, covering both auto-managed (ACME) and custom (user-uploaded) certificates. Shared certificates are not listed here. Ordered by expiry date (soonest first) unless an order parameter is given, and filterable by q, status and type.

Authorizations

ApiToken

Long-lived API token created via POST /api/api-tokens (returned once in plaintext). A token created with readOnly may only perform safe requests (GET, HEAD, OPTIONS); write requests are rejected on every endpoint.

Type
API Key (header: X-API-TOKEN)
or
JWT

JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer .

Type
HTTP (bearer)

Parameters

Path Parameters

organizationId*

Organization identifier

Type
string
Required

Query Parameters

page

The collection page number

Type
integer
Default
1
itemsPerPage

The number of items per page

Type
integer
Default
30
Minimum
0
Maximum
100
q

Partial, case-insensitive match on the certificate's domain name, its issuer, its fingerprint or any of its SAN names, so a certificate that carries the searched name only as a SAN is still found.

Type
string
status

Filter by certificate status: pending, active, expired, renewing or failed.

Type
string
Valid values
"pending""active""expired""renewing""failed"
type

Filter by certificate type: auto_managed (ACME) or custom (user-uploaded).

Type
string
Valid values
"auto_managed""custom"
order[expiresAt]

Sort by expiry date. Accepts asc or desc (defaults to soonest first).

Type
string
Valid values
"asc""desc""ASC""DESC"
order[domainName]

Sort by domain name. Accepts asc or desc.

Type
string
Valid values
"asc""desc""ASC""DESC"
order[status]

Sort by status in lifecycle priority, not alphabetically. asc puts the certificates needing attention first, in the order failed, expired, pending, renewing, active, and within one status the soonest expiry first, with certificates that were never issued last. desc reverses that.

Type
string
Valid values
"asc""desc"
order[type]

Sort by type, alphabetically by its stored value. Accepts asc or desc.

Type
string
Valid values
"asc""desc""ASC""DESC"

Responses

certificate collection

JSON
{
  
"totalItems": 0,
  
"search": {
  
  
"@type": "string",
  
  
"template": "string",
  
  
"variableRepresentation": "string",
  
  
"mapping": [
  
  
  
{
  
  
  
  
"@type": "string",
  
  
  
  
"variable": "string",
  
  
  
  
"property": "string",
  
  
  
  
"required": true
  
  
  
}
  
  
]
  
},
  
"view": {
  
  
"@id": "string",
  
  
"@type": "string",
  
  
"first": "string",
  
  
"last": "string",
  
  
"previous": "string",
  
  
"next": "string"
  
},
  
"member": [
  
  
{
  
  
  
"@context": "string",
  
  
  
"@id": "string",
  
  
  
"@type": "string",
  
  
  
"id": "9f8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
  
  
  
"domainName": "example.com",
  
  
  
"type": "auto_managed",
  
  
  
"status": "active",
  
  
  
"certificateData": "-----BEGIN CERTIFICATE----- MIIC...snip...IDAQAB -----END CERTIFICATE-----",
  
  
  
"privateKeyData": "-----BEGIN PRIVATE KEY----- MIIE...snip...QIDAQ -----END PRIVATE KEY-----",
  
  
  
"chainData": "-----BEGIN CERTIFICATE----- MIID...snip...b3RQ -----END CERTIFICATE-----",
  
  
  
"expiresAt": "2026-09-30T12:00:00+00:00",
  
  
  
"issuer": "Let's Encrypt",
  
  
  
"fingerprint": "sha256:3b:0a:1f:...:9c:2d",
  
  
  
"nextRenewalAt": "2026-08-31T12:00:00+00:00",
  
  
  
"sans": [
  
  
  
  
{
  
  
  
  
  
"@context": "string",
  
  
  
  
  
"@id": "string",
  
  
  
  
  
"@type": "string",
  
  
  
  
  
"id": "9d1e8a4c-6b2f-4d3e-8a1b-2c3d4e5f6a7b",
  
  
  
  
  
"name": "www.example.com",
  
  
  
  
  
"dnsStatus": "valid",
  
  
  
  
  
"sslStatus": "covered"
  
  
  
  
}
  
  
  
],
  
  
  
"lastAttempt": {
  
  
  
  
"@context": "string",
  
  
  
  
"@id": "string",
  
  
  
  
"@type": "string",
  
  
  
  
"id": "9f1c2d3e-4b5a-6789-abcd-ef0123456789",
  
  
  
  
"type": "acme_renew",
  
  
  
  
"status": "succeeded",
  
  
  
  
"startedAt": "2026-07-01T09:15:00+00:00",
  
  
  
  
"finishedAt": "2026-07-01T09:16:42+00:00"
  
  
  
},
  
  
  
"createdAt": "2026-07-01T09:15:00+00:00",
  
  
  
"updatedAt": "2026-07-01T09:20:00+00:00",
  
  
  
"organizationId": 42,
  
  
  
"attemptCount": 3
  
  
}
  
]
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI