fields=kapso(...) on list endpoints.
Works with:
- REST API: Add
?fields=kapso(...)query parameter - TypeScript SDK: Pass
fieldsoption with helper functions or string
Usage
TypeScript SDK
The SDK includes helper functions for common field sets:REST API
Add thefields query parameter:
kapso(default)orkapso(*)orkapso(all)- All default Kapso fieldskapso(field1,field2,...)- Specific fields onlykapso()- Omit Kapso fields entirely
Message fields
Conversation fields
Use these with conversations endpoint.Examples
All Kapso fields
Subset of fields
Omit Kapso fields
Webhooks
The SDK includes a normalization helper for Meta webhooks. It returns the same structure as history queries and setskapso.direction. SMB echoes are tagged with kapso.source = "smb_message_echo". Other webhook fields are available under events.raw.<fieldName>.

