Create Content

This section lets you register the content on Conscent.ai.

Authorization

POST {API_URL}/content

Client API Key and API Secret must be passed in Authorization Headers using Basic Auth. With API Key as the Username and API Secret as the password.

Request Body

Name
Type
Description

contentId*

String

Content Id of the content

price

Integer

price of the content

categories

["category1","category2"]

authorId

String

sections

["section1","section2"]

tags

["tag1","tag2"]

title*

String

Title of the content

url*

String

url of the content

contentType

String

currency

String

duration

Integer

duration of the content

To pick the Default Price and Default Duration for micropayment, you need to set them here and pass "price" : null and "duration" : null while registering the content.

The above command returns JSON structured like this:

Last updated