GET
/v1/apps/{appId}/domainsList custom domains for an app⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
Deprecated: use GET /v1/services/{serviceId}/domains instead.
Returns all custom domains attached to any deployment of the app. Domains are aggregated across all deployments since Foundry lists per deployment.
Parameters
appIdstringpathrequiredResponses
object
dataarray of objectrequiredShow child attributes
Show array items
appIdstringrequiredcertExpiresAtnull | string · date-timerequiredcomputeServiceIdstringrequiredDeprecated: use `appId` instead.
createdAtstring · date-timerequireddnsRecordsarray of objectrequiredShow child attributes
Show array items
namestringrequiredttlnull | numberrequiredtypestringrequiredvaluestringrequiredfailureCategorynull | stringrequiredfailureReasonnull | stringrequiredfoundryStatusstringrequiredhostnamestringrequiredidstringrequiredstatusstringrequiredtypestringrequiredupdatedAtstring · date-timerequiredurlstring · urirequiredpaginationobjectrequiredShow child attributes
hasMorebooleanrequirednextCursornullrequired{
"data": [
{
"appId": "string",
"certExpiresAt": "2026-06-09T00:00:00Z",
"computeServiceId": "string",
"createdAt": "2026-06-09T00:00:00Z",
"dnsRecords": [
{
"name": "string",
"ttl": 0,
"type": "CNAME",
"value": "string"
}
],
"failureCategory": "acme",
"failureReason": "string",
"foundryStatus": "string",
"hostname": "string",
"id": "string",
"status": "active",
"type": "custom-domain",
"updatedAt": "2026-06-09T00:00:00Z",
"url": "https://example.com"
}
],
"pagination": {
"hasMore": false,
"nextCursor": null
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}