Back to Tool
🔗
Slug Generator API
Convert text to URL-friendly slugs programmatically
Endpoint
POST
/api/v1/slug-generatorAuthentication
Include your API key in the request header:
X-API-Key: your_api_key_hereGet your API key from the Dashboard
Request Body
Content-Type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | The text to convert to a slug |
| separator | string | No | Character to use as separator (default: "-") |
| lowercase | boolean | No | Convert to lowercase (default: true) |
Response
| Field | Type | Description |
|---|---|---|
| success | boolean | Whether the operation was successful |
| result | string | The generated slug |
Code Examples
curl -X POST https://tools.shubhambadgujar.com/api/v1/slug-generator \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{"text": "Hello World! This is a Test"}'Rate Limits
- • 100 requests per minute
- • 10,000 requests per day
- • Max request size: 10MB
Need Help?
Contact us at support@shubhambadgujar.com