Skip to main content
Question

Bulk Create Events: accepted in the API but can't find in email account

  • July 20, 2026
  • 3 replies
  • 64 views

Forum|alt.badge.img

Here’s the layout I used (which is accepted by the API):

https://developers.klaviyo.com/en/reference/bulk_create_events

 

For some reason, I can’t find the newly created events under the email profiles.  Even after I unsuppressed the user, I can’t find the event after I send that the API accepted.  Is the example layout wrong?

3 replies

KeviSunshine
Expert Problem Solver III
Forum|alt.badge.img+9
  • Expert Problem Solver III
  • July 21, 2026

Hi ​@bpgraves,

The endpoint simply returns a 202, meaning the request wasn’t fully processed before a response was returned (i.e., the request body wasn’t obviously malformed, but it wasn’t processed yet, so there’s no way of knowing if it will work).

Can you share your request body (with any keys and emails/phones/PII removed)? I can review and test out your request body in postman to see if it’s working for me.

 

Let me know!

Kevin.


Forum|alt.badge.img+7
  • Klaviyo Employee
  • July 21, 2026

Could you paste in the API body (with any email addresses or PII hidden)?

Have you checked the developer logs to see if there are any errors?

https://developers.klaviyo.com/en/docs/monitor_api_usage#review-api-logs


Forum|alt.badge.img
  • Author
  • Contributor I
  • July 21, 2026

Here’s the request body (no errors returned):

{
  "data": {
    "type": "event-bulk-create-job",
    "attributes": {
      "events-bulk-create": {
        "data": [
          {
            "type": "event-bulk-create",
            "attributes": {
              "backfill": false,
              "profile": {
                "data": {
                  "type": "profile",
                  "id": "string",
                  "attributes": {
                    "first_name": "James",
                    "last_name": "*******",
                    "email": "***"
                  }
                }
              },
              "events": {
                "data": [
                  {
                    "type": "event",
                    "attributes": {
                      "unique_id": "99KF423705-2019",
                      "time": "2019-01-02T12:22:46.7466667-07:00",
                      "value": 0,
                      "metric": {
                        "data": {
                          "type": "metric",
                          "attributes": {
                            "name": "Purchased Vehicle"
                          }
                        }
                      },
                      "properties": {
                        "NewUsed": "New",
                        "VehicleYear": "2019",
                        "VehicleMake": "POLARIS",
                        "VehicleModel": "Z19VDE99BN",
                        "VIN": "*********",
                        "CustomerId": 5784515
                      }
                    }
                  }
                ]
              }
            }
          },
          {
            "type": "event-bulk-create",
            "attributes": {
              "backfill": false,
              "profile": {
                "data": {
                  "type": "profile",
                  "id": "string",
                  "attributes": {
                    "first_name": "Lyleen ",
                    "last_name": "M****",
                    "email": "***"
                  }
                }
              },
              "events": {
                "data": [
                  {
                    "type": "event",
                    "attributes": {
                      "unique_id": "036148-201",
                      "time": "2019-01-02T17:00:00-07:00",
                      "value": 0,
                      "metric": {
                        "data": {
                          "type": "metric",
                          "attributes": {
                            "name": "Purchased Vehicle"
                          }
                        }
                      },
                      "properties": {
                        "NewUsed": "New",
                        "VehicleYear": "2018",
                        "VehicleMake": "YAMAHA",
                        "VehicleModel": "YZ250J2",
                        "VIN": "*********",
                        "CustomerId": 5784505
                      }
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }