---
title: "An app's domains"
method: GET
path: "/client/services/{id}/domains"
tags: ["Apps"]
---

# An app's domains

`GET /client/services/{id}/domains`

## Request

- Base URL: `https://api.roar-ai.com`
- URL: `https://api.roar-ai.com/client/services/{id}/domains`
- Auth: HTTP bearer

Every hostname this app answers on, with its certificate state, as `data`. `mainDomainId` is the app’s main address — the link people are given, and where its Roar address redirects — and `chosenDomainId` is the one you picked with `POST /client/domains/{id}/make-primary` (null if you never have). They differ while a chosen domain is not answering: the next live address stands in until it does. `id` is a SERVICE id — take it from `services[].id` on `GET /client/apps/{appId}`, not the app id itself.

## Path parameters

- `id` string, uuid, required

## Response `200`

Domains

## Other responses

- `404`: No such app service

---

[API](https://skmtc.dev/roar-ai/apis/roar-ai-api.md) · [All operations](https://skmtc.dev/roar-ai/apis/roar-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/roar-ai/apis/roar-ai-api/revisions/37e4d0d5a7fe?raw)
