---
title: "Your custom domains, pending and active."
method: GET
path: "/v1/domains"
tags: ["domains"]
---

# Your custom domains, pending and active.

`GET /v1/domains`

## Request

- Base URL: `https://api.withruntime.com`
- URL: `https://api.withruntime.com/v1/domains`
- Auth: HTTP bearer

## Response `200`

Success

- object
  - `data` object[], required
    - `id` string
    - `hostname` string
    - `sandboxId` string, nullable: The sandbox it serves; null for an App's.
    - `appId` string, nullable: The App it serves; null for a sandbox's port.
    - `port` integer
    - `state` string: pending (prove it with the TXT record), active, or released.
    - `url` string
    - `disabled` boolean: Turned off by Runtime after a report. Contact support.
    - `records` object[]
      - `type` string
      - `name` string
      - `value` string
      - `purpose` string
    - `verifiedAt` string, date-time, nullable
    - `checkedAt` string, date-time, nullable
    - `checkError` string, nullable
    - `certificate` object, nullable: An App's domain's certificate, issued before visitors arrive: point the name at the App once ready is true. Null for a sandbox's.
      - `ready` boolean
      - `expiresAt` string, date-time, nullable
      - `issuers` string[]
    - `createdAt` string, date-time
  - `nextCursor` string, nullable, required: Pass as cursor; null ends the list.

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/withruntime/apis/runtime-cloud-api.md) · [All operations](https://skmtc.dev/withruntime/apis/runtime-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/withruntime/apis/runtime-cloud-api/revisions/6f4012286988?raw)
