When querying metrics I use the dimension $attributed_message to determine which campaign/flow it is coming from. I get the response with the dimension id, but not the name or whether it is a campaign/flow.
Using the dimension id, I request the name against both the Get Campaign and Get Flow to see which one it works for.
Since there are hundreds of ids, it takes a while. Is there a better practice of accomplishing this?
Depending on your exact use case parameters, you may be able to reference this guide to create a more efficient way to accomplish this. Since this endpoint is highly customizable, there isn’t necessarily a concrete solution available without knowing the specifics of your use case.
Depending on your exact use case parameters, you may be able to reference this guide to create a more efficient way to accomplish this. Since this endpoint is highly customizable, there isn’t necessarily a concrete solution available without knowing the specifics of your use case.