---
search:
  tags:
    - Device
    - POST
seo:
  description: >-
    Ticket expires after 30 seconds. Pass as the ticket.* WebSocket… Reference
    for the POST /v1/device/{deviceId}/events-ticket endpoint in the openlaunch
    API.
sidebar:
  label: Issue one-use WebSocket ticket
  badge: POST
title: Issue one-use WebSocket ticket
type: openapi-operation
---
Ticket expires after 30 seconds. Pass as the ticket.* WebSocket subprotocol during handshake; never put it in a URL query.

`POST /v1/device/{deviceId}/events-ticket`
