How to get response in Tag using API

I’m new using API’s. I want to use responses to send as a notification. For example this one: Using Logic I can access the API from https://api-ninjas.com/api/dadjokes . I do get a joke fetched but then I want to extract the text and put it in a tag. In this case an example:

[ { “joke”: “I have a joke about immortality, and it never gets old.” } ]

So I should use the Logic again to transform JSON to a text using a path I think? But what should this path be? I already tried $.joke for example, but this is invalid. Also only using joke does not work. So my question is: how do paths work using an output like this? If I understand how this formatting is working I can use other API’s to fill up variables

For your example $[0].joke could work.

You can use https://jsonpath.com/ to test paths on a sample.