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
Key | Datatype | Required | Description |
---|---|---|---|
include_children_count | boolean | Set this parameter to 'true' to include in response the total count of child terms available in the parent term. | |
include_referenced_entries_count | boolean | Set 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
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | Enter the API key of the stack. | |
authtoken | string | Enter your authtoken. | |
authorization | string | For this call we recommend you to use management token. | |
Content-Type | string | Enter "application/json" to pass a request body. |