Onboarding invite using API

Onboarding invite using API

i created a custom function and executed that code, it will executed successfully but invite link does not sent.
so kindly anyone know this one let give the details why invite not sent and how it's working through small description.
attach the screen shot below..

      • Sticky Posts

      • Meet the Zoho People experts in your city!

        Dear users,   We are delighted to invite you to the Zoho People's user community meetup. We are stoked to visit our users in their cities and help them with all things Zoho People.   Join us for a day of insightful Zoho sessions, interactions with other