Marketing

Bitly

9min
the bitly modules enable you to shorten links, expand links and list links in your bitly account get 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 connect 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 bitly modules actions shorten url shortens entered url to the bitlink field description connection establish a connection to your bitly account 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 field description connection establish a connection to your bitly account bitlink id enter (map) the short link you want to be expanded make an api call allows you to perform a custom api call field description connection establish a connection to your bitly account url enter a path relative to https //api ssl bitly com e g /v4/groups method select the http method you want to use get to retrieve information for an entry post to create a new entry put to update/replace an existing entry patch to make a partial entry update delete to delete an entry 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 field description connection establish a connection to your bitly account 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 for the list of available endpoints, refer to the bitly api v4 documentation