---
title: "GET /projects/getPublicConfig"
method: GET
path: "/projects/getPublicConfig"
tags: ["projects"]
---

# GET /projects/getPublicConfig

`GET /projects/getPublicConfig`

## Query parameters

- `hostname` string, required

## Response `200`

- PublicProjectConfigDto
  - `hostname` string, required
  - `id` string, required
  - `slug` string, required
  - `name` string, required
  - `organizationId` string, required
  - `authMethods` PublicAuthMethodDto[], required
    - `type` 'OAUTH2' | 'EMAIL' | 'PHONE_NUMBER' | 'ANONYMOUS', required
    - `provider` 'PASSWORDLESS_EMAIL' | 'EMAIL_AND_PASSWORD' | 'SMS' | 'ANONYMOUS' | 'GOOGLE' | 'GITHUB' | 'GITLAB' | 'MICROSOFT', required
    - `clientId` string, required
    - `isUsingDemoConfig` boolean, required
    - `scopes` string[], required

## Other responses

- `422` — Unprocessable hostname or unknown project

## Changes

- **2023-10-08** `04662553c550` — 1 warning
  - added the new `PHONE_NUMBER` enum value to the `authMethods/items/type` response property for the response status `200`
- **2023-10-08** `4f720e0eab6a` — 1 warning, 3 info
  - added the new `SMS` enum value to the `authMethods/items/provider` response property for the response status `200`
  - removed the `APPLE` enum value from the `authMethods/items/provider` response property for the response status `200`
  - removed the `FACEBOOK` enum value from the `authMethods/items/provider` response property for the response status `200`
  - removed the `TWITTER` enum value from the `authMethods/items/provider` response property for the response status `200`
- **2023-10-08** `cd20da6c2de2` — 1 info
  - added the required property `authMethods/items/isUsingDemoConfig` to the response with the `200` status
- **2023-10-07** `83d18615df42` — 1 info
  - added the required property `authMethods` to the response with the `200` status
- **2023-09-29** `51d707c80c6f` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/agentlabs-dev/apis/agentlabs-api/changes/projects/getPublicConfig/get.md)

---

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