Last updated 8 months ago
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-12-21T11:33:38.460Z" } }