API Distinction between Live and Imported Sandbox Entities

Hi Manager.io Team,

I am currently developing an API integration using Access Tokens and need to clarify how to programmatically distinguish between my “Live” entity and a “Test” copy.

I plan to use the Backup/Import feature to create a sandbox environment for testing my implementation. Since the imported backup is a perfect clone of the live data, how can I address either the live or cloned entity ?

I want to avoid any risk of my testing script accidentally writing data to the Live entity due to cloned identifiers. Is there an endpoint giving the name of the “Active” business ?

Looking forward to an improved api with more CUD operations and improved safety/control regarding the “Active” business.

Best regards,

That’s a very good question indeed.

I just realized that Acces Tokens get copied with Backup, so Idk how the server would make out which business to post-in/retrieve-from.

There is a field for Business somewhere in the top level response but I don’t see how this could be used here.

I will move this to developers category and tag @lubos.

For now, my advise would be to create a separate token for your sandbox business for now and later change the token once your integration goes into production.