---
title: "Get the project URL config"
method: GET
path: "/projects/{slug}/url"
tags: ["Publishing"]
---

# Get the project URL config

`GET /projects/{slug}/url`

Get the project's current live URL (subdomain or custom domain plus path) and the subdomains/domains available to switch to.

## Path parameters

- `slug` string, required

## Response `200`

URL configuration

- object
  - `current` object, required
    - `type` 'subdomain' | 'domain', required
    - `hostname` string, required
    - `path` string, required
    - `subdomainId` string
    - `domainId` string
    - `projectSubdomainId` string
    - `projectDomainId` string
  - `availableSubdomains` object[], required
    - `id` string, required
    - `subdomain` string, required
    - `isCustom` boolean, required
  - `availableDomains` object[], required
    - `id` string, required
    - `hostname` string, required

## Other responses

- `404` — Project not found

---

[API](https://skmtc.dev/faces/apis/faces-api.md) · [All operations](https://skmtc.dev/faces/apis/faces-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/faces/faces-api/revisions/83197d741969/schema)
