Provision Account
The provisioning API is a special API used by customers that have the ability to create new accounts on DailyStory. This API is used by franchises and other white label partners to create new tenants on DailyStory with specific configuration instructions.
How account provisioning works
If you are setup for account provisioning, you have the ability to create new DailyStory accounts using a combination of a provisioning code and an API key for the parent tenant.
What is the parent tenant?
In account provisioning the parent tenant is the parent account of all provisioned subaccounts. For example, if your parent account is named "ACME, LLC" when using the provisioning API new subaccounts will be created as child accounts of "ACME, LLC".
Users that can login to ACME, LLC have the ability to create campaigns, emails, and other content and easily publish it to child accounts.
During account provisioning settings from the parent account will be applied to the child account. Unless those settings are pre-configured or set using the API.
ImportantTo use the provisioning API you must have a provisioning id. The provision id is a separate secret used when using this API.
{
"name":"My new account",
"key":"21a68c7b-050e-4c6c-b71c-6f200885c05c",
"logo_url":"https://us-1.dailystory.com/content/images/dailystory-app-logo.png?v=2",
"contacts": 10000,
"emails": [
"user_a@example.com",
"user_b@example.com"
],
"settings": {}
}
The name of the account to create. Required.
The secret provision key provided to you for provisioning new accounts. Required.
Optional logo URL for the new account. If not provided, the parent account's logo will be used.
Optional number of contacts to provision for the new account. Defaults to 10,000.
Optional array of email addresses for users that should be invited to the new account.
Optional nested object of configuration settings to apply to the new account. Keys are feature or integration names; values are dictionaries of string configuration values. Unset keys inherit from the parent tenant.
{
"tenantuid": "934c032e3d14ed38",
"token": "d949414ea10e796e4c44490b-us-1"
}
The unique tenant UID of the provisioned account.
A newly created API token bound to the provisioned account. Store this securely — it cannot be retrieved again.