Multiple Main Company Numbers (statewise)

  • 0
  • 1
  • Question
  • Updated 1 month ago
We have app which contains Client-Id, Client-Secret keys etc with one Main Company Number. Can we add multiple account numbers as Main Account Number which are statewise under same app.?? If no then we need to create app for each number. Am I correct??? or what else ??

What is the way to handle multiple account numbers (statewise) under same app??

Photo of Pramod Kangare

Pramod Kangare

  • 70 Points

Posted 1 month ago

  • 0
  • 1
Photo of Michel

Michel, Champion

  • 5,478 Points 5k badge 2x thumb
There are 2 methods:
1)  recreate your private app under each account to obtain and ID + KEY for each main number you want to use.  Then in your app code, you need to use the appropriate ID + KEY for the account you are referencing - so one app program can reference all your different main company numbers, it just needs to use the appropriate ID + KEY for each number

2) create one public app and then your app would authenticate each company number that you want to reference using either "Auth Code Flow" or "Implicit Flow", depending on the type of app your are building (server or gui).  See this for more details: