Create Sandbox- Workbench API


Workbench is a tool designed for administrators and developers to connect with Salesforce organizations. Salesforce Workbench provides support for the Partner, Bulk, Rest, Streaming, Metadata, and Apex APIs that allows users to describe the things, Query on the objects, Manipulate the data, Data loading, Migration in Salesforce organizations directly in their web browser with a simple user interface.

Workbench Login URL:-

Now Lets see how to create a new salesforce sandbox through REST-POST.

Go to Workbench- Login from Prod org

Click on Utilities- Rest Explorer

Select POST

Screen Shot 2018-12-23 at 12.16.35 PM

And in URL  with below


And body as

   "Description": "Jayakrishna Test",
   "HistoryDays": 0,
   "LicenseType": "DEVELOPER",
   "SandboxName": "Jaya"

This call will return an Id that you can use in order to check the creation progress via another object, SandboxProcess. You can perform a query against this object filtering by SandboxInfoId field, and get useful information such us CopyProgress that represents how much of the copy has been already performed.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s