You need to sign in to do that
Don't have an account?
Jason Dodds CodeScience
Using SignupRequest API without Trialforce
We are building some functionality in Apex that utilizes the SignupRequest API to spin up orgs for continuous integration. I know SignupRequest was conceived as a programmatic feature to create Trialforce orgs, but is your org (where the Apex is being called from) required to be a TSO in order to use the SignupRequest API? It seems like you should be able to use the SignupRequest without the need for a Trialforce template from an org with Environment Hub enabled, which we do.
If you pass in the Consumer Key and Callback URL for a Salesforce Connected App that has the `full` and `refresh_token` scopes, you'll also recieve an AuthCode on completion of the org provisioning that you can exchange for an auth token and make API calls against. If you pass an invalid Connected App, the entire provisioning process will fail.