---
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

---

[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)
