Websocket > Authentication for the web socket collector
Authentication for Manufactory’s websocket requires a POST request to /auth with project credentials and actor profile details, generating a client UUID valid for 12 hours.
After successful authentication and getting client UUID along with actor profile ID, you can connect to our websocket server: wss://collector.tallyfy.com/ws
Once a websocket connection is established you will receive a message Manufactory Collector ✅
The next step is that we need to pair the connection with the client/end-user. This is where actor profile ID and client UUID become active.
type
(required) string - The message type, in this case we will be using auth
.org_id
(required) string - Manufactory org ID.project_id
(required) number - The project ID associated with this schema.actor_profile_id
(required) number - The actor profile ID we got after authentication.client_uuid
(required) string - the generated UUID we got after authentication.Now we are able to send actor’s generated events via the open websocket channel.
Websocket > Authentication for the web socket collector
Collector > Collecting Events via Websocket
Websocket > Send events via the web socket
Agent > Authentication for the agent collector