Get User Info
This endpoint is used to retrieve the User Information.
https://mapi.storyblok.com/v1/user_infohttps://api.storyblok.com/oauth/user_infoWhen working with plugins like Space or Tools and need to read data using the Storyblok Management API, you can use either of the endpoints shown above. However, make sure to review the OAuth authorization flow first to understand how authentication works and how it should be implemented.
Examples
Section titled “Examples”$ curl 'https://api.storyblok.com/oauth/user_info' -H 'authorization: Bearer YOURTOKEN'This will return a user object and a array of space roles:
{"user": { "friendly_name": "My name", "id": 20},"roles": [ { "name": "admin" }]}
Thanks! We received your feedback.
An error occurred. Please try again.
Was this page helpful?
This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window) . Terms of Service (opens in a new window) apply.
Get in touch with the Storyblok community