Klaviyo - Create a Klaviyo profile via API
The video provides a comprehensive guide on how to create and update customer profiles in Klaviyo using their API, specifically through the Postman tool. It begins by explaining the importance of profiles in Klaviyo, which store valuable customer data and behavior. The process starts with generating a private API key in Klaviyo, which is necessary for authenticating API requests. The video then walks through setting up Postman with this key and selecting the 'Create or Update Profile' endpoint. It details how to construct the API call body, emphasizing required fields like the Data Object and profile identifier, typically an email or phone number. The example used includes adding a customer's first name, city, and a custom property for their favorite coffee flavor. The video also covers updating an existing profile, demonstrating how to change the coffee flavor and add a new preference for roast type. It highlights that the API will either create a new profile or update an existing one based on the identifier provided, ensuring seamless integration. The video concludes by encouraging viewers to use this API endpoint for efficient profile management and to check the description for additional resources.
Key Points:
- Generate a private API key in Klaviyo for secure API requests.
- Use Postman to authenticate and make API calls to Klaviyo's 'Create or Update Profile' endpoint.
- Include required fields like Data Object and profile identifier in the API call body.
- The API can create a new profile or update an existing one based on the identifier.
- Updating a profile will override existing values, as shown in the coffee flavor example.