Skip to main content
POST
/
courses
/
courses-exporter
/
public
/
import
Import Courses
curl --request POST \
  --url https://services.leadconnectorhq.com/courses/courses-exporter/public/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Version: <version>' \
  --data '
{
  "locationId": "<string>",
  "products": [
    {
      "title": "<string>",
      "description": "<string>",
      "categories": [
        {
          "title": "<string>",
          "visibility": "published",
          "thumbnailUrl": "<string>",
          "posts": [
            {
              "title": "<string>",
              "visibility": "published",
              "contentType": "video",
              "description": "<string>",
              "thumbnailUrl": "<string>",
              "bucketVideoUrl": "<string>",
              "postMaterials": [
                {
                  "title": "<string>",
                  "type": "pdf",
                  "url": "<string>"
                }
              ]
            }
          ],
          "subCategories": [
            {
              "title": "<string>",
              "visibility": "published",
              "thumbnailUrl": "<string>",
              "posts": [
                {
                  "title": "<string>",
                  "visibility": "published",
                  "contentType": "video",
                  "description": "<string>",
                  "thumbnailUrl": "<string>",
                  "bucketVideoUrl": "<string>",
                  "postMaterials": [
                    {
                      "title": "<string>",
                      "type": "pdf",
                      "url": "<string>"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "imageUrl": "<string>",
      "instructorDetails": {
        "name": "<string>",
        "description": "<string>"
      }
    }
  ],
  "userId": "<string>"
}
'

Authorizations

Authorization
string
header
required

Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

Headers

Version
enum<string>
required

API Version

Available options:
2021-07-28

Body

application/json
locationId
string
required
products
object[]
required
userId
string

Response

201

Courses imported successfully.

Last modified on March 4, 2026