Partner Subdomain Cloning

Clones an existing template within a Partner Bundle to a new subdomain.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Partner Subdomain Cloning

Programmatically provision a new WorkBright subdomain by cloning the configuration of an existing template subdomain. This lets partners stand up pre-configured accounts (workflows, document packets, and settings inherited from the template) without manual setup. Note: This is only allowed for approved partner at this time.


Overview

MethodPOST
Endpoint/api/partner/accounts/clone
Base URLhttps://{partner-main-subdomain}.workbright.com
AuthAPI Key (header)
Content-Typeapplication/json

Both the endpoint host and the API key are tied to your main partner subdomain. Issue the request against your main subdomain — never against a template subdomain. The template you want to clone is specified in the request body, not the URL.


How It Works

  1. Your WorkBright Customer Representative sets up the templates. Your WorkBright Customer Representative provisions one or more template subdomains, each pre-configured with the settings you want new accounts to inherit.
  2. You call this endpoint from your main subdomain. Using your main partner subdomain and its API key, you request a clone and name the specific template subdomain you want to copy.
  3. You receive an immediate response with status: pending. Provisioning runs asynchronously. The response also returns the API key for the new account — capture and store it securely).
  4. A webhook confirms the outcome. When provisioning finishes, an [account.provisioned] webhook event fires with a status of succeeded or failed.


Body Parameters

FieldTypeRequiredDescription
templateStringYesSubdomain of the template account to clone from. Templates are provisioned for you by your WorkBright representative; specify the one whose configuration you want the new account to inherit.
subdomainStringYesDesired subdomain for the new account. Must be globally unique and URL-safe (lowercase letters, numbers, and hyphens).
nameStringYesHuman-readable display name for the new account.
account_typeStringNoWhen specified and set as test, the provisioned subdomain will not count towards usage and will enable a sandbox version of Document Verification. This should not be used for production instances.

Responses
200

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json