V3 API Wordpress Integration

I am trying to integrate v3 API on my website I was able to get it working on my localhost

i have a custom php template in wordpress I am having a difficult time trying to figure out

1)how can I generate the code on the server as I want the code to be generated automatically without me clicking on the generated url

2)also generate auth token automatically 

Quick Links

Leaderboard