---
title: "Bulk Create Client Events"
description: "How to call Bulk Create Client Events (POST /client/event-bulk-create) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2025-01-15/reference/bulk_create_client_events"
revision: "2025-01-15"
latestUrl: "https://developers.klaviyo.com/en/reference/bulk_create_client_events"
operationId: "bulk_create_client_events"
aliases: ["create_client_event_bulk_create"]
method: "POST"
endpoint: "https://a.klaviyo.com/client/event-bulk-create"
authentication: "publicKey"
scopes: ["events:write"]
rateLimits: {"burst":"10/s","steady":"150/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
related: ["https://developers.klaviyo.com/en/v2025-01-15/reference/client/llms.txt","https://developers.klaviyo.com/en/v2025-01-15/reference/create_client_subscription.md","https://developers.klaviyo.com/en/v2025-01-15/reference/create_client_push_token.md","https://developers.klaviyo.com/en/v2025-01-15/reference/unregister_client_push_token.md","https://developers.klaviyo.com/en/v2025-01-15/reference/create_client_event.md","https://developers.klaviyo.com/en/v2025-01-15/reference/create_client_profile.md","https://developers.klaviyo.com/en/v2025-01-15/reference/create_client_back_in_stock_subscription.md"]
---

# Bulk Create Client Events

> This is the Markdown version of https://developers.klaviyo.com/en/v2025-01-15/reference/bulk_create_client_events

```http
POST https://a.klaviyo.com/client/event-bulk-create
```

Create new events to track a profile's activity.

This endpoint is specifically designed to be called from publicly-browseable, client-side environments only and requires a [public API key (site ID)](https://www.klaviyo.com/settings/account/api-keys). Never use a private API key with our client-side endpoints.

Do not use this endpoint from server-side applications.
To create events from server-side applications, instead use [POST /api/event-bulk-create-jobs](https://developers.klaviyo.com/en/v2025-01-15/reference/bulk_create_events.md).

Accepts a maximum of `1000` events per request.

- Revision header: `revision: 2025-01-15` (required)
- Scopes: `events:write`
- Authentication: Public API key (site ID), in the `company_id` query parameter
- Rate limits: Burst: `10/s`, Steady: `150/m`

## Example request

```bash
curl --request POST \
     --url 'https://a.klaviyo.com/client/event-bulk-create?company_id=PUBLIC_API_KEY' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2025-01-15' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "event-bulk-create",
    "attributes": {
      "profile": {
        "data": {
          "type": "profile",
          "attributes": {
            "email": "sarah.mason@klaviyo-demo.com",
            "phone_number": "+15005550006",
            "first_name": "Sarah",
            "last_name": "Mason",
            "organization": "Example Corporation",
            "locale": "en-US",
            "title": "Regional Manager",
            "image": "https://images.pexels.com/photos/3760854/pexels-photo-3760854.jpeg",
            "properties": {
              "pseudonym": "Dr. Octopus"
            }
          }
        }
      },
      "events": {
        "data": [
          {
            "type": "event",
            "attributes": {
              "properties": {
                "Brand": "Kids Book",
                "ProductID": 1111,
                "ProductName": "Winnie the Pooh"
              },
              "time": "2022-11-08T00:00:00+00:00",
              "value": 9.99,
              "value_currency": "USD",
              "metric": {
                "data": {
                  "type": "metric",
                  "attributes": {
                    "name": "Viewed Product"
                  }
                }
              }
            }
          }
        ]
      }
    }
  }
}'
```

## Query parameters

- `company_id` (string, required): Your Public API Key / Site ID. See [this article](https://help.klaviyo.com/hc/en-us/articles/115005062267) for more details. Example: `PUBLIC_API_KEY`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2025-01-15`

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object, required)
  - `type` (string, required): Allowed values: `event-bulk-create`
  - `attributes` (object, required)
    - `profile` (object, required)
      - `data` (object, required): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `events` (object, required)
      - `data` (object[], required): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.

### Example request body

```json
{
  "data": {
    "type": "event-bulk-create",
    "attributes": {
      "profile": {
        "data": {
          "type": "profile",
          "attributes": {
            "email": "sarah.mason@klaviyo-demo.com",
            "phone_number": "+15005550006",
            "first_name": "Sarah",
            "last_name": "Mason",
            "organization": "Example Corporation",
            "locale": "en-US",
            "title": "Regional Manager",
            "image": "https://images.pexels.com/photos/3760854/pexels-photo-3760854.jpeg",
            "properties": {
              "pseudonym": "Dr. Octopus"
            }
          }
        }
      },
      "events": {
        "data": [
          {
            "type": "event",
            "attributes": {
              "properties": {
                "Brand": "Kids Book",
                "ProductID": 1111,
                "ProductName": "Winnie the Pooh"
              },
              "time": "2022-11-08T00:00:00+00:00",
              "value": 9.99,
              "value_currency": "USD",
              "metric": {
                "data": {
                  "type": "metric",
                  "attributes": {
                    "name": "Viewed Product"
                  }
                }
              }
            }
          }
        ]
      }
    }
  }
}
```

## Responses

### 202: Success

This response has no body.

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
