Skip to main content
GET
/
projects
/
{id}
/
hostnames
Get all hostnames assigned to a project
curl --request GET \
  --url https://api.workser.ai/projects/{id}/hostnames \
  --header 'x-api-key: <api-key>'
[
  [
    {
      "name": "my-app.workser.app",
      "created": "2025-09-30T12:04:43.163Z"
    }
  ]
]

Authorizations

x-api-key
string
header
required

API key for authentication

Path Parameters

id
string
required

Project ID

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Project hostnames retrieved successfully

The response is of type object[][].