/domains
GET
/domains
const url = 'https://pki.example.com/api/v1/domains?limit=50&offset=0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://pki.example.com/api/v1/domains?limit=50&offset=0' \ --header 'Authorization: Bearer <token>'List domains with filtering and pagination
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”search
string
Filter domains by name
caId
string format: uuid
Filter by issuing CA
limit
integer
Maximum number of items to return
offset
integer
Number of items to skip
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
items
Array<object>
object
domain
string
isWildcard
boolean
baseDomain
string
certificateCount
integer
caCount
integer
firstCertificateDate
string format: date-time
lastCertificateDate
string format: date-time
activeCertificateCount
integer
revokedCertificateCount
integer
pagination
object
total
integer
limit
integer
offset
integer
hasMore
boolean
Example generated
{ "items": [ { "domain": "example", "isWildcard": true, "baseDomain": "example", "certificateCount": 1, "caCount": 1, "firstCertificateDate": "2026-04-15T12:00:00Z", "lastCertificateDate": "2026-04-15T12:00:00Z", "activeCertificateCount": 1, "revokedCertificateCount": 1 } ], "pagination": { "total": 1, "limit": 1, "offset": 1, "hasMore": true }}Default Response
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
Array<object>
object
field
string
message
string
Example generated
{ "error": { "code": "example", "message": "example", "details": [ { "field": "example", "message": "example" } ] }}