---
title: "Bulk Import Profiles"
description: "How to call Bulk Import Profiles (POST /api/profile-bulk-import-jobs) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/reference/bulk_import_profiles"
revision: "2026-10-15"
operationId: "bulk_import_profiles"
aliases: ["spawn_bulk_profile_import_job","create_profile_bulk_import_job"]
method: "POST"
endpoint: "https://a.klaviyo.com/api/profile-bulk-import-jobs"
authentication: "privateKey"
scopes: ["lists:write","profiles:write"]
rateLimits: {"burst":"10/s","steady":"150/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/bulk_import_profiles.json"
jsonApi: {"fields":{"profile-bulk-import-job":["completed_at","completed_count","created_at","expires_at","failed_count","id","started_at","status","total_count"]}}
related: ["https://developers.klaviyo.com/en/reference/profiles/llms.txt","https://developers.klaviyo.com/en/reference/get_bulk_import_profiles_jobs.md","https://developers.klaviyo.com/en/reference/get_bulk_import_profiles_job.md","https://developers.klaviyo.com/en/reference/get_list_for_bulk_import_profiles_job.md","https://developers.klaviyo.com/en/reference/get_list_ids_for_bulk_import_profiles_job.md","https://developers.klaviyo.com/en/reference/get_profiles_for_bulk_import_profiles_job.md","https://developers.klaviyo.com/en/reference/get_profile_ids_for_bulk_import_profiles_job.md","https://developers.klaviyo.com/en/reference/get_errors_for_bulk_import_profiles_job.md"]
---

# Bulk Import Profiles

> This is the Markdown version of https://developers.klaviyo.com/en/reference/bulk_import_profiles

```http
POST https://a.klaviyo.com/api/profile-bulk-import-jobs
```

Create a bulk profile import job to create or update a batch of profiles.

Accepts up to 10,000 profiles per request. The maximum allowed payload size is 5MB. The maximum allowed payload size per-profile is 100KB.

To learn more, see our [Bulk Profile Import API guide](https://developers.klaviyo.com/en/docs/use_klaviyos_bulk_profile_import_api.md).

- Revision header: `revision: 2026-10-15` (required)
- Scopes: `lists:write`, `profiles:write`
- Rate limits: Burst: `10/s`, Steady: `150/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/bulk_import_profiles.json)

## Example request

### curl

```bash
curl --request POST \
     --url 'https://a.klaviyo.com/api/profile-bulk-import-jobs' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-10-15' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "profile-bulk-import-job",
    "attributes": {
      "profiles": {
        "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"
              }
            }
          }
        ]
      }
    }
  }
}'
```

### CLI

```bash
klaviyo profiles bulk-import-profiles \
  -d '{
  "data": {
    "type": "profile-bulk-import-job",
    "attributes": {
      "profiles": {
        "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"
              }
            }
          }
        ]
      }
    }
  }
}'
```

Sign in first with `klaviyo auth login`. [Install the Klaviyo CLI](https://developers.klaviyo.com/en/docs/klaviyo_cli.md)

### Python

```python
from klaviyo_api import KlaviyoAPI

klaviyo = KlaviyoAPI("your-private-api-key")

response = klaviyo.Profiles.bulk_import_profiles(
    {
        "data": {
            "type": "profile-bulk-import-job",
            "attributes": {
                "profiles": {
                    "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",
                                },
                            },
                        },
                    ],
                },
            },
        },
    },
)
```

Install it with `pip install klaviyo-api`. [The Python SDK on GitHub](https://github.com/klaviyo/klaviyo-api-python)

### Node.js

```javascript
import { ApiKeySession, ProfilesApi } from 'klaviyo-api'

const session = new ApiKeySession('your-private-api-key')
const profilesApi = new ProfilesApi(session)

const response = await profilesApi.bulkImportProfiles(
  {
    data: {
      type: 'profile-bulk-import-job',
      attributes: {
        profiles: {
          data: [
            {
              type: 'profile',
              attributes: {
                email: 'sarah.mason@klaviyo-demo.com',
                phoneNumber: '+15005550006',
                firstName: 'Sarah',
                lastName: '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',
                },
              },
            },
          ],
        },
      },
    },
  },
)
```

Install it with `npm install klaviyo-api`. [The Node.js SDK on GitHub](https://github.com/klaviyo/klaviyo-api-node)

### Ruby

```ruby
require 'klaviyo-api-sdk'

KlaviyoAPI.configure do |config|
  config.api_key['Klaviyo-API-Key'] = 'Klaviyo-API-Key your-private-api-key'
end

response = KlaviyoAPI::Profiles.bulk_import_profiles(
  {
    data: {
      type: 'profile-bulk-import-job',
      attributes: {
        profiles: {
          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',
                },
              },
            },
          ],
        },
      },
    },
  },
)
```

Install it with `gem install klaviyo-api-sdk`. [The Ruby SDK on GitHub](https://github.com/klaviyo/klaviyo-api-ruby)

### PHP

```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

use KlaviyoAPI\KlaviyoAPI;

$klaviyo = new KlaviyoAPI('your-private-api-key');

$response = $klaviyo->Profiles->bulkImportProfiles(
    [
        'data' => [
            'type' => 'profile-bulk-import-job',
            'attributes' => [
                'profiles' => [
                    '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',
                                ],
                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],
);
```

Install it with `composer require klaviyo/api`. [The PHP SDK on GitHub](https://github.com/klaviyo/klaviyo-api-php)

## Query parameters

- `fields[profile-bulk-import-job]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/reference.md) Allowed values: `completed_at`, `completed_count`, `created_at`, `expires_at`, `failed_count`, `id`, `started_at`, `status`, `total_count`

## Headers

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

## Request body

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

- `data` (object, required)
  - `type` (string, required): Allowed values: `profile-bulk-import-job`
  - `attributes` (object, required)
    - `profiles` (object, required): Array of profiles to create or update
      - `data` (object[], required): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/bulk_import_profiles.json).
  - `relationships` (object)
    - `lists` (object)
      - `data` (object[]): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/bulk_import_profiles.json).

### Example request body

```json
{
  "data": {
    "type": "profile-bulk-import-job",
    "attributes": {
      "profiles": {
        "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"
              }
            }
          }
        ]
      }
    }
  }
}
```

## Responses

### 202: Success

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

- `data` (object, required)
  - `type` (string, required): Allowed values: `profile-bulk-import-job`
  - `id` (string, required): Unique identifier for retrieving the job. Generated by Klaviyo.
  - `attributes` (object, required)
    - `status` (string, required): Status of the asynchronous job. Allowed values: `cancelled`, `complete`, `processing`, `queued` Example: `processing`
    - `created_at` (string<date-time>, required): The date and time the job was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm). Example: `2022-11-08T00:00:00+00:00`
    - `total_count` (integer, required): The total number of operations to be processed by the job. See `completed_count` for the job's current progress. Example: `10`
    - `completed_count` (integer, nullable): The total number of operations that have been completed by the job. Default: `0` Example: `9`
    - `failed_count` (integer, nullable): The total number of operations that have failed as part of the job. Default: `0` Example: `1`
    - `completed_at` (string<date-time>, nullable): Date and time the job was completed in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm). Example: `2022-11-08T00:00:00+00:00`
    - `expires_at` (string<date-time>, nullable): Date and time the job expires in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm). Example: `2022-11-08T00:00:00+00:00`
    - `started_at` (string<date-time>, nullable): Date and time the job started processing in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm). Example: `2022-11-08T00:00:00+00:00`
  - `relationships` (object)
    - `lists` (object)
      - `data` (object[]): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/bulk_import_profiles.json).
      - `links` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/bulk_import_profiles.json).
    - `profiles` (object)
      - `data` (object[]): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/bulk_import_profiles.json).
      - `links` (RelationshipLinks): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/bulk_import_profiles.json).
    - `import-errors` (object)
      - `data` (object[]): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/bulk_import_profiles.json).
      - `links` (object): Fields nested this deep are in [the endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/bulk_import_profiles.json).
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (ObjectLinks): Same fields as the first ObjectLinks above.
- `meta` (object): Response-level metadata
  - `agent_hints` (object): Optional hints emitted by the API for agent callers
    - `next_steps` (string[]): Suggested follow-up actions for agents to take after this response

#### Example response body

```json
{
  "data": {
    "type": "profile-bulk-import-job",
    "id": "string",
    "attributes": {
      "status": "processing",
      "created_at": "2022-11-08T00:00:00+00:00",
      "total_count": 10,
      "completed_count": 9,
      "failed_count": 1,
      "completed_at": "2022-11-08T00:00:00+00:00",
      "expires_at": "2022-11-08T00:00:00+00:00",
      "started_at": "2022-11-08T00:00:00+00:00"
    },
    "relationships": {
      "lists": {
        "data": [
          {
            "type": "list",
            "id": "string"
          }
        ],
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      },
      "profiles": {
        "data": [
          {
            "type": "profile",
            "id": "string"
          }
        ],
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      },
      "import-errors": {
        "data": [
          {
            "type": "import-error",
            "id": "string"
          }
        ],
        "links": {
          "related": "https://www.example.com"
        }
      }
    },
    "links": {
      "self": "https://www.example.com"
    }
  },
  "links": {
    "self": "https://www.example.com"
  },
  "meta": {
    "agent_hints": {
      "next_steps": [
        "string"
      ]
    }
  }
}
```

### 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"
      }
    }
  ]
}
```
