List Sandboxes

GET {{_endpoint}}/services/data/v{{version}}/tooling/query/?q=SELECT Id, SandboxName, LicenseType, AutoActivate FROM SandboxInfo

Lists all sandboxes.

Request Params

KeyDatatypeRequiredDescription
qstringSOQL Query

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"size":1,"totalSize":1,"done":true,"queryLocator":null,"entityTypeName":"SandboxInfo","records":[{"attributes":{"type":"SandboxInfo","url":"/services/data/v59.0/tooling/sobjects/SandboxInfo/0GQ4H000000CxSzWAK"},"Id":"0GQ4H000000CxSzWAK","SandboxName":"devSandbox","LicenseType":"DEVELOPER","AutoActivate":false}]}