API endpoint to know what are the scopes of the API key?
Hello,
First, congrats on the new API release, I’m excited to work with it!
Since we are now dealing with API scopes attached to API keys, I was wondering if there was an API that would tell me what are the scopes attached to an API key? I can’t seem to find any in the doc/OpenAPI spec.
Perhaps something like :
curl --request GET \
--url 'https://a.klaviyo.com/api/key-scopes'
--header 'Authorization: Klaviyo-API-Key {my-private-api-key}'
That would answer with :
{
"data": ["Catalogs Read", "Catalogs Write"]
}
Thanks!
