POST/v1/HitlTemplate

Create Hitl Template

Not yet documented — no summary in the API source.

RequiresAuthorization: Bearer sk_...tenant_id

Request body application/json

idstringnullable
tenant_idstringnullable
created_atstring (date-time)
updated_atstring (date-time)
namestringrequiredmin length 1
descriptionstringrequiredmin length 1
short_descriptionstringnullable
timeout_behaviorstringnullable
decline_behaviorstringnullable
email_template_idstringrequiredmin length 1
triggering_actionsarray of objectHitlTriggeringActionrequired
namestringnullable
typestringnullable
default_assigned_user_idstringnullable

Responses

object HitlTemplate — same shape as the request body.

curl --request POST \
  --url 'https://api.4comply.io/v1/HitlTemplate' \
  --header 'Authorization: Bearer sk_...' \
  --header 'tenant_id: your-tenant-id' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "00000000-0000-0000-0000-000000000000",
  "tenant_id": "your-tenant-id",
  "created_at": "2026-09-07T12:00:00Z",
  "updated_at": "2026-09-07T12:00:00Z",
  "name": "Example name",
  "description": "Example text",
  "short_description": "Example text",
  "timeout_behavior": "string",
  "decline_behavior": "string",
  "email_template_id": "user@example.com",
  "triggering_actions": [
    {
      "name": "Example name",
      "type": "string"
    }
  ],
  "default_assigned_user_id": "00000000-0000-0000-0000-000000000000"
}'