Getting tag details
Each Tag object has its own URL: http://api.rebrandly.com/v1/tags/{id}
, where {id}
is the unique identifier of the tag.
To get Tag object details, you should HTTP GET
on the specific tags endpoint, and a JSON object representing the tag will be returned.
PATH PARAMETERS
Path parameter | Description |
---|---|
id | Unique identifier of the tag you want to get details for |
GETting tag details
$ curl \
-s http://api.rebrandly.com/v1/tags/3aehje9d536s46d59ba5bcf49b582ear \
-H 'Accept: application/json'
-H 'Authorization: Bearer YOUR_TOKEN_HERE'
HTTP/1.1 200 OK
JSON Response (tag details)
{
"id": "3aehje9d536s46d59ba5bcf49b582ear",
"name": "personal",
"color": "#ddeeff"
}
Updated 7 months ago