Skip to main content
Contributor I
Jul 20, 2026 10:53 PM UTC
Solved

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

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?

KeviSunshine
Expert Problem Solver III
Jul 21, 2026 11:10 AM UTC

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.

5 replies

KeviSunshine
Expert Problem Solver III
Expert Problem Solver III
Jul 21, 2026 11:10 AM UTC

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.

Klaviyo Employee
Jul 21, 2026 12:54 PM UTC

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

bpgravesAuthor
Contributor I
Jul 21, 2026 3:50 PM UTC

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

GabbyEsposito
Community Manager
Community Manager
Jul 27, 2026 8:29 PM UTC

​@bpgraves were you able to get this resolved? 

Gabby
KeviSunshine
Expert Problem Solver III
Expert Problem Solver III
Aug 3, 2026 11:22 AM UTC

Hey ​@bpgraves,

Here’s a working request body - I think the key was removing `{ id: “string” }` from the profile object.

{
"data": {
"type": "event-bulk-create-job",
"attributes": {
"events-bulk-create": {
"data": [
{
"type": "event-bulk-create",
"attributes": {
"backfill": false,
"profile": {
"data": {
"type": "profile",
"attributes": {
"first_name": "Buddy",
"last_name": "Glass",
"email": "REDACTED"
}
}
},
"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
}
}
}
]
}
}
}
]
}
}
}
}