Dataczar
Browse helpers

Convert arbitrary text into a URL-safe slug.

Takes input text and produces a lowercase (optional) slug using the requested separator. Designed as a GET-first helper with universal dryrun support. Drop this helper wherever you want to convert arbitrary text into a URL-safe slug with a single HTTP call. Send the documented inputs and the API streams back polished results you can hand directly to your users.

GETPOST/text/slugify

Where this helper shines

Convert arbitrary text into a URL-safe slug. keeps text helpers on autopilot. Use it whenever you need to convert arbitrary text into a URL-safe slug without pausing a sprint or asking design/dev to jump in.

  • Trigger this helper whenever you need to convert arbitrary text into a URL-safe slug without waiting on a full deploy.
  • Drop it into automations (Zapier, Make, workers) to convert arbitrary text into a URL-safe slug as part of your workflow.
  • Share the GET URL so support and success can convert arbitrary text into a URL-safe slug safely using their Dataczar API key.

Copy & ship snippets

GET

Instant link

GET https://api.dataczar.app/text/slugify?text=Launch+promo&lower=true&separator=-&dryrun=true&ak=demo

Open directly in any browser, webhook, or low-code workflow.

curl

curl GET

curl "https://api.dataczar.app/text/slugify?text=Launch+promo&lower=true&separator=-&dryrun=true&ak=demo"

Swap ak=demo with your Dataczar API key.

curl

curl POST

curl -X POST "https://api.dataczar.app/text/slugify?ak=demo" \
  -H 'Content-Type: application/json' \
  -d '{
  "text": "Launch promo",
  "lower": true,
  "separator": "sample_separator",
  "dryrun": true
}'

Send JSON payloads from back-end jobs, queues, or workers.

Parameters

Query Parameters

NameTypeDescription
textstring · requiredThe text to convert into a slug.
lowerbooleanForce lowercase output when true.
separatorstringReplacement string for whitespace and punctuation (1-3 characters).
dryrunbooleanIf present and not explicitly false/0, no mutations occur (still returns preview data).

All helper calls accept your Dataczar key via the ak query parameter. Need one? Create or copy a key on Dataczar Connect and drop it into each request.

Responses

Status 200

Slug generated successfully.

{
  "ok": true,
  "data": {
    "slug": "dataczar-api-platform",
    "original_length": 24
  },
  "meta": {
    "service": "text/slugify",
    "dryrun": false,
    "request_id": "req_123"
  }
}

Examples

Request

"GET /text/slugify?text=Hello%20World&ak=demo"

Response

{
  "ok": true,
  "data": {
    "slug": "hello-world",
    "original_length": 11
  },
  "meta": {
    "dryrun": false
  }
}

Request

"POST /text/slugify {\"text\":\"FAST Mode\",\"separator\":\"_\",\"lower\":false}"

Response

{
  "ok": true,
  "data": {
    "slug": "FAST_Mode",
    "original_length": 8
  },
  "meta": {
    "dryrun": false
  }
}

Test Contracts

[
  {
    "name": "basic_slug",
    "method": "GET",
    "params": {
      "text": "Dataczar API"
    },
    "expect": {
      "slug": "dataczar-api"
    }
  },
  {
    "name": "custom_separator",
    "method": "POST",
    "body": {
      "text": "Hello Again",
      "separator": "_",
      "lower": false
    },
    "expect": {
      "slug": "Hello_Again"
    }
  }
]

Query parameters

Body parameters

We'll send these as JSON for POST/PUT/PATCH requests and as query params for GET.

Equivalent curl

Grab your Dataczar API key

Every helper runs with the same simple API key. Sign in (or create a free Dataczar account) at Dataczar Connect to issue keys in seconds, then drop the key into any `ak=` parameter and start shipping.

Tip: reuse the same key across these helpers, or rotate keys per project from the Connect dashboard.