Skip to content
Navigation

Get a socket ticket

A one-time ticket for GET /_cv/{cv}/socket. It opens one socket within 30 seconds, for this conversation, origin and session. A browser socket cannot send Authorization, so the socket takes this ticket and never the session token. Get a new ticket for each connect and reconnect.

POST
https://{org}.cloudraker.run/_cv/{cv}/ticket
Try it
Path parameters
Live API request

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

Authorization

  • session
    HTTP
    required

Path parameters

  • cv
    string
    required

    The conversation id (cv_...).

Returns

200

The socket ticket.

JSON
  • ticket
    string
    required

    A one-time socket ticket (cvt_...). Send it as ticket on GET /_cv/{cv}/socket.

  • expires_in
    integer
    required

    Seconds until the ticket expires.

401

Error. See the code table in the guides.
JSON
  • error
    object
    required
    • code
      string
      required
    • message
      string
      required
    • run_id
      optional
      string
    • details
      optional
      unknown

403

Error. See the code table in the guides.
JSON
  • error
    object
    required
    • code
      string
      required
    • message
      string
      required
    • run_id
      optional
      string
    • details
      optional
      unknown

429

Error. See the code table in the guides.
JSON
  • error
    object
    required
    • code
      string
      required
    • message
      string
      required
    • run_id
      optional
      string
    • details
      optional
      unknown

Type to search…

↑↓ navigate↵ selectEsc close