Lodol Docs

Bitly

API actions for the Bitly integration.

Bitly

Shorten and manage URLs using Bitly.


Resolve a Bitly short link to its original long URL.

Parameters

ParameterTypeRequiredDescription
bitlink_idstringYesThe Bitly link to expand (for example, bit.ly/abc123 or a branded domain link)

Response

{
  "id": "mock_value",
  "link": "mock_value",
  "long_url": "mock_value",
  "status": "mock_value"
}

Create a short Bitly link from a long URL with an optional custom domain and title.

Parameters

ParameterTypeRequiredDescription
long_urlstringYesThe original long URL to shorten
domainstringNo[Optional] A custom Bitly domain such as bit.ly or your branded domain
titlestringNo[Optional] A title to associate with the short link

Response

{
  "id": "mock_value",
  "link": "mock_value",
  "long_url": "mock_value",
  "status": "mock_value",
  "title": "mock_value"
}

On this page