Create a temporary browser entry link
const url = 'https://testperch.com/api/public/v1/onboardings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/handoff';const options = { method: 'POST', headers: { 'X-Onboarding-Claim': '<X-Onboarding-Claim>', 'Content-Type': 'application/json' }, body: '{"target_path":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://testperch.com/api/public/v1/onboardings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/handoff \ --header 'Content-Type: application/json' \ --header 'X-Onboarding-Claim: <X-Onboarding-Claim>' \ --data '{ "target_path": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”object
Example generated
{ "target_path": "example"}Responses
Section titled “Responses”A single-use browser link valid for five minutes or until onboarding expires, whichever comes first. The link opens a confirmation form; same-origin POST redeems it and redirects to the clean destination. Requires X-Onboarding-Claim. Only canonical same-workspace/project app paths are accepted; no query strings, fragments or encoded paths. Creates separate Secure HttpOnly guest and claim-continuation cookies without changing the account session. This short-lived link may be shown to the person; never put the durable claim secret in a URL.
object
Example generated
{ "browser_url": "https://example.com", "expires_at": "2026-04-15T12:00:00Z"}Invalid request. Secret values are never echoed.
object
object
object
Example
{ "error": { "code": "invalid_request" }}The request secret was already used with different names.
object
object
object
Example
{ "error": { "code": "invalid_request" }}Onboarding_closed: recovery is permanently unavailable; the request cannot recreate anything.
object
object
object
Example
{ "error": { "code": "invalid_request" }}JSON request body exceeds 4096 bytes.
object
object
object
Example
{ "error": { "code": "invalid_request" }}Credential or workspace rate limit exceeded.
object
object
object
Example
{ "error": { "code": "invalid_request" }}Headers
Section titled “Headers”Seconds before retrying.
Seconds before retrying.
Internal server error. Retry provisioning with the same saved request secret.
object
object
object
Example
{ "error": { "code": "invalid_request" }}