POST
/
event-batch
curl --request POST \
  --url https://api.schematichq.com/event-batch \
  --header 'Content-Type: application/json' \
  --header 'X-Schematic-Api-Key: <api-key>' \
  --data '{
  "events": [
    {
      "body": {
        "company": {},
        "event": "<string>",
        "traits": {},
        "user": {}
      },
      "event_type": "identify",
      "sent_at": "2023-11-07T05:31:56Z"
    }
  ]
}'
{
  "data": {
    "events": [
      {
        "captured_at": "2023-11-07T05:31:56Z",
        "event_id": "<string>",
        "remote_addr": "<string>",
        "remote_ip": "<string>",
        "user_agent": "<string>"
      }
    ]
  },
  "params": {}
}

Authorizations

X-Schematic-Api-Key
string
headerrequired

Body

application/json
events
object[]
required

Response

201 - application/json
data
object
required

The created resource

params
object
required

Input parameters