Skip to content

Get Tag

This endpoint fetches Tag(s).

GET https://adelion.com/api/tag/get
ParameterTypeDescriptionRequirement
IdintTag ID, if sent, request will fetch Tag with exact ID, otherwise it fill fetch all Tags.optional
ActiveOnlyintRequest will fetch only active Tags if set to 1, otherwise it fill fetch all Tags.optional

To get Tag, send query parameter like this: Id=1

Or if you want to get all Tags, don’t include Id parameter, or set it as 0.

Success JSON
{
"Id": 1,
"TeamId": 1,
"Name": "Tag 1",
"Status": 0,
"StatusString": "Active"
}
Success JSON for multiple
[
{
"Id": 1,
"TeamId": 1,
"Name": "Tag 1",
"Status": 0,
"StatusString": "Active"
}
]
Error JSON
{
"Status": "Error",
"Error": "[error description]"
}
CodeStatusMeaning
401UnauthorizedYour access token is invalid.
406Not AcceptableOne or more JSON values are missing or malformed, or the requested object was not found.
500Internal Server ErrorThe server encountered a problem. Try again later.