Skip to content
Navigation

Connect an onboarding session to the organization of the caller

Connects an onboarding session that an AI agent started to the organization of the session token. After the claim, the agent can get one credential with admin access to that organization. organizationId must be the organization of the session token. Authorization: a signed-in organization administrator only (denied, 403).

POST
https://api.cloudraker.com/onboarding/sessions/{id}/claim
Try it
Path parameters
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • id
    string
    required

Request body JSON required

  • organizationId
    string
    required

    The organization that the claim page showed. It must be the organization of the session token.

    maxLength: 100 · minLength: 1

Returns

200

The session belongs to the organization now.

JSON
  • claimed
    boolean
    required
  • organizationId
    string
    required

    The organization that the session belongs to.

400

Validation Error
JSON
  • success
    false
    required
  • error
    array of
    unknown
    required
  • data
    unknown
    required

403

session_required: the caller is not a signed-in person. forbidden: the caller is not an administrator of the organization.

404

session_not_found: the session does not exist or it expired.
JSON
  • error
    string
    required

    The error code.

  • message
    string
    required

    The sentence a person reads.

409

organization_changed: organizationId is not the organization of the session token. session_claimed_elsewhere: another organization or another person already claimed the session.
JSON
  • error
    string
    required

    The error code.

  • message
    string
    required

    The sentence a person reads.

429

rate_limited: too many claims. Wait one minute.
JSON
  • error
    string
    required

    The error code.

  • message
    string
    required

    The sentence a person reads.

503

onboarding_unavailable: the onboarding service did not answer.
JSON
  • error
    string
    required

    The error code.

  • message
    string
    required

    The sentence a person reads.

Type to search…

↑↓ navigate↵ selectEsc close