I want to retrieve the list of assets with a tag ID via API

💻 Environment/Context

  • Profile
  • API
  • Endpoint

 

 

❓ Issue/Question

  • Can you please give me an API example call if I want to retrieve the list of assets with the tag ID 704382 ?

 

👌 Resolution/Answer

  • To search assets by tag, use POST /media/search with the tag option ID in the tag_options array:
curl --location 'https://media.scoreplay.io/v1/media/search?api_key=[api_key]' \
--header 'Content-Type: application/json' \
--data '{
 "tag_options": [704382]
}'

 

 

🔖 Notes