post https://a.klaviyo.com/client/subscriptions/
Rate limits:
Burst: 100/s
Steady: 700/m
Scopes:
subscriptions:write
Response
202Success
Rate limits:
Burst: 100/s
Steady: 700/m
Scopes:
subscriptions:write
202Success
xxxxxxxxxx
57"image": "https://images.pexels.com/photos/3760854/pexels-photo-3760854.jpeg",
curl --request POST \
--url 'https://a.klaviyo.com/client/subscriptions/?company_id=PUBLIC_API_KEY' \
--header 'content-type: application/json' \
--header 'revision: 2024-02-15' \
--data '
{
"data": {
"type": "subscription",
"attributes": {
"custom_source": "Homepage footer signup form",
"profile": {
"data": {
"type": "profile",
"id": "01GDDKASAP8TKDDA2GRZDSVP4H",
"attributes": {
"email": "sarah.mason@klaviyo-demo.com",
"phone_number": "+15005550006",
"external_id": "63f64a2b-c6bf-40c7-b81f-bed08162edbe",
"anonymous_id": "01GDDKASAP8TKDDA2GRZDSVP4H",
"_kx": "J8fjcn003Wy6b-3ILNlOyZXabW6dcFwTyeuxrowMers%3D.McN66",
"first_name": "Sarah",
"last_name": "Mason",
"organization": "Example Corporation",
"title": "Regional Manager",