Loading...
Get a token to authenticate with the web socket interface.
Organization ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/socket-token', { method: 'GET', headers: {}, }); const data = await response.json();
{ "success": false, "error": "text", "token": { "socketToken": "text", "expires": "2024-11-21T15:46:30.108Z" } }