How-to Authenticate into NextGen
First, we need to define the client_id , client_secret , and site_id and pass them as request
parameters.
Once that is setup we need to fetch an X-NG-sessionid that is unique to each practice.

Each client will authorize a unique site_id per environment. Learn more about site_ids in the
NextGen APIs page.