Admin — Custom Domain
Get workspace custom domain
Returns the custom domain for the current workspace, or null if none is configured.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "http://localhost:3001/api/v1/admin/domain"{
"domain": {
"id": "string",
"workspaceId": "string",
"domain": "string",
"status": "pending",
"railwayDomainId": "string",
"cnameTarget": "string",
"certificateStatus": "PENDING",
"verificationToken": "string",
"domainVerified": true,
"domainVerifiedAt": "string",
"domainVerificationStatus": "pending",
"createdAt": "string",
"verifiedAt": "string"
}
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"error": "string",
"message": "string",
"requestId": "string"
}Edit on GitHub
Last updated on