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.
confirm_password string The confirm password.
email string The email of the user.

Response

"{
  ""token"": ""eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sZWFybnByZXNzNC5sb2NhbCIsImlhdCI6MTYyNjQwOTE3OCwibmJmIjoxNjI2NDA5MTc4LCJleHAiOjE2MjcwMTM5NzgsImRhdGEiOnsidXNlciI6eyJpZCI6IjkifX19.S9ei8BRxb1dPaiqcFKUb4qpwa3P0HT_Dt0Pm-CE5CLI"",
  ""user_id"": ""9"",
  ""user_login"": ""student4"",
  ""user_email"": ""[email protected]"",
  ""user_display_name"": ""student4""
}"