Skip to main content
POST
/
events
Track an event
curl --request POST \
  --url https://api.hacktionbase.com/v1/events \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "event": "project_created",
  "userExternalId": "<string>",
  "accountExternalId": "<string>",
  "anonymousId": "<string>",
  "properties": {},
  "timestamp": 123
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
event
string
required
Example:

"project_created"

userExternalId
string
accountExternalId
string
anonymousId
string
properties
object
timestamp
integer<int64>

Unix timestamp in milliseconds

Response

202

Accepted