Generate a desktop pairing URL
POST /api/onboarding/generate-pairing-url
Creates a single-use cloakapi:// pairing URL for the authenticated account, valid for 15 minutes. region defaults to eu-central and accepts us-east, eu-central, or us-gov.
Authenticate with a portal session token.
Responses
200 Pairing URL
application/json object
pairing_urlstring (uri)
Generated sample
{
"pairing_url": "https://example.com"
}401 Missing or invalid bearer token.
application/json object
Any keys are accepted.
403 The caller does not meet the route requirements: accepted Terms of Service and Privacy Policy.
application/json object
Any keys are accepted.
422 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string