---
title: "Generate a URL-friendly slug"
method: POST
path: "/string/slugify"
tags: ["String"]
---

# Generate a URL-friendly slug

`POST /string/slugify`

## Request

- Base URL: `https://abundanceapis.com`
- URL: `https://abundanceapis.com/string/slugify`
- Auth: none declared

Creates a slug from the input text with optional separator, case, and length.

## Request body

- object
  - `text` string, required
  - `separator` string
  - `lowercase` boolean
  - `maxLength` integer

## Other responses

- `400`: Bad request

---

[API](https://skmtc.dev/abundanceapis/apis/web-toolbox.md) · [All operations](https://skmtc.dev/abundanceapis/apis/web-toolbox/llms.txt) · [OpenAPI document](https://skmtc.dev/abundanceapis/apis/web-toolbox/revisions/ada2893fef43?raw)
