📖
API documentation
  • 🚀 Dashboard
  • 📅Changelog
  • 💾Deprecations
  • 🛠️Resources
    • Artist
    • ArtistRole
    • AppleArtist
    • AssetAttachment
    • Availability
    • Booklet
    • Company
    • Continent
    • Currency
    • Customisation
    • Distributor
    • DistributorPriceCode
    • DistributorProductSubgenres
    • Dsp
    • DspState
    • DspTag
    • DspUploadIdentification
    • Gender
    • ImportTask
    • ImportTask [NEW]
    • Label
    • Language
    • Offer
    • Playlist
    • Product
    • ProductGenre
    • ProductType
    • Quotas
    • Record
    • Retail
    • Role
    • Right
    • SendTask
    • SendTaskFactory
    • SpotifyArtist
    • Tag
    • Territory
    • Track
    • TrackOffer
    • TrackVideo
    • Video
    • Webhooks
  • 💡Best practices
    • JSON API documentation
    • Perform your first request
    • Make specific JSON API request
    • Manage the static resources
    • List of common HTTP status codes
    • ⁉️Timeouts and Errors
  • 🖥️Tutorials
    • Full Scenario
    • Managing artists
    • Upload a Dolby Atmos
    • Set a timed release
    • Update Scenario
  • 🔗Exports
    • Daily Trends export
  • 📡Webhooks
    • Presentation
Powered by GitBook
On this page
  1. 🛠️Resources

Tag

PreviousSpotifyArtistNextTerritory

Last updated 5 months ago

CtrlK
  • List Tags
  • Get Tag

List Tags

GET https://api.idol.io/api/v2/tags

Headers

Name
Type
Description

Authorization*

string

Bearer <token>

Content-Type*

string

application/vnd.api+json

{
  "data": [
    {
      "id": "<ID>",
      "type": "tags",
      "links": {
        "self": "https://api.idol.io/api/v2/tags/<ID>"
      },
      "attributes": {
        "created-at": "2023-05-03T07:57:33.319+02:00",
        "updated-at": "2024-05-07T11:35:04.923+02:00",
        "name": "My best"
      },
      "relationships": {
        "products": {
          "links": {
            "self": "https://api.idol.io/api/v2/tags/<ID>/relationships/products",
            "related": "https://api.idol.io/api/v2/tags/<ID>/products"
          }
        }
      }
    },
    {
      "id": "<ID>",
      "type": "tags",
      "links": {
        "self": "https://api.idol.io/api/v2/tags/<ID>"
      },
      "attributes": {
        "created-at": "2024-05-03T08:42:48.873+02:00",
        "updated-at": "2024-05-03T08:42:48.873+02:00",
        "name": "omtag"
      },
      "relationships": {
        "products": {
          "links": {
            "self": "https://api.idol.io/api/v2/tags/<ID>/relationships/products",
            "related": "https://api.idol.io/api/v2/tags/<ID>/products"
          }
        }
      }
    },
    {
      "id": "<ID>",
      "type": "tags",
      "links": {
        "self": "https://api.idol.io/api/v2/tags/<ID>"
      },
      "attributes": {
        "created-at": "2024-05-04T13:31:34.791+02:00",
        "updated-at": "2024-05-04T13:31:34.791+02:00",
        "name": "narmol"
      },
      "relationships": {
        "products": {
          "links": {
            "self": "https://api.idol.io/api/v2/tags/<ID>/relationships/products",
            "related": "https://api.idol.io/api/v2/tags/<ID>/products"
          }
        }
      }
    }
  ],
  "meta": {
    "record-count": 165,
    "page-count": 55
  },
  "links": {
    "first": "https://api.idol.io/api/v2/tags?page%5Bnumber%5D=1&page%5Bsize%5D=3",
    "next": "https://api.idol.io/api/v2/tags?page%5Bnumber%5D=2&page%5Bsize%5D=3",
    "last": "https://api.idol.io/api/v2/tags?page%5Bnumber%5D=55&page%5Bsize%5D=3"
  }
}

Get Tag

GET https://api.idol.io/api/v2/tags/:id

Path Parameters

Name
Type
Description

id*

number

ID of the Tag

Headers

Name
Type
Description

Authorization*

string

Bearer <token>

Content-Type*

string

application/vnd.api+json

{
  "data": {
    "id": "<ID>",
    "type": "tags",
    "links": {
      "self": "https://api.idol.io/api/v2/tags/<ID>"
    },
    "attributes": {
      "created-at": "2024-05-03T07:57:33.319+02:00",
      "updated-at": "2025-05-07T11:35:04.923+02:00",
      "name": "My best"
    },
    "relationships": {
      "products": {
        "links": {
          "self": "https://api.idol.io/api/v2/tags/<ID>/relationships/products",
          "related": "https://api.idol.io/api/v2/tags/<ID>/products"
        }
      }
    }
  }
}