{"Status":true,"Message":"","Response":{"post":{"postuid":"815b5a61-0b00-4f62-94cc-15689d1d5b17","tenantuid":"d8b744fc-2e70-4089-bb80-dd1d08f6c7b2","projectuid":"542e5f51-33cf-401f-aebe-4324ebe36fe4","title":"Provision Account","slug":"reference/provision-account","html":"\u003Cp\u003EThe 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.\u003C/p\u003E\u003Ch2 id=\u0022how_account_provisioning_works\u0022\u003EHow account provisioning works\u003C/h2\u003E\u003Cp\u003EIf 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.\u003C/p\u003E\u003Ch3 id=\u0022what_is_the_parent_tenant\u0022\u003EWhat is the parent tenant?\u003C/h3\u003E\u003Cp\u003EIn account provisioning the parent tenant is the parent account of all provisioned subaccounts. For example, if your parent account is named \u0022ACME, LLC\u0022 when using the provisioning API new subaccounts will be created as child accounts of \u0022ACME, LLC\u0022.\u003C/p\u003E\u003Cp\u003EUsers that can login to ACME, LLC have the ability to create campaigns, emails, and other content and easily publish it to child accounts.\u003C/p\u003E\u003Cp\u003EDuring 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.\u003C/p\u003E\u003Ccite class=\u0022important\u0022\u003E\u003Cspan class=\u0022title\u0022\u003EImportant\u003C/span\u003E\u003Cp\u003ETo use the provisioning API you must have a provisioning id. The provision id is a separate secret used when using this API.\u003C/p\u003E\u003C/cite\u003E\u003Cdiv class=\u0022api_header\u0022\u003EHTTP Request Examples\u003C/div\u003E\u003Cdiv class=\u0022code_wrapper\u0022\u003E\u003Cdiv class=\u0022d-flex header\u0022\u003E\u003C/div\u003E\u003Cdiv class=\u0022code\u0022 data-language=\u0022json\u0022\u003E{\n    \u0026quot;name\u0026quot;:\u0026quot;My new account\u0026quot;,\n    \u0026quot;key\u0026quot;:\u0026quot;21a68c7b-050e-4c6c-b71c-6f200885c05c\u0026quot;,\n    \u0026quot;logo_url\u0026quot;:\u0026quot;https://us-1.dailystory.com/content/images/dailystory-app-logo.png?v=2\u0026quot;,\n    \u0026quot;contacts\u0026quot;: 10000,\n    \u0026quot;emails\u0026quot;: [\n        \u0026quot;user_a@example.com\u0026quot;,\n        \u0026quot;user_b@example.com\u0026quot;\n    ],\n    \u0026quot;settings\u0026quot;: {}\n}\u003C/div\u003E\u003C/div\u003E\u003Cdiv class=\u0022api_header\u0022\u003EHTTP Request Parameters\u003C/div\u003E\u003Csection class=\u0022api_parameters\u0022\u003E\u003Csection class=\u0022api_param\u0022\u003E\u003Cdiv class=\u0022api_param_header\u0022\u003E\u003Cspan class=\u0022p_name\u0022\u003Ename\u003C/span\u003E\u003Cspan class=\u0022p_type\u0022\u003Estring\u003C/span\u003E\u003C/div\u003E\u003Cdiv\u003EThe name of the account to create.\u003C/div\u003E\u003C/section\u003E\u003Csection class=\u0022api_param\u0022\u003E\u003Cdiv class=\u0022api_param_header\u0022\u003E\u003Cspan class=\u0022p_name\u0022\u003Ekey\u003C/span\u003E\u003Cspan class=\u0022p_type\u0022\u003Estring\u003C/span\u003E\u003C/div\u003E\u003Cdiv\u003EThe secret provision key provided to you for provisioning new accounts.\u003C/div\u003E\u003C/section\u003E\u003Csection class=\u0022api_param\u0022\u003E\u003Cdiv class=\u0022api_param_header\u0022\u003E\u003Cspan class=\u0022p_name\u0022\u003Elogo_url\u003C/span\u003E\u003Cspan class=\u0022p_type\u0022\u003Estring\u003C/span\u003E\u003C/div\u003E\u003Cdiv\u003EOptionally provide a logo_url. If one is not provided, the parent account logo associated with the provision id will be used.\u003C/div\u003E\u003C/section\u003E\u003Csection class=\u0022api_param\u0022\u003E\u003Cdiv class=\u0022api_param_header\u0022\u003E\u003Cspan class=\u0022p_name\u0022\u003Econtacts\u003C/span\u003E\u003Cspan class=\u0022p_type\u0022\u003Enumber\u003C/span\u003E\u003C/div\u003E\u003Cdiv\u003EOptionally provide the number of contacts to provision for the account. If not provided, the number of contacts is set to 10,000.\u003C/div\u003E\u003C/section\u003E\u003Csection class=\u0022api_param\u0022\u003E\u003Cdiv class=\u0022api_param_header\u0022\u003E\u003Cspan class=\u0022p_name\u0022\u003Eemails\u003C/span\u003E\u003Cspan class=\u0022p_type\u0022\u003Earray\u003C/span\u003E\u003C/div\u003E\u003Cdiv\u003EOptionally provide an array of email addresses for users that need to be added to the new account.\u003C/div\u003E\u003C/section\u003E\u003C/section\u003E\u003Cdiv class=\u0022api_header\u0022\u003EHTTP Response Examples\u003C/div\u003E\u003Cdiv class=\u0022code_wrapper\u0022\u003E\u003Cdiv class=\u0022d-flex header\u0022\u003E\u003Cspan class=\u0022httpstatus\u0022\u003E\u003Cspan class=\u0022solid-circle success\u0022\u003E\u003C/span\u003E200\u003C/span\u003E\u003C/div\u003E\u003Cdiv class=\u0022code\u0022 data-language=\u0022json\u0022\u003E{\n    \u0026quot;tenantuid\u0026quot;: \u0026quot;934c032e3d14ed38\u0026quot;,\n    \u0026quot;token\u0026quot;: \u0026quot;d949414ea10e796e4c44490b-us-1\u0026quot;\n}\u003C/div\u003E\u003C/div\u003E\u003Cdiv class=\u0022api_header\u0022\u003EHTTP Response Parameters\u003C/div\u003E\u003Csection class=\u0022api_parameters\u0022\u003E\u003Csection class=\u0022api_param\u0022\u003E\u003Cdiv class=\u0022api_param_header\u0022\u003E\u003Cspan class=\u0022p_name\u0022\u003Etenantuid\u003C/span\u003E\u003Cspan class=\u0022p_type\u0022\u003Estring\u003C/span\u003E\u003C/div\u003E\u003Cdiv\u003EThe unique tenant UID of the provisioned account.\u003C/div\u003E\u003C/section\u003E\u003Csection class=\u0022api_param\u0022\u003E\u003Cdiv class=\u0022api_param_header\u0022\u003E\u003Cspan class=\u0022p_name\u0022\u003Etoken\u003C/span\u003E\u003Cspan class=\u0022p_type\u0022\u003Estring\u003C/span\u003E\u003C/div\u003E\u003Cdiv\u003EAn API token for the newly provisioned account.\u003C/div\u003E\u003C/section\u003E\u003C/section\u003E\u003Cp\u003E\u003C/p\u003E","json_meta":{"api_verb":"POST","api_path":"https://us-1.dailystory.com/api/v1/admin/tenant/provision"},"publish_status":0,"post_type":"API","authoruid":"3dde8c16-763a-4a2b-ae0b-1d8c50c62e3d","author":{"authoruid":"3dde8c16-763a-4a2b-ae0b-1d8c50c62e3d","name":"Rob Howard"},"featured_image_updating":false,"meta_description":"Provisioning API lets franchises and partners create new DailyStory accounts and tenants with custom configuration using a secure provision key.","display_toc":true,"has_workingcopy":false,"allow_indexing":true,"sort_order":3,"total_views":3,"date_published":"2025-09-24T16:39:04.007","date_updated":"2025-10-09T15:17:50.67","date_created":"2025-09-24T16:21:48.813"}}}