Skip to content

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

KlaviyoKlaviyoDevelopers
v2023-07-15

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

Subscribe Profiles

POSThttps://a.klaviyo.com/api/profile-subscription-bulk-create-jobs/

Subscribe one or more profiles to email marketing, SMS marketing, or both. If the list has double opt-in enabled, profiles will receive a message requiring their confirmation before subscribing. Otherwise, profiles will be immediately subscribed without receiving a confirmation message.

To add someone to a list without changing their subscription status, use Add Profile to List.

This API will remove any UNSUBSCRIBE, SPAM_REPORT or USER_SUPPRESSED suppressions from the provided profiles. Learn more about suppressed profiles in this document.

Maximum number of profile can be submitted for subscription: 100

Revision header
revision: 2023-07-15required
Scopes
list:writeprofiles:writesubscriptions:write
Rate limits
Burst: 75/sSteady: 700/m

Headers

  • revision#stringrequired

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

    2023-07-15

Request body

Content type: application/jsonrequired

  • data#objectrequired
    Show 3 fields
    • type#stringrequired
      Allowed values:
      • profile-subscription-bulk-create-job
    • attributes#objectrequired
      Show 2 fields
      • custom_source#string

        A custom method detail or source to store on the consent records.

        Example: Marketing Event

      • profiles#objectrequired

        The profile(s) to subscribe

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

            The ID of the profile to subscribe. If provided, this will be used to perform the lookup.

            Example: 01GDDKASAP8TKDDA2GRZDSVP4H

          • attributes#objectrequired
            Show 3 fields
            • email#string

              The email address to subscribe or to set on the profile if channels is specified and the email channel is omitted.

              Example: matt-kemp@klaviyo-demo.com

            • phone_number#string

              The phone number to subscribe or to set on the profile if channels is specified and the SMS channel is omitted.

              Example: +15005550006

            • subscriptions#object
              Show 2 fields
              • email#string[]

                The communication types to subscribe to on the "EMAIL" Channel. Currently supports "MARKETING".

                Allowed values:
                • MARKETING
              • sms#string[]

                The communication types to subscribe to on the "SMS" Channel. Currently supports "MARKETING".

                Allowed values:
                • MARKETING
    • relationships#object
      Show 1 field
      • list#object
        Show 1 field
        • data#objectrequired
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • list
          • id#stringrequired

            Example: Y6nRLr

Responses

202

This response has no body.

4XXClient Error

Content type: application/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/json

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