Add Domain
endpoint
Add a custom domain to an environment.
Request Body
string
required
The domain name to add (e.g., “example.org”)
Response
string
The unique identifier for the created domain
string
Verification token for DNS TXT record validation
List Domains
endpoint
Retrieve all domains attached to an environment.
Query Parameters
string
Pagination cursor for retrieving the next page of results
string
Number of results to return (maximum: 250)
string
Filter by verification status. Set to “true” to return only verified domains
Response
array
Array of domain objects
object
Delete Domain
endpoint
Remove a domain by its ID.
Query Parameters
string
required
The domain ID to delete
Response
boolean
Whether the deletion was successful
Update Custom Certificate
endpoint
Upload a custom SSL certificate for a domain.
This endpoint is only available for Enterprise customers.
Request Body
string
required
The ID of the domain
string
required
Private key in PEM format
string
required
Certificate value in PEM format
Response
boolean
Whether the certificate was updated successfully
You can convert CRT files to PEM format using OpenSSL:
Delete Custom Certificate
endpoint
Remove the custom SSL certificate from a domain.
This endpoint is only available for Enterprise customers.
Query Parameters
string
required
The domain ID
Response
boolean
Whether the certificate was deleted successfully