Bitly
API actions for the Bitly integration.
Bitly
Shorten and manage URLs using Bitly.
Expand a Bitly link
Resolve a Bitly short link to its original long URL.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
bitlink_id | string | Yes | The 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"
}Shorten a link
Create a short Bitly link from a long URL with an optional custom domain and title.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
long_url | string | Yes | The original long URL to shorten |
domain | string | No | [Optional] A custom Bitly domain such as bit.ly or your branded domain |
title | string | No | [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"
}