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.

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