ReferenceFlightcontrol APICustom DomainsGet Domains From Group

Get Domains From A Certificate Group

Retrieves a list of domains associated with a domain certificate group.

API Description

Full Endpoint URL: https://api.flightcontrol.dev/v1/domain-certificate-groups/{domainGroupId}/domains

MethodPath
GET/v1/domain-certificate-groups/{domainGroupId}/domains
Headers
AuthorizationBearer [API key]

Path Parameters

ParameterTypeDescription
domainGroupIdstringThe domain group unique CUID.

Query Parameters

ParameterTypeDescription
skipnumberNumber of records to skip (for pagination).
takenumberNumber of records to return (for pagination).

Response Example

See Get Single Domain for more info on the different fields in the response.

{
  "count": 1,
  "hasMore": false,
  "nextPage": null,
  "pageCount": 1,
  "pageSize": 100,
  "domains": [
    {
      "id": "cm7enen3g00045e87dq1z8gei",
      "fcAttachmentId": "cm7enen3m00065e87i4w08gaw",
      "name": "www.example.com",
      "status": "ATTACHED",
      "type": "SUBDOMAIN",
      "dnsRecords": [
        {
          "status": "OK",
          "purpose": "CERTIFICATE_DOMAIN_VERIFICATION",
          "type": "CNAME",
          "name": "_e430f3cb9e2c862fce8eb8aaffa4bcf6.www.example.com.",
          "value": "_a17d2924137bc0da6602c8ef6a5ddd93.zfyfvmchrl.acm-validations.aws.",
          "lastPropagationCheckAt": "2025-02-21T11:07:13.383Z",
          "lastPropagationCheckValue": null,
          "lastPropagationCheckError": null
        },
        {
          "status": "OK",
          "purpose": "CERTIFICATE_AUTHORITY_AUTHORIZATION",
          "type": "CAA",
          "name": "@",
          "value": "0 issue \"amazon.com\"",
          "lastPropagationCheckAt": null,
          "lastPropagationCheckValue": null,
          "lastPropagationCheckError": null
        },
        {
          "status": "PENDING",
          "purpose": "SERVICE_CONNECTION",
          "type": "CNAME",
          "name": "www.example.com",
          "value": "dun5bc7rwkgfh.cloudfront.net",
          "lastPropagationCheckAt": null,
          "lastPropagationCheckValue": null,
          "lastPropagationCheckError": null
        }
      ]
    }
  ]
}