URL Method Params
Parameter Type Desciption
/wp-json/learnpress/v1/user/id POST

Response

"{
  ""id"": 2,
  ""username"": ""student"",
  ""name"": ""student"",
  ""first_name"": ""dao"",
  ""last_name"": ""nham"",
  ""email"": ""[email protected]"",
  ""url"": """",
  ""description"": """",
  ""link"": ""http:\/\/learnpress4.local\/author\/student\/"",
  ""locale"": ""en_US"",
  ""nickname"": ""student"",
  ""slug"": ""student"",
  ""registered_date"": ""2021-05-31T03:55:07+00:00"",
  ""roles"": [
    ""subscriber""
  ],
  ""capabilities"": {
    ""read"": true,
    ""level_0"": true,
    ""subscriber"": true
  },
  ""extra_capabilities"": {
    ""subscriber"": true
  },
  ""avatar_urls"": {
    ""24"": ""http:\/\/0.gravatar.com\/avatar\/f43b17ec0745ddfe0e2a054d57cfb183?s=24&d=mm&r=g"",
    ""48"": ""http:\/\/0.gravatar.com\/avatar\/f43b17ec0745ddfe0e2a054d57cfb183?s=48&d=mm&r=g"",
    ""96"": ""http:\/\/0.gravatar.com\/avatar\/f43b17ec0745ddfe0e2a054d57cfb183?s=96&d=mm&r=g""
  },
  ""meta"": [],
  ""_links"": {
    ""self"": [
      {
        ""href"": ""http:\/\/learnpress4.local\/wp-json\/learnpress\/v1\/users\/2""
      }
    ],
    ""collection"": [
      {
        ""href"": ""http:\/\/learnpress4.local\/wp-json\/learnpress\/v1\/users""
      }
    ]
  }
}"