Create sandbox organisation
Creates a sandbox organisation: a separate wallet inside your organisation, with its own credential definitions, presentation definitions and webhooks, to test issuance and verification without a change to the main wallet. A sandbox organisation signs with the keys of the main organisation and has no holder wallet.
The main wallet of the organisation must be deployed first, and the name must be unique in the organisation. The service makes the wallet of the sandbox organisation in the same call and gives it the logo image and the cover image of the organisation. If the wallet refuses or does not answer, the service removes the sandbox organisation again.
An organisation without an uploaded logo or cover image gives none: the sandbox organisation then has no image id and an empty image URL.
To call the API in the sandbox organisation, use an API key of the sandbox organisation: select the sandbox organisation in the dashboard, then create the key under Account > Developer APIs (Create API Key). Every call with the key runs in the sandbox organisation. With an admin token, send the id in the X-SandboxOrgId header instead: the header selects a sandbox organisation only for a token, not for an API key.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
sandboxes:create
Body
The sandbox organisation to create.
sandboxOrg objectrequiredThe sandbox organisation to create.
Response
The new sandbox organisation, with its wallet deployed (status 2).
sandboxOrg objectThe new sandbox organisation. Its
idis thesandboxOrgIdof the other sandbox operations. Read its service URLs with Read sandbox organisation.