Create a term

POST https://{{base_url}}/v3/taxonomies/{{taxonomy_uid}}/terms

The Create a term request creates a term in a particular taxonomy within your stack.

To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken. 
Read more about it in Authentication.


For more information, refer to the Create a term API Reference document

Request Params

KeyDatatypeRequiredDescription
include_children_countbooleanSet this parameter to 'true' to include in response the total count of child terms available in the parent term.
include_referenced_entries_countbooleanSet this parameter to 'true' to include in response the total count of entries in which the term is added.

Request Body

{"term"=>{"uid"=>"term_a2", "name"=>"Term A2", "order"=>"2", "parent_uid"=>"term_a"}}

HEADERS

KeyDatatypeRequiredDescription
api_keystringEnter the API key of the stack.
authtokenstringEnter your authtoken.
authorizationstringFor this call we recommend you to use management token.
Content-TypestringEnter "application/json" to pass a request body.