Shorten a Link
documentedConverts a long URL into a Bitlink (shortened URL).
POST /v4/shortenBitlinksno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api-ssl.bitly.com/v4/shorten" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"long_url": "{{$long_url}}", "domain": "{{$domain}}", "group_guid": "{{$group_guid}}", "force_new_link": {{$force_new_link}}}'