Prerequisites
settings:readto see environmentssettings:writeto create or rename themsettings:deleteto delete them
System environments
Every account has two environments that can’t be renamed or deleted:Create an environment
1
Open Environments
Go to Settings → Environments and click New environment.
2
Name it
Enter a name (up to 60 characters, at least one letter or digit) and an
optional description (up to 300 characters).
3
Save
Masivo derives a slug from the name (
QA Ecuador 2 → qa-ecuador-2):
lowercase letters, digits and hyphens, unique in the account. The slug
never changes, even if you rename the environment.Use an environment
Every OAuth client and app belongs to one environment, chosen when you create it. Tokens carry the environment ID in theenv claim, so you can tell which
credential made a request.
An environment can’t be deleted while OAuth clients or apps still use it.
Move or delete them first.
An environment labels credentials; it does not separate data. Every
environment of an account reads and writes the same customers, events and
campaigns. Whether the account is a production or sandbox account is set
by the account itself, not by the environment.