Skip to content
Utilerio
All endpoints

UTM Link Builder

POST/api/v1/tools/utm-builder

Build one or many UTM-tagged campaign URLs from source, medium, campaign, term and content, export as CSV.

Authentication

Requires an API key in the X-API-Key header.

Try it

POST/api/v1/tools/utm-builder

Parameters

urlstringrequired

Base URL to append UTM parameters to.

sourcestringoptional

utm_source value.

mediumstringoptional

utm_medium value.

campaignstringoptional

utm_campaign value.

termstringoptional

utm_term value.

contentstringoptional

utm_content value.

Request body

{
  "url": "https://example.com/landing",
  "source": "newsletter",
  "medium": "email",
  "campaign": "spring_sale"
}

Response codes

  • 200Success.
  • 400Invalid request — check your body or parameters.
  • 401Missing or invalid API key.
  • 403The API key is not scoped to this endpoint.
  • 429Rate limit exceeded — retry after a short wait.

Language

cURL

Request

curl -X POST https://utilerio.com/api/v1/tools/utm-builder \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com/landing","source":"newsletter","medium":"email","campaign":"spring_sale"}'

Response

{ "url": "https://example.com/landing?utm_source=newsletter&utm_medium=email&utm_campaign=spring_sale" }