How to call third party API

I have created one task to send push notification. I am trying to call firebase API for send push notification but not working. Can you please look into that? I am calling an API by using fetch

Hey Kevin - can you share your function code so we see how you are trying to make the call?

Also, you said you made a Task function. How are you actually triggering/invoking that Task?