User Actions

User actions for Courses

Enroll into the Course

POST https://yoursite.com/wp-json/wplms/v2/course/subscribe

Request Body

Name
Type
Description

token

string

The JWT token to identify the user

Course_id

number

Course Id to enroll the user

{    
    "status": 1,    
    "message": "Successfully  subscribed to course!",    
    "status": "1",
    "expiry": 123467 
}

Last updated