get https://a.klaviyo.com/api/v2/people/search
Get a profile's Klaviyo ID given exactly one corresponding identifier: email
, phone_number
, or external_id
. NOTE: calling this endpoint with multiple identifiers will result in an error.
Response
Get a profile's Klaviyo ID given exactly one corresponding identifier: email
, phone_number
, or external_id
. NOTE: calling this endpoint with multiple identifiers will result in an error.
xxxxxxxxxx
curl --request GET \
--url 'https://a.klaviyo.com/api/v2/people/search?api_key=PRIVATE_API_KEY' \
--header 'accept: application/json'
xxxxxxxxxx
{
"id": "KLAVIYO_PROFILE_ID"
}