Skip to main content
Contributor III
July 27, 2022
Solved

Fetch authenticated user info

  • July 27, 2022
  • 3 replies
  • 144 views

Hi there,

I’m getting started with the Klaviyo API and was just wondering if it’s possible to fetch the name and/or email associated with the authenticated user/team? Looking for something a bit like this `/me` endpoint in the Facebook Graph API: https://developers.facebook.com/docs/graph-api/overview#me

Thanks in advance!

    This topic has been closed for replies.
    Best answer by stephen.trumble

     Hey @TianaS 

    Welcome to the Klaviyo Community! Thank you for coming in to ask about Klaviyo’s API endpoints. 

    Unfortunately, Klaviyo does not have an endpoint that points to specific users on an account which is why we use a private API key which is only associated with the account. 

    Thanks again for asking a great question, I appreciate your contribution to the community!

    3 replies

    stephen.trumble
    Klaviyo Alum
    July 27, 2022

     Hey @TianaS 

    Welcome to the Klaviyo Community! Thank you for coming in to ask about Klaviyo’s API endpoints. 

    Unfortunately, Klaviyo does not have an endpoint that points to specific users on an account which is why we use a private API key which is only associated with the account. 

    Thanks again for asking a great question, I appreciate your contribution to the community!

    -Stephen
    TianaSAuthor
    Contributor III
    July 28, 2022

    Hi @stephen.trumble,

    Thanks so much for your answer! Then follow up question: is it somehow possible to just retrieve the account’s name, so not the user but the account, that’s associated with the API key?
     

    stephen.trumble
    Klaviyo Alum
    August 15, 2022

    Hey @TianaS 

    Sorry for the delay, thank you for your patience! Unfortunately, as of today we don't have any API endpoints that take an API key and use it to look up any information about the company that it belongs to. However you are not the first person to ask for this, so I will roll this up to our developers team for their evaluation to make this API call.

    Thank you again for being part of the Klaviyo Community!

    -Stephen