Skip to content

Get Load Balancer Certificate

GET
/gateway/certificates/{certificate_id}/
curl --request GET \
--url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/gateway/certificates/{certificate_id}/?project_id=<PROJECT_ID>&location=<LOCATION>&apikey=<API_KEY>' \
--header 'Authorization: Bearer <API_TOKEN>'

Returns one Certificate of the project. The private key is never returned. Needs the Read permission for Load Balancers.

certificate_id
required
integer

Certificate ID

project_id
required
integer

Project ID

active_iam
integer

Active IAM ID (To access contact person account) Find your Active IAM ID here

location
required
string
Allowed values: Delhi Chennai

Location

The Certificate

Media typeapplication/json
object
code
integer
message
string
data
object
id
integer
name

The Certificate’s name.

string
source

UPLOADED for one you added. ACME and PLATFORM are Certificates E2E manages for you.

string
Allowed values: UPLOADED ACME PLATFORM
status

Active, Pending or Expired.

string
Allowed values: Active Pending Expired
cert_chain

The certificate chain you uploaded, as PEM text. Empty for a Certificate E2E manages.

string
domains

The names the certificate covers, read from the certificate.

Array<string>
not_before

Start of the validity period.

string
nullable
not_after

End of the validity period.

string
nullable
issuer

Who issued the certificate, read from the certificate.

string
key_type

The key’s type and size, for example RSA-2048 or EC-secp256r1.

string
fingerprint

SHA-256 fingerprint of the first certificate.

string
days_remaining

Whole days until not_after; negative once it has passed. null when there is no end date.

integer
nullable
is_expired

true once not_after has passed.

boolean
in_use_by

IDs of the Load Balancers that use the Certificate.

Array<integer>
created_by

Who created it.

object
id
integer
name
string
email
string
username
string
created_at
string
updated_at
string
errors
object

Example

{
"code": 200,
"message": "Success",
"data": {
"id": 5,
"name": "example-cert",
"source": "UPLOADED",
"status": "Active",
"cert_chain": "-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----\n",
"domains": [
"example.com"
],
"not_before": "2026-09-01T00:00:00Z",
"not_after": "2026-12-01T00:00:00Z",
"issuer": "CN=Example CA,O=Example",
"key_type": "RSA-2048",
"fingerprint": "9f2c4b7a1d0e5c3b8a6f4e2d1c0b9a8f7e6d5c4b3a291807f6e5d4c3b2a19087",
"days_remaining": 37,
"is_expired": false,
"in_use_by": [
42
],
"created_by": {
"id": 101,
"name": "A User",
"email": "user@example.com",
"username": "auser"
},
"created_at": "2026-10-21T11:17:29Z",
"updated_at": "2026-10-21T11:17:29Z"
},
"errors": {}
}

project_id is missing or not a number. errors holds the project’s own text.

Media typeapplication/json
object
code
integer
message
string
data
object
errors
string

Example

{
"code": 400,
"message": "Bad Request",
"data": {}
}

No Certificate with that ID in the project.

Media typeapplication/json
object
code
integer
message
string
data
object
errors
string

Example

{
"code": 404,
"message": "Bad Request",
"data": {},
"errors": "Certificate not found in this project."
}