Skip to content

Start a work trial

POST
/trial-sessions
curl --request POST \
--url https://kravos-orchestrator.onrender.com/trial-sessions \
--header 'Content-Type: application/json' \
--data '{ "applicationId": "example", "organisationId": "example", "ticketId": "example" }'

Provisions a sandbox and starts a trial session for the caller’s own application. Returns 409 when the application is ineligible, the ticket is not assigned, or a session is already active, deliberately without distinguishing which.

Media typeapplication/json
object
applicationId
required
string
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/
organisationId
required
string
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/
ticketId
required
string
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/
Examplegenerated
{
"applicationId": "example",
"organisationId": "example",
"ticketId": "example"
}

Default Response