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 provided 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. Learn more about consent in this guide.
If a list is not provided, the opt-in process used will be determined by the account-level default opt-in setting.
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.
Maximum number of profiles can be submitted for subscription: 100
- Revision header
revision: 2024-06-15required- Scopes
lists:writeprofiles:writesubscriptions:write- Rate limits
- Burst:
75/sSteady:700/m
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2024-06-15
Request body
Content type: application/jsonrequired
Show 3 fields
Show 2 fields
A custom method detail or source to store on the consent records.
The profile(s) to subscribe
Show 1 field
Show 3 fields
The ID of the profile to subscribe. If provided, this will be used to perform the lookup.
Show 4 fields
The email address to subscribe or to set on the profile if
channelsis specified and the email channel is omitted.The phone number to subscribe or to set on the profile if
channelsis specified and the SMS channel is omitted. This must be in E.164 format.Show 2 fields
Show 1 field
Show 2 fields
The Consent status to subscribe to for the "Marketing" type. Currently supports "SUBSCRIBED".
The timestamp of when the profile's consent was gathered. This should only be used when syncing over historical consent info to Klaviyo; if not included, the current time will be used. This field is only supported for single opt-in and will be ignored for double opt-in.
Show 1 field
Enter valid JSON. Until you do, the example request uses the example value.
The profile's date of birth. This field is required to update SMS consent for accounts using age-gating: https://help.klaviyo.com/hc/en-us/articles/17252552814875
Responses
202Success
This response has no body.
4XXClient Error
Content type: application/json
5XXServer Error
Content type: application/json