POST /api/links/shorten
Shorten a URL without sending. Delivery tokens are not charged.
{ "url": "https://example.com/very/long", "alias": "promo-may", "expires_in": 86400 }
POST /api/links/send
Shorten and send to the phone (no OTP). Charges delivery tokens.
{
"phone": "77001234567",
"url": "https://example.com/promo",
"channel": "whatsapp",
"text": "Your link: :link"
}
OTP + link
In POST /otp/send you can pass link — the link goes in the same message as the code.