1. Get User Info

Get User Info

This endpoint is used to retrieve the User Information.

https://api.storyblok.com/oauth/user_info
Example Request
$ curl 'https://api.storyblok.com/oauth/user_info' -H 'authorization: Bearer YOURTOKEN'

This will return a user object and a array of space roles:

Example Return Object
{
  "user": {
    "friendly_name": "My name",
    "id": 20
  },
  "roles": [
    {
      "name": "admin"
    }
  ]
}