Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2025-01-15/reference/bulk_import_profiles.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2025-01-15

You're reading the reference for API revision 2025-01-15. The latest revision is 2026-10-15. See this page in the latest revision.

Bulk Import Profiles

POSThttps://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.

Revision header
revision: 2025-01-15required
Scopes
lists:writeprofiles:write
Rate limits
Burst: 10/sSteady: 150/m

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2025-01-15

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 3 fields
    • type#stringrequired
      Allowed values:
      • profile-bulk-import-job
    • attributes#objectrequired
      Show 1 field
      • profiles#objectrequired

        Array of profiles to create or update

        Show 1 field
        • data#object[]required
          Show 4 fields
          • type#stringrequired
            Allowed values:
            • profile
          • id#stringnullable

            Primary key that uniquely identifies this profile. Generated by Klaviyo.

          • attributes#objectrequired
            Show 13 fields
            • email#stringnullable

              Individual's email address

              Example: sarah.mason@klaviyo-demo.com

            • phone_number#stringnullable

              Individual's phone number in E.164 format

              Example: +15005550006

            • external_id#stringnullable

              A unique identifier used by customers to associate Klaviyo profiles with profiles in an external system, such as a point-of-sale system. Format varies based on the external system.

            • anonymous_id#stringnullable

              Id that can be used to identify a profile when other identifiers are not available

              Example: 01GDDKASAP8TKDDA2GRZDSVP4H

            • _kx#stringnullable

              Also known as the exchange_id, this is an encrypted identifier used for identifying a profile by Klaviyo's web tracking.

              You can use this field as a filter when retrieving profiles via the Get Profiles endpoint.

            • first_name#stringnullable

              Individual's first name

              Example: Sarah

            • last_name#stringnullable

              Individual's last name

              Example: Mason

            • organization#stringnullable

              Name of the company or organization within the company for whom the individual works

              Example: Example Corporation

            • locale#stringnullable

              The locale of the profile, in the IETF BCP 47 language tag format like (ISO 639-1/2)-(ISO 3166 alpha-2)

              Example: en-US

            • title#stringnullable

              Individual's job title

              Example: Regional Manager

            • image#stringnullable

              URL pointing to the location of a profile image

              Example: https://images.pexels.com/photos/3760854/pexels-photo-3760854.jpeg

            • location#object
              Show 10 fields
              • address1#stringnullable

                First line of street address

                Example: 89 E 42nd St

              • address2#stringnullable

                Second line of street address

                Example: 1st floor

              • city#stringnullable

                City name

                Example: New York

              • country#stringnullable

                Country name

                Example: United States

              • latitude#string | numbernullable

                Latitude coordinate. We recommend providing a precision of four decimal places.

                Example: 40.7128

              • longitude#string | numbernullable

                Longitude coordinate. We recommend providing a precision of four decimal places.

                Example: 74.0060

              • region#stringnullable

                Region within a country, such as state or province

                Example: NY

              • zip#stringnullable

                Zip code

                Example: 10017

              • timezone#stringnullable

                Time zone name. We recommend using time zones from the IANA Time Zone Database.

                Example: America/New_York

              • ip#stringnullable

                IP Address

                Example: 127.0.0.1

            • properties#objectnullable

              An object containing key/value pairs for any custom properties assigned to this profile

          • meta#object
            Show 1 field
            • patch_properties#object
              Show 3 fields
              • append#objectnullable

                Append a simple value or values to this property array

              • unappend#objectnullable

                Remove a simple value or values from this property array

              • unset#string | string[]nullable

                Remove a key or keys (and their values) completely from properties

                Example: skus

    • relationships#object
      Show 1 field
      • lists#object
        Show 1 field
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • list
          • id#stringrequired

            Optional list to add the profiles to

            Example: VRgFBd

Responses

202Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 5 fields
    • type#stringrequired
      Allowed values:
      • profile-bulk-import-job
    • id#stringrequired

      Unique identifier for retrieving the job. Generated by Klaviyo.

    • attributes#objectrequired
      Show 8 fields
      • status#stringrequired

        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#integerrequired

        The total number of operations to be processed by the job. See completed_count for the job's current progress.

        Example: 10

      • completed_count#integernullable

        The total number of operations that have been completed by the job.

        Default: 0

        Example: 9

      • failed_count#integernullable

        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
      Show 3 fields
      • lists#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • list
          • id#stringrequired

            List to add the profiles to

      • profiles#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • profile
          • id#stringrequired

            IDs of the created/updated profiles

      • import-errors#object
        Show 2 fields
        • data#object[]
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • import-error
          • id#stringrequired

            Errors encountering during import

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string