Bulk Subscribe Profiles: API keeps returning bad request
The error I’m getting is:
"Non-historical email subscription cannot have consented_at timestamp.
If I don’t include consented_at, I don’t get an error but it won’t subscribe the profile either.
Question: if the profile has never been subscribed, why would including the timestamp cause this error?
Here’s the URL I’m using:
https://a.klaviyo.com/api/profile-subscription-bulk-create-jobs/
Here’s the body I’m using:
{
"data": {
"type": "profile-subscription-bulk-create-job",
"attributes": {
"profiles": {
"data": [
{
"type": "profile",
"attributes": {
"email": "test.email@gmail.com",
"subscriptions": {
"email": {
"marketing": {
"consent": "SUBSCRIBED",
"consented_at": "2026-10-02T11:35:21.0480000"
}
}
}
}
}
]
}
}
}
}
