Update a channel
$ lightfield channel update
POST/v1/channels/{id}
Updates $includeInCrm on a channel the caller can see. Only the channel owner — the member whose connected LinkedIn or WhatsApp account owns the DM — can change this. Anyone else receives 403.
Supports idempotency via the Idempotency-Key header.
Required scope: channels:update
Rate limit category: Write
Parameters
--fields: object { "$includeInCrm" }
Field values to update — only provided fields are modified. $includeInCrm is the only writable channel field. See Fields and relationships for value type details.
Update a channel
lightfield channel update \
--api-key 'My API Key' \
--id id \
--fields '{$includeInCrm: true}'{
"id": "chn_cm2def456ghi789",
"createdAt": "2026-05-01T09:00:00.000Z",
"fields": {
"$name": {
"value": "acme-deal-room",
"valueType": "TEXT"
},
"$provider": {
"value": "SLACK",
"valueType": "TEXT"
},
"$isPublic": {
"value": false,
"valueType": "CHECKBOX"
},
"$providerChannelId": {
"value": "C0123456789",
"valueType": "TEXT"
},
"$providerCreatedAt": {
"value": "2026-04-20T14:30:00.000Z",
"valueType": "DATETIME"
},
"$includeInCrm": {
"value": "string",
"valueType": "CHECKBOX"
}
},
"httpLink": null,
"objectType": "channel",
"relationships": {
"account-slack-channel": {
"cardinality": "has_many",
"objectType": "account",
"values": [
"acc_cm0abc123def456"
],
"directions": {
"asDestination": {
"cardinality": "HAS_ONE",
"values": [
"string"
]
},
"asSource": {
"cardinality": "HAS_ONE",
"values": [
"string"
]
}
}
},
"opportunity-slack-channel": {
"cardinality": "has_many",
"objectType": "opportunity",
"values": [
"opp_cm1xyz456uvw789"
],
"directions": {
"asDestination": {
"cardinality": "HAS_ONE",
"values": [
"string"
]
},
"asSource": {
"cardinality": "HAS_ONE",
"values": [
"string"
]
}
}
}
},
"updatedAt": "2026-05-01T09:00:00.000Z",
"externalId": "externalId"
}Returns Examples
{
"id": "chn_cm2def456ghi789",
"createdAt": "2026-05-01T09:00:00.000Z",
"fields": {
"$name": {
"value": "acme-deal-room",
"valueType": "TEXT"
},
"$provider": {
"value": "SLACK",
"valueType": "TEXT"
},
"$isPublic": {
"value": false,
"valueType": "CHECKBOX"
},
"$providerChannelId": {
"value": "C0123456789",
"valueType": "TEXT"
},
"$providerCreatedAt": {
"value": "2026-04-20T14:30:00.000Z",
"valueType": "DATETIME"
},
"$includeInCrm": {
"value": "string",
"valueType": "CHECKBOX"
}
},
"httpLink": null,
"objectType": "channel",
"relationships": {
"account-slack-channel": {
"cardinality": "has_many",
"objectType": "account",
"values": [
"acc_cm0abc123def456"
],
"directions": {
"asDestination": {
"cardinality": "HAS_ONE",
"values": [
"string"
]
},
"asSource": {
"cardinality": "HAS_ONE",
"values": [
"string"
]
}
}
},
"opportunity-slack-channel": {
"cardinality": "has_many",
"objectType": "opportunity",
"values": [
"opp_cm1xyz456uvw789"
],
"directions": {
"asDestination": {
"cardinality": "HAS_ONE",
"values": [
"string"
]
},
"asSource": {
"cardinality": "HAS_ONE",
"values": [
"string"
]
}
}
}
},
"updatedAt": "2026-05-01T09:00:00.000Z",
"externalId": "externalId"
}