This method allows you to create a support centre topic.
/api/v2/support_centres/add_topic
This method can be accessed by account tokens.
support_centre
- ID or local domain of a support centre. (required)title
- the title of the topic (required)permalink
- the permalink of the topicdescription
- the description of the topicposition
- the position of the topicIf the topic is created successfully, you will receive a 201 Created
status and information about the topic will be provided. If a validation error occurs, you will receive a 422 Unprocessable Entity
status along with an array of errors (see below)
{
"id": 16681,
"name": "Testing",
"permalink": "testing",
"position": 11
}
{
"errors": {
"title": [
"can't be blank"
]
}
}