My goal is to know whether a contact has a specific tag or not. I need to access the ID of the tag. It is pretty deeply nested, and I had to get the key dynamically to reach the object. I figured out how to get the first index of the array, but I don’t know how to access the whole thing.
Here are screenshots of my situation.
- The JSON response I am trying to access
- What I tried
- The response I’m getting.