API Reference
Creates a new event type for a project.
cURL
curl --request POST \ --url https://app.gomangrove.com/api/v1/projects/{project_id}/event_types \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "event_type": { "name": "Biochar Production", "slug": "biochar-production", "description": "Event for tracking biochar production", "reusable_in_batches": false, "expected_locations": "one", "requires_tracking_id": true } } '
{ "id": 3, "slug": "biochar-production", "name": "Biochar Production", "created_at": "2025-01-15T10:00:00.000Z", "updated_at": "2025-01-15T10:00:00.000Z", "data_point_types": [], "requires_locations": true }
Show child attributes
201