Skip to main content
POST
/
evidences
/
{COMPANY_ID}
/
category
Add a category
curl --request POST \
  --url https://api.timelockdata.com/api/v1/evidences/{COMPANY_ID}/category \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "image": {}
}
'
{
  "id": "<string>"
}

Authorizations

X-API-Key
string
header
required

Path Parameters

COMPANY_ID
string
required

Company identifier

Body

application/json
name
string
required

Name of the category

description
string

Description of the category

image
object

Image file for the category

Response

Category created successfully

id
string
required

ID of the newly created category or subcategory