URL METHOD PARAMS
Parameter Type Desscription
/wp-json/learnpress/v1/token POST username string The username of the user.
password string The password of the user.

Response

{
  "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3RcL2RlZmF1bHQyIiwiaWF0IjoxNjE4MjgzOTIwLCJuYmYiOjE2MTgyODM5MjAsImV4cCI6MTYxODg4ODcyMCwiZGF0YSI6eyJ1c2VyIjp7ImlkIjoiMiJ9fX0.X23nlkFJBg8SZnqMqfBelOBkPXsAMlyn5uwXHfaMpUM",
  "user_id": "2",
  "user_login": "instructor",
  "user_email": "[email protected]",
  "user_display_name": "instructor"
}