Skip to main content
POST
/
batch
Batch ingestion
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
    }
  ]
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
users
object[]
accounts
object[]
events
object[]

Response

202

Accepted