User Management


With Audiostack, you can manage user roles and permissions, allowing you to grant or restrict access to specific features and content.

Assuming Roles

As a developer, you might need to use the API as a user in a different organisation from your main organisation, if you have access to multiple organisations. Here's how you can do that using our Python SDK:

import audiostack
import os

audiostack.api_key = os.environ["APIKEY"]
audiostack.assume_org_id = "ORGANISATION_ID"

In Javascript, simply add this line in addition to defining the apiKey as usual:

const AS = new Audiostack(apiKey, { assumeOrg: 'ORGANISATION_ID' });

In both of these code examples you'll need to replace the ORGANISATION_ID and APIKEY - this will let you assume the role of that child organisation.


You can use organisations to separate private data and keep it secure.

For example, if you're an agency you may want your individual brand customers to all be in separate child orgs.