Invite a member as Course participant
Invite a member as Course participant
        POST
    /v1/courses/{courseId}/participants
  
  curl \
 --request POST 'https://openapi.meltingspot.io/v1/courses/{courseId}/participants' \
 --header "Content-Type: application/json" \
 --data '{"spotMemberId":"string","invitedBySpotMemberId":"string","withEmailNotification":true}'
        Request examples
  
  {
  "spotMemberId": "string",
  "invitedBySpotMemberId": "string",
  "withEmailNotification": true
}
        Response examples (201)
  
  {
  "id": "string",
  "courseId": "string",
  "spotMemberId": "string",
  "spotMemberEmail": "string",
  "spotMemberFirstname": {},
  "spotMemberLastname": {},
  "status": "Invited",
  "invitedAt": "2025-05-04T09:42:00Z",
  "startedAt": "2025-05-04T09:42:00Z",
  "completedAt": "2025-05-04T09:42:00Z",
  "unenrolledAt": "2025-05-04T09:42:00Z",
  "lastActivityAt": "2025-05-04T09:42:00Z",
  "completionRate": 42
}