Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/cdn/aliases
- AuthHTTP apikey
Query parameters
CDN resource ID. Only aliases of this CDN resource are returned.
Comma-separated list of CDN resource IDs.
Alias status.
Possible values:
- inactive – The alias or its CDN resource is disabled; the alias is not served.
- pending – The alias configuration has not reached the CDN yet.
- http_only – The alias is served over HTTP only.
- active – The alias is served over HTTP and HTTPS.
Comma-separated list of alias statuses.
Outcome of the certificate we manage for the alias.
Possible values:
- pending – A certificate attempt is in progress, or was stopped by pausing the alias and starts again after it is resumed.
- issued – The latest attempt succeeded.
- failed – The latest attempt ended without a certificate.
- null – No certificate is managed for the alias: the alias uses a certificate you provided, or is automated and has never opened an attempt.
Comma-separated list of certificate outcomes.
Only aliases whose served certificate expires at or before this date and time (ISO 8601/RFC 3339 format, UTC).
Only aliases whose served certificate expires at or after this date and time (ISO 8601/RFC 3339 format, UTC).
How the alias certificate is managed.
Possible values:
- true – A Let's Encrypt certificate is issued and renewed automatically.
- false – The certificate was added by you.
SSL certificate ID. Only aliases linked to this certificate are returned.
Hostname substring, case-insensitive.
Hostname prefix, case-insensitive.
Hostname suffix, case-insensitive.
Search by alias ID or hostname.
Field to sort by. Prefix with - for descending order.
Possible values: id, cname, status, created, updated, resource_id.
Maximum number of items to return in the response. Cannot exceed 1000.
Number of items to skip from the beginning of the list.
Response
Successful.
Example response
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 123,
"cname": "shop.example.com",
"resource_id": 4567,
"automated": true,
"challenge_type": "http_01",
"ssl_id": null,
"active": true,
"enabled": true,
"status": "http_only",
"ssl_status": "pending",
"ssl_validity_not_after": null,
"created": "2026-09-01T10:00:00Z",
"updated": "2026-09-01T10:00:00Z"
}
]
}Changes
- breaking
removed the enum value
ssl_errorfrom thequeryrequest parameterstatus - breaking
removed the enum value
ssl_issuingfrom thequeryrequest parameterstatus - warning
added the new
http_onlyenum value to the///response property for the response status - info
added the new enum value
http_onlyto thequeryrequest parameterstatus - info
added the optional property
///to the response with the status - info
removed the
ssl_errorenum value from the///response property for the response status - info
removed the
ssl_issuingenum value from the///response property for the response status
- breaking
- breaking
the response property
///became nullable for the status - info
added the new optional
queryrequest parameterssl_status - info
added the new optional
queryrequest parameterssl_status__in - info
added the new optional
queryrequest parameterssl_validity_not_after_gte - info
added the new optional
queryrequest parameterssl_validity_not_after_lte - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- breaking