Skip to content

Send events via the REST API

You can send actor profiles to Tallyfy Manufactory using the endpoint POST /events.

Required keys

  • org_id (required) string - Manufactory org ID.
  • project_id (required) number - The project ID associated with this schema.
  • actor_profile (required) object - Pairs containing attribute name and the corresponding value while considering the correct attribute names and data types. Please refer to Get Actors schema.
  • attributes (required) object - Pairs containing attribute name and the corresponding value while considering the correct attribute names and data types. Please refer to Get events schema.

Request example

{
"org_id": "demo",
"project_id": 12345,
"actor_profile": {
"microservice": "accounts-ms"
},
"attributes": {
"request_method": "POST",
"request_url": "/login",
"request_body": {
"username": "john",
"password": "123"
},
"request_ip": "1.1.1.1"
}
}

Response example

{
"message": "success"
}

Events > Create events schema

Tallyfy Manufactory allows you to create events schemas by sending a POST request to /events/schema with organization ID project ID and attribute definitions using proper authentication headers.

Collector > Collecting events via the REST API

The Tallyfy Manufactory REST API enables transmission of actors data and events into the platform through multiple integration methods including REST API websocket and CLI agent options with secure authentication and data collection capabilities.

Agent > Send events via the CLI agent

The Tallyfy Manufactory agent enables sending actor-generated events by requiring base64-encoded actor and event objects that contain attribute name-value pairs conforming to predefined schemas.

Actors > Create actors schema

The POST /actors/schema endpoint enables creation of user schemas in Tallyfy Manufactory by specifying organization ID project ID attribute definitions and a unique identifier field with proper authentication headers.