What the model is told
Shorten a long web address so it can be sent by SMS or read out. Pass the full URL starting with https://. Returns the short link in the link field. Share only the short link.
Request
POSThttps://api-ssl.bitly.com/v4/shorten
Headers
Content-Typeapplication/jsonAuthorizationBearer YOUR_BITLY_ACCESS_TOKEN
Body
{
"long_url": "{{longUrl}}"
}Parameters
longUrl stringThe full URL to shorten, starting with https://.
Engage payload
{
"source": "VOICE_AI",
"tool": {
"id": "2d44d681-2667-4127-bc28-a7dd978834bf",
"type": "HTTP_REQUEST",
"label": "Shorten Link with Bitly",
"name": "shorten_link_with_bitly",
"customName": false,
"description": "Shorten a long web address so it can be sent by SMS or read out. Pass the full URL starting with https://. Returns the short link in the link field. Share only the short link.",
"parameters": [
{
"name": "longUrl",
"type": "string",
"description": "The full URL to shorten, starting with https://."
}
],
"config": {
"endpoint": {
"method": "POST",
"url": "https://api-ssl.bitly.com/v4/shorten"
},
"headers": [
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "Authorization",
"value": "Bearer YOUR_BITLY_ACCESS_TOKEN"
}
],
"body": "{\n \"long_url\": \"{{longUrl}}\"\n}",
"timeout": null
}
}
}IDs are regenerated on every copy.