Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt

Use this file to discover all available pages before exploring further.

Update or archive a custom subtype. Requires agency or account admin role.
PUT https://services.leadconnectorhq.com/conversations/preferences/custom-subtypes/{id}

Autorizacion

Authorization
string
required
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.

Path parameters

id
string
default:"ve9EPM428h8vShlRW1KT"
required
Custom Subtype Id

Query parameters

locationId
string
default:"ve9EPM428h8vShlRW1KT"
required
Account Id

Body

name
string
default:"Newsletter Subscription"
Name of the custom subtype (max 100 characters)
description
string
Description of the custom subtype (max 100 characters)
archived
boolean
default:"False"
Whether the custom subtype is archived
Resubscription legal form ID (optional when archiving)

Respuestas

{}
{}

Ejemplo

curl -X PUT 'https://services.leadconnectorhq.com/conversations/preferences/custom-subtypes/YOUR_id' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Newsletter Subscription",
  "description": "Updated weekly newsletter subscription preferences",
  "archived": false,
  "resubscription_legal_form_id": "form_123456"
}'