No. Smart link rules (redirects by country, language, device or time) are set up in the Capsulink dashboard only.
With the Capsulink API you can create short links and change their destination URL, short link ending, domain, folder, title, password and privacy, list your links and folders, and read click statistics. API access is available on the Business and Ultimate plans. Documentation: Capsulink API for developers.