---
title: "Whether a certificate can be issued for this connection yet"
method: GET
path: "/connections/{id}/ssl:eligibility"
tags: ["Secure"]
---

# Whether a certificate can be issued for this connection yet

`GET /connections/{id}/ssl:eligibility`

## Request

- Base URL: `https://api.customdomain.ai/v1`
- URL: `https://api.customdomain.ai/v1/connections/{id}/ssl:eligibility`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Advisory: a certificate is only issuable once the domain points at the edge (connection `live` or `propagating`). The widget/console uses this to gate the provision button.

## Path parameters

- `id` string, required

## Response `200`

Eligibility

- Eligibility
  - `domain` string, required
  - `eligible` boolean, required
  - `reason` string: why not, when ineligible; empty when eligible.

## Other responses

- `401`: Error envelope: {code, title, details}.
- `404`: Error envelope: {code, title, details}.
- `503`: Error envelope: {code, title, details}.

---

[API](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api.md) · [All operations](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api/llms.txt) · [OpenAPI document](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api/revisions/34d89cb7a7cd?raw)
