POST /api/links/shorten
POST /api/links/shorten creates a short link free of charge.
{ "url": "https://example.com/very/long", "alias": "promo-may", "expires_in": 86400 }
POST /api/links/send
POST /api/links/send sends a link to a phone. A successful send is charged at the rate of the channel used.
With channel omitted or set to auto, Cascade tries the enabled channels in the order configured for the API key under Channels. To select a specific enabled channel, use whatsapp, telegram, sms, or max.
{
"phone": "77001234567",
"url": "https://example.com/promo",
"channel": "whatsapp",
"text": "Your link: :link"
}
OTP + link
POST /api/otp/send can add a link to the code message. Billing counts one send at the rate of the channel used.