Quering multiple corporate accounts with REST API

Hi is it feasible to retrieve the data for multiple corporate accounts (which are separate in user interface - https://x_inc.pagerduty.com and https://y_inc.pagerduty.com - that are for the the sub-brands) with the same API token? The REST api endpoint seems being the same api.pagerduty.com …
Or shall I apply for a separate token ?

Alex

Hey Alexander,

Thanks for your question!

Retrieving the data you are after for both accounts will require two separate tokens.

API tokens are randomly generated from within the account, so there would not be a way to allow that token to communicate with an account it did not originate from.

I hope this makes sense!

1 Like