Bitly
The Bitly modules enable you to shorten links, expand links and list links in your Bitly account.
Getting Started with Bitly
Prerequisites
A Bitly account
In order to use Bitly with Make, it is necessary to have a Bitly account. If you do not have one, you can create a Bitly account at bitly.com.
Caution
The module dialog fields that are displayed in bold (in the Make scenario, not in this documentation article) are mandatory!
Connecting Bitly to Make
To connect your Bitly account to Make follow the general instructions for Connecting to services.
After you click the Continue button, Make will redirect you to the Bitly website where you will be prompted to grant Make access to your account.
Confirm the dialog by clicking the Allow button.
Actions
Shorten URL
Shortens entered URL to the Bitlink.
Connection | |
Long URL | Enter the URL you want to convert to the short link. |
Organization | Select the organization that contains a group you want to use. |
Group | Select or map the group you want to shorten the link on behalf of. |
Expand Bitlink URL
Retrieves the long URL from the short link.
Connection | |
Bitlink ID | Enter (map) the short link you want to be expanded. |
Make an API Call
Allows you to perform a custom API call.
Connection | |
URL | Enter a path relative to For the list of available endpoints, refer to the Bitly API v4 Documentation. |
Method | Select the HTTP method you want to use:
|
Headers | Enter the desired request headers. You don't have to add authorization headers; we already did that for you. |
Query String | Enter the request query string. |
Body | Enter the body content for your API call. |
Example of Use - List Links
The following API call returns all links for the specified group in your Bitly account:
URL:
/v4/groups/Bk2l8aVZxXv/bitlinks
Replace "Bk2l8aVZxXv" by the ID of the group you want to retrieve links for.
Method:
GET
Matches of the search can be found in the module's Output under Bundle > Body > links.
In our example, 3 links were returned:
Searches
List Bitlinks
Retrieves Bitlinks for the specified group.
Connection | |
Organization | Select the organization that contains a group you want to use. |
Group | Select or map the group you want to retrieve links for. |
Limit | Set the maximum number of results Make will return during one execution cycle. |