Skip to main content

SessionCreateResponse

iduuidrequired

The created session id. Use it to poll the session and fetch results.

candidate_linkstringrequired

The candidate link (https://interview.zenhire.ai/#t=<token>). The token is carried in the URL fragment (#t=), not a query string, so it is never leaked to a server by link previews or scanners. Send it to the candidate; the raw token is returned only here.

Example: https://interview.zenhire.ai/#t=Zk9xQ2pYb1pUcWp5d3R...
expires_inintegerrequired

Seconds until the unused token expires (7-day TTL = 604800).

Example: 604800
SessionCreateResponse
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"candidate_link": "https://interview.zenhire.ai/#t=Zk9xQ2pYb1pUcWp5d3R...",
"expires_in": 604800
}