Docs: Tool reference
customers toolset

export_user_data

Export a customer's data. Returns everything CareChannel holds about an end user, for a GDPR access request: profile, attributes, company links, and their posts, public comments and votes (deleted ones included, marked with deleted_at). The team's internal notes about them are not included. Managers and owners. No side effects.

Toolset
customers
Who can call it
OwnersManagersAPI keys
REST
GET /api/v1/w/{workspace}/users/{user}/export
Behavior
read-onlyidempotent

Input

FieldTypeDescription
userrequiredstringThe end user's ID (usr_…), email address or external ID.

Output

FieldTypeDescription
userrequiredobject
companiesrequiredarray of object
postsrequiredarray of object
commentsrequiredarray of object
votesrequiredarray of object

Calling it

// MCP: tools/call
{ "name": "export_user_data", "arguments": {"user":"<string>"} }

// Typed client
await carechannel.export_user_data({"user":"<string>"});