Skip to content
Sign in Create account

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_url string (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

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string