curl --request POST \
--url https://api.example.com/topic/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"topicText": "<string>",
"languageId": 123,
"parentTopicId": 123
}
'{
"success": true,
"data": "<unknown>"
}Adds a new topic. You must specify the parent topic id if it’s a child. Otherwise it’ll be created as a parent topic. Returns the id of the newly created record
curl --request POST \
--url https://api.example.com/topic/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"topicText": "<string>",
"languageId": 123,
"parentTopicId": 123
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.