Hi @majid
Welcome to the Community! Glad to have you and happy to help!
You can definitely use the information you have to create a profile in Klaviyo via API. I’d recommend taking these steps to do so:
- Using the Identify Endpoint to create the profile via API
curl --request POST \
--url https://a.klaviyo.com/api/identify \
--header 'Accept: text/html' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'data={"token": "PUBLIC_KEY","properties": {"$email":"ben.franklin@klaviyo.com"}}'
- Using the the Track Endpoint to track their activity
REQUEST
curl --request GET \
--url 'https://a.klaviyo.com/api/v1/person/PERSON_ID/metrics/timeline?count=50&sort=desc&api_key=PRIVATE_API_KEY' \
--header 'Accept: application/json'
Additionally, if you are looking to create a profile via API and add it to a List in Klaviyo, I’d use the steps in our API documentation here. It should be noted however, that users would need to confirm their email address via the double opt-in process before they are created and added to the List. Our Klaviyo Developer Portal has many resources averrable at your fingertips that I’d recommend checking out to get more familiar with API.
Finally, another Community members had a similar question that I’d suggest checking out to gain further insight!
Thanks for participating in the Community!
-Taylor