@Meenu1 if you are making the API call first try print the value in action.py and then the same approach used for dispatcher whilst storing that value in the variable or use the f string in python Ref: f-strings in Python - GeeksforGeeks
Tip: print that are you able to get all the links if yes then only print the list in attachment i.e attachment = list
Good Luck!