Dashboard
Edit Article Logout

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.

Important

To use the provisioning API you must have a provisioning id. The provision id is a separate secret used when using this API.

HTTP Request Examples
{ "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": {} }
HTTP Request Parameters
namestring
The name of the account to create.
keystring
The secret provision key provided to you for provisioning new accounts.
logo_urlstring
Optionally provide a logo_url. If one is not provided, the parent account logo associated with the provision id will be used.
contactsnumber
Optionally provide the number of contacts to provision for the account. If not provided, the number of contacts is set to 10,000.
emailsarray
Optionally provide an array of email addresses for users that need to be added to the new account.
HTTP Response Examples
200
{ "tenantuid": "934c032e3d14ed38", "token": "d949414ea10e796e4c44490b-us-1" }
HTTP Response Parameters
tenantuidstring
The unique tenant UID of the provisioned account.
tokenstring
An API token for the newly provisioned account.


How helpful was this article?

πŸ‘ or πŸ‘Ž

Related Articles