get https://a.klaviyo.com/api/metric-properties//relationships/metric
Get the ID of the metric for the given metric property.
Rate limits:
Burst: 1/s
Steady: 15/m
Scopes:
metrics:read
Responses
Get the ID of the metric for the given metric property.
Rate limits:
Burst: 1/s
Steady: 15/m
Scopes:
metrics:read
xxxxxxxxxx
curl --request GET \
--url https://a.klaviyo.com/api/metric-properties/id/relationships/metric \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/vnd.api+json' \
--header 'revision: 2025-01-15'
xxxxxxxxxx
{
"data": {
"type": "metric",
"id": "string"
}
}