Solved

Is there a way by REST api or otherwise to check the permissions a private apiKey?

  • 1 February 2023
  • 1 reply
  • 144 views

Badge +1

We want to validate that an apiKey has all the permissions we need before we onboard them to an integration with Klaviyo.

icon

Best answer by Brian Turcotte 1 February 2023, 23:24

View original

1 reply

Userlevel 7
Badge +36

Hi @meitalmtz and welcome to the Community!

 

At this time, there’s no supported way to determine the scope permissions of a private API key at a glance. The only way to determine the exact scope is to have the owner or admin of the account tell you the scope/permission for the key, or delete and recreate the key while taking note of the scope. 

 

However, the user in this thread did determine a workaround that was suitable for his use case, if you’re interested (last comment):

 

There has also been a Product Request made for this feature, so I’ll update the thread when I know more about that.

 

Thanks for using the Community!

- Brian

Reply