EventsTrack event
Events

Track event

Record a user event.

curl -X POST "https://api.flameup.ai/api/v1/workspaces/example_string/events" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "userId": "example_string",
  "event": "example_string",
  "properties": {},
  "timestamp": "2024-12-25T10:00:00Z"
}'
{
  "success": true,
  "event_id": "example_string"
}
POST
/workspaces/{workspaceId}/events
POST
Security Scheme
Bearer Token
Bearer Tokenstring
Required

Your Flameup API key (passed as Bearer token)

Your Flameup API key (passed as Bearer token)
Content-Typestring
Required

The media type of the request body

Options: application/json
userIdstring
Required

User identifier

propertiesobject

Event properties

timestampstring

When the event occurred (defaults to now)

Format: date-time
Request Preview
Response

Response will appear here after sending the request

Authentication

BearerAuth
header
Authorizationstring
Required

Bearer token. Your Flameup API key (passed as Bearer token)

Path Parameters

Body

application/json
userIdstring
Required

User identifier

propertiesobject

Event properties

timestampstring

When the event occurred (defaults to now)

Responses

successboolean
event_idstring
Was this page helpful?
Built with Documentation.AI

Last updated today