Rebrandly for Developers

Use our API to create, track and share custom short links that incorporate your brand domain name.

Get Started

Attaching a tag

You can attach a Tag object to a Link object.

In order to attach a Tag to a Link, you must first create both the resources and get their unique identifiers. Once you have them, you can perform a POST API call (without body) to the association endpoint, which is composed as follow:, where lid is the Link resource's id property and tid is the Tag resource's id property.


Check compatibility first

Double check whether your API key or OAuth token is enabled to use the Tags feature.
For every account, you can check for features and limits with a preliminary API call.

Attaching a Tag to a Link
$ curl '' \
-H 'apikey: YOUR_API_KEY' \
-H 'Content-Type: application/json'

HTTP/1.1 200 OK

Updated about a year ago

Attaching a tag

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.