---
raw: true
search:
  tags:
    - Spaces
    - GET
seo:
  description: >-
    Checks whether a space or team slug is available and suggests an alternative
    when… Reference for the GET /v1/slugs/availability endpoint in the Spacefast
    API.
sidebar:
  label: Check slug availability
  badge: GET
title: Check slug availability
type: openapi-operation
---
Checks whether a space or team slug is available and suggests an alternative when it is taken.

`GET /v1/slugs/availability`

**Responses**

- `200` — Response for status 200
- `default` — Problem details (RFC 9457). Any 4xx/5xx response is one \`application/problem+json\` document.

Response example, 200:

```json
{
  "$schema": "http://example.com",
  "data": {
    "kind": "team",
    "normalizedSlug": "string",
    "available": true,
    "suggestion": "string",
    "hostnameAvailable": true,
    "hostnameSuggestion": "string",
    "selectedHostname": "string",
    "hostnameConflictReason": "string",
    "globalHostnameAvailable": true,
    "globalHostname": "string",
    "globalHostnameSuggestion": "string"
  }
}
```
