Skip to main content
POST
Create a new activity type

Authorizations

Authorization
string
header
required

Token de sesión Better Auth para rutas de backoffice; las rutas de portal usan su token propio.

Body

application/json
name
string
required

Name of the activity type

Maximum string length: 100
Example:

"Nota interna"

Response

Activity type created successfully

id
number
required

ID del tipo de actividad

name
string
required

Nombre del tipo de actividad

is_active
boolean
required

Estado activo/inactivo

key
string | null

Clave semántica del tipo (nota, whatsapp, correo, linkedin, llamada, reunion, formulario_web); null en tipos propios del tenant