Use your Ingestion API key in the Authorization header. You can send either ing_... directly or Bearer ing_....
Important: use an Ingestion API key for this endpoint. For platform integrations, refer to the Platform API documentation.
{
"entity_type": "user",
"entity_id": "contact_12345",
"company_id": "company_98765",
"event_type": "contact.logged_in",
"properties": {
"login_method": "email"
}
}{
"entity_type": "company",
"entity_id": "company_98765",
"event_type": "company.subscription_upgraded",
"properties": {
"from_plan": "starter",
"to_plan": "pro"
}
}