This API is used to create topics for a specific appId.

Request

The Create Topic request is specified as follows:

Request Headers

Request HeaderDescription
secretKeySecret key generated in backend application.
content-typeapplication/json

##Request Example

{
	"name" : "offers",
	"ref" : "offer ref",
	"topic_group" : "Extra Benefits",
	"description" : "Get Benefits from this topic"
}

Request Body

ParameterTypeMandatoryDescription
nameStringYesSpecifies the name of the user.
refStringNoUsed to store input data.
topic_groupStringNoUsed to store input data.
descriptionStringYesDescribes the topic.

Response Example

{
	"id" : "591d7f04e4b09e0d95d4f73f",
	"trans_id" : "22a23dbc-af31-4c65-925e-8e74e115ef27",
	"description" : "success",
	"code" : 0
}
Language
Copyright © 2000 - 2021 IMImobile Limited | All Rights Reserved