Appearance
Tags
APIs for managing tags in your Lindris account.
As a reminder, all requests must be authenticated and use the base URL: https://api.lindris.com
List tags in alphabetical order
GETapi/tagsRequest
bash
curl --request GET \
--get "https://api.lindris.com/api/tags" \
--header "Authorization: Bearer {YOUR_API_KEY}" \
--header "Content-Type: application/json"php
$client = new \GuzzleHttp\Client();
$url = 'https://api.lindris.com/api/tags';
$response = $client->get(
$url,
[
'headers' => [
'Authorization' => 'Bearer {YOUR_API_KEY}',
'Content-Type' => 'application/json',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));javascript
const url = new URL(
"https://api.lindris.com/api/tags"
);
const headers = {
"Authorization": "Bearer {YOUR_API_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Response
json
{
"data": [
{
"id": 1,
"name": "anotherTag"
},
{
"id": 2,
"name": "newTag"
}
]
}