Skip to main content
GET
/
tags
Typescript (SDK)
import { Latitudesh } from "latitudesh-typescript-sdk";

const latitudesh = new Latitudesh({
  bearer: process.env["LATITUDESH_BEARER"] ?? "",
});

async function run() {
  const result = await latitudesh.tags.list();

  console.log(result);
}

run();
{
  "data": [
    {
      "id": "tag_br3pyBM8YeIyBQGR0rbocVrmJnE",
      "type": "tags",
      "attributes": {
        "name": "Angrod",
        "slug": "angrod",
        "description": "Dolorem vel distinctio et.",
        "color": "#141515",
        "team": {
          "id": "team_RPp3R8oZyjSAGGP7oeMEsR8yPNgo",
          "name": "627 Team",
          "slug": "627-team",
          "description": "627 Team",
          "address": "977 Julietta Views, West Ocie, KS 10398-1982",
          "status": "verified",
          "currency": {
            "id": "cur_AW6Q2D9lqKLpr",
            "code": "BRL",
            "name": "Brazilian Real",
            "currency_id": null
          }
        }
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Response

200 - application/vnd.api+json

Success

data
object[]
meta
object