---
title: "Converts text to a URL-friendly slug and checks if it's available for use."
method: POST
path: "/Sites/{siteId}/Quicklinks/Slugify"
tags: ["QuickLinks"]
---

# Converts text to a URL-friendly slug and checks if it's available for use.

`POST /Sites/{siteId}/Quicklinks/Slugify`

Converts text to lowercase, replaces spaces with hyphens, and removes invalid characters.
Checks if the generated slug already exists for this site.

## Path parameters

- `siteId` integer, required

## Request body

- QPilotCoreModelsDtoQuickLinksSlugifyRequestDto
  - `text` string, required

## Response `200`

Returns the slugified text and availability

- QPilotCoreModelsDtoQuickLinksSlugifyResponseDto
  - `originalText` string, nullable
  - `slug` string, nullable
  - `isAvailable` boolean
  - `message` string, nullable

## Other responses

- `500` — Internal server error occurred

---

[API](https://skmtc.net/qpilot/apis/qpilot-api.md) · [All operations](https://skmtc.net/qpilot/apis/qpilot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qpilot/qpilot-api/revisions/b2f13a808fdd/schema)
