---
title: "Promotion Hosts"
method: GET
path: "/promote/hosts"
tags: ["Promotions"]
---

# Promotion Hosts

`GET /promote/hosts`

## Request

- Base URL: `https://env.unqork.io/api/1.0`
- URL: `https://env.unqork.io/api/1.0/promote/hosts`
- Auth: OAuth 2
  - Client credentials
  - Password
  - Token URL: `https://xyzfinancial.unqork.io/api/1.0/oauth2/access_token`
- TypeScript: <https://skmtc.dev/unqork/apis/unqork-customer-api/docs/promote/hosts/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns list of environments authorized for promotion
### Authorization Required:
  - Application Promote or Style Promote or Data Collections Promote

## Response `200`

Hosts Loaded

- object[]
  - `clientName` string: Target environment name
  - `clientLevel` string: Level of the environment (qa, uat, production, etc.)
  - `isProduction` boolean: Whether the host is a production environment or not NOTE: This will be true for preprod environments

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/unqork/apis/unqork-customer-api.md) - [All operations](https://skmtc.dev/unqork/apis/unqork-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unqork/apis/unqork-customer-api/revisions/13dad4096373?raw)
