---
title: "Create events in bulk."
method: POST
path: "/events/bulk"
tags: ["events"]
---

# Create events in bulk.

`POST /events/bulk`

Create multiple events at once.

## Request body

- object[]
  - `log` string, required — Human readable log line to describe the context.
  - `context` object — Any object, typically JSON, used to describe to some infomration that needed to be logged.
  - `actionType` string — This is the type of the event
  - `roomId` integer — Room that this event relates to.
  - `botId` string — Bot that this event relates to.
  - `botDataId` string — Bot Data that this event relates to.
  - `botActionId` string — Bot Action that this event relates to.
  - `userId` string — User that this event relates to.
  - `owner` string — The name of the user to assign as the owner. Defaults to the user that created it

## Response `200`

Created

- BulkCreateResponse — Status of bulk create request.
  - `status` 'OK' — Status.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Resource Not Found
- `default` — Error

## Changes

- **2019-01-08** (v1) `58ca922ff80d` — 1 info
  - endpoint added
- **2018-03-30** (v1) `4ca6b20ef8df` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/salesforce/apis/refocus-api/changes/events/bulk/post.md)

---

[API](https://skmtc.dev/salesforce/apis/refocus-api.md) · [All operations](https://skmtc.dev/salesforce/apis/refocus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salesforce/refocus-api/revisions/42c2153b047e/schema)
