Skip to main content
Secure endpoints are served by the Connect API gateway, not by a separate Secure host.

Secure API - SSL certificates

List secured domains

Partners can retrieve all domains currently Secured under a given applicationId to audit configuration, build admin UIs, and perform maintenance. This endpoint returns a paginated list of all Secure-managed domains for the authenticated application.

Headers

Query string parameters

Note: status is optional. If omitted, the endpoint returns all secured domains for the application.

Sample response

Field definitions

  • domain (string): Fully qualified domain or subdomain configured via Secure.
  • applicationUrl (string): Current upstream URL for this domain.
  • secureStatus (string): active or inactive.
  • total (integer): Total number of secured domains matching the filter.
  • page (integer): Current zero-based page index.
  • limit (integer): Maximum number of items requested per page.
  • count (integer): Number of items returned.
  • pages (integer): Total number of pages available.
  • nextPage (integer | null): Next page index, or null if not applicable.
  • prevPage (integer | null): Previous page index, or null if not applicable.

Error responses

Rate limits

This endpoint follows the same global rate limits as other Secure API endpoints.

Example cURL

Check the domain’s eligibility

Parameters description

Successful response (200 status)

JSON

Possible error responses

Errors are returned as a {message: 'string'} object.

Provision an SSL certificate

Request body

JSON

Parameters description

Successful response (200 status)

JSON

Possible error responses

Errors are returned as a {message: 'string'} object. The body never carries anything else, and message is a plain-English explanation of what to fix.

Renew the SSL certificate

Entri renews the certificates it provisions automatically before they expire. Use this endpoint when you need to trigger that renewal yourself, for example after your customer fixed their DNS records following a domain.secure.certificate_renewal_failed webhook.
PUT https://api.goentri.com/ssl with the same body is still accepted and runs the same renewal. New integrations should use POST /ssl/renew.

Request body

JSON

Parameters description

Requirements

The renewal only runs when all of the following are true. Otherwise the endpoint returns one of the errors listed below without touching the certificate.
  • The domain is secured by your application and its status is active.
  • The current certificate expires within the next 30 days.
  • The domain still points to Entri: subdomains must CNAME to the configured CNAME target, and root domains must resolve to Entri’s A records with no AAAA records present.

Successful response (200 status)

JSON

Possible error responses

Errors are returned as a {message: 'string'} object.

Example cURL


Deprovision an SSL certificate

Request body

JSON

Successful response (200 status)

JSON

Possible error responses

Errors are returned as a {message: 'string'} object.