fetch tags and programs in a single api call using the rest implemantation | Community
Skip to main content
Level 1
July 4, 2025
Question

fetch tags and programs in a single api call using the rest implemantation

  • July 4, 2025
  • 1 reply
  • 412 views

We are in the process of migrating from a SOAP-based implementation to a REST-based approach for fetching programs and their associated tags. Previously, with SOAP, we were able to retrieve all relevant data — including tags, tokens, and costs — in a single API call. However, with the REST API, retrieving tags now requires a separate request. According to the documentation, the endpoint for fetching programs does not return additional information such as "Tag", "Token", or "Cost". Tags must instead be retrieved using either the Get Programs by Id or Get Programs by Name endpoints.

Is there a bulk REST API available that allows us to fetch tags for all programs in a single request?



This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
July 5, 2025

You’ll have to get each Program.

 

Also, IIRC, a change only to Tags doesn’t update the last updated date of the Program, so you have to always fetch the Program as long as it’s presumed active. (Maybe that’s been changed, will verify it later.)