Propiedades personalizadas

Tus propios campos en contactos, empresas y propuestas.

Valores de los ejemplos

Escríbelos una vez y todos los ejemplos de esta página los usan. La clave de API se queda solo en esta página y nunca se guarda.

GET/v1/custom-properties

Las propiedades personalizadas de contactos, empresas y propuestas.

ListarSi va bien: 200.Permiso: Leer.

Ejemplo
curl -X GET "https://api.firmado.app/v1/custom-properties" \
  -H "X-Api-Key: fmd_..."

GET/v1/custom-properties/{entity}

Las propiedades personalizadas de un tipo de registro.

Ver unoSi va bien: 200.Permiso: Leer.

Parámetros de ruta

CampoTipoObligatorioNotas
entitystringSí
Ejemplo
curl -X GET "https://api.firmado.app/v1/custom-properties/{entity}" \
  -H "X-Api-Key: fmd_..."

POST/v1/custom-properties/{entity}

Crea una propiedad personalizada: su tipo, opciones y dónde aparece.

Crear/{entity}Si va bien: 201.Permiso: Crear.

Parámetros de ruta

CampoTipoObligatorioNotas
entitystringSí

Cuerpo

CampoTipoObligatorioNotas
keystringSípattern ^[a-z][a-z0-9_]{0,49}$
labelstringSímin length 1 · max length 100
descriptionstring | nullNo
type"text" | "number" | "boolean" | "date" | "select" | "multiselect" | "url"Sí
optionsarray of objectNomax items 100
options[].valuestringSímin length 1 · max length 100
options[].labelstringSímin length 1 · max length 100
requiredbooleanNodefault false
positionintegerNomin 0 · default 0

Respuesta

16 campos
CampoTipoSiempre presente
createdAtstring (date-time)Sí
createdBystring (uuid)Sí
descriptionnull en los ejemplosSí
entityTypestringSí
idstring (uuid)Sí
keystringSí
labelstringSí
optionsarray of objectSí
options[].labelstringSí
options[].valuestringSí
organizationIdstring (uuid)Sí
positionintegerSí
requiredbooleanSí
typestringSí
updatedAtstring (date-time)Sí
updatedBystring (uuid)Sí
Ejemplo
curl -X POST "https://api.firmado.app/v1/custom-properties/{entity}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "key": "…",
  "label": "…",
  "type": "text",
  "description": "…"
}'

Respuesta (201), con valores de ejemplo:

{
  "createdAt": "2026-11-21T14:00:00.000Z",
  "createdBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "description": null,
  "entityType": "…",
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "key": "…",
  "label": "…",
  "options": [
    {
      "label": "…",
      "value": "…"
    }
  ],
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "position": 1,
  "required": true,
  "type": "…",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "updatedBy": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10"
}

DELETE/v1/custom-properties/{entity}/{id}

Elimina una propiedad personalizada y sus valores.

Eliminar/{entity}/{id}Si va bien: 204.Permiso: Eliminar.

Parámetros de ruta

CampoTipoObligatorioNotas
entitystringSí
idstringSí
Ejemplo
curl -X DELETE "https://api.firmado.app/v1/custom-properties/{entity}/{id}" \
  -H "X-Api-Key: fmd_..."

PATCH/v1/custom-properties/{entity}/{id}

Cambia la etiqueta, las opciones o el orden de una propiedad personalizada.

Actualizar/{entity}/{id}Si va bien: 200.Permiso: Actualizar.

Parámetros de ruta

CampoTipoObligatorioNotas
entitystringSí
idstringSí

Cuerpo

CampoTipoObligatorioNotas
labelstringNomin length 1 · max length 100
descriptionstring | nullNo
optionsarray of objectNomax items 100
options[].valuestringSímin length 1 · max length 100
options[].labelstringSímin length 1 · max length 100
requiredbooleanNodefault false
positionintegerNomin 0 · default 0
Ejemplo
curl -X PATCH "https://api.firmado.app/v1/custom-properties/{entity}/{id}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "label": "…",
  "description": "…",
  "options": [
    {
      "value": "…",
      "label": "…"
    }
  ],
  "required": false
}'

Eventos de webhook

Cambios de esta funcionalidad que los webhooks pueden enviar.

  • custom_property.createdCrear
  • custom_property.updatedActualizar
  • custom_property.deletedEliminar