Skip to main content
POST
/
auth
/
sandbox-handoff
Mint a sandbox-handoff auth code
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({organisationId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};

fetch('https://api.dolfinai.co/auth/sandbox-handoff', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "code": "<string>",
  "sandboxUrl": "<string>",
  "expiresAt": "2023-11-07T05:31:56Z"
}

Body

application/json
organisationId
string<uuid>
required

Response

Created

code
string
required
sandboxUrl
string
required
expiresAt
string<date-time>
required