Of course, you can set a value for
slashtag field when creating a new link.
Mind that you cannot edit a link's slashtag once the link is created.
Are client integrations supposed to save the link ID to be able to get/edit/delete the link afterward?
Not necessarily. By properly using filters of List of links endpoint, you can uniquely fetch a specific link when you know in advance in which workspace it was created, and when you know at least the short URL itself.
Double check example in Getting link details, you can exploit it to build a clean integration which does not need to store anything on your model about Rebrandly IDs.
No. In Rebrandly you can rebrand a given destination URL many times with many different branded domains and slashtags, this is the reason why you cannot fetch links by destination URL.
If your system is in need to fetch by destination URL (e.g. blog posts sharing), we recommend you to use hashing techniques to choose your slashtag when you create the link: if you can correspond every destination URL to a specific hash code, you can always easily fetch the right link by means of calculating the hash of the destination URL.
No. There is no possibility yet to create/edit or delete links in batch.
There are ways to bulk-import links in Extended Workspaces, available on Enterprise-grade plans.
Unfortunately, there is no API support to interact with slashtag generation.
API clients are supposed to build their own slashtag generation systems to avoid URL collisions and to match their application needs.
Yes, double check our API example in AMPscript in code snippet.