Ask about anything in DailyStory Developer Documentation

Type a question in your own words below. Answers are written from our published articles and cite the ones they came from.

Recently updated

    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. Required.
    keystring
    The secret provision key provided to you for provisioning new accounts. Required.
    logo_urlstring
    Optional logo URL for the new account. If not provided, the parent account's logo will be used.
    contactsnumber
    Optional number of contacts to provision for the new account. Defaults to 10,000.
    emailsarray
    Optional array of email addresses for users that should be invited to the new account.
    settingsobject
    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.
    HTTP Response Examples
    200
    { "tenantuid": "934c032e3d14ed38", "token": "d949414ea10e796e4c44490b-us-1" }
    HTTP Response Parameters
    tenantuidstring
    The unique tenant UID of the provisioned account.
    tokenstring
    A newly created API token bound to the provisioned account. Store this securely β€” it cannot be retrieved again.


    How helpful was this article?

    πŸ‘ or πŸ‘Ž

    Related Articles

    Markdown Version