curl --request POST \
--url https://api.hacktionbase.com/v1/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"users": [
{
"externalId": "user_123",
"email": "jsmith@example.com",
"anonymousId": "<string>",
"attributes": {}
}
],
"accounts": [
{
"externalId": "org_456",
"name": "<string>",
"attributes": {}
}
],
"events": [
{
"event": "project_created",
"userExternalId": "<string>",
"accountExternalId": "<string>",
"anonymousId": "<string>",
"properties": {},
"timestamp": 123
}
]
}
'