Revenue
17 endpoints
/api/v1/{org_id}/revenue-iq/fieldsGet filter field registry
Return the complete filter field registry. Contains all available fields grouped by category, with their operators, value sources, and scope information. Used by the filter builder UI to render the field picker.
Parameters
Path Parameters
org_idstringrequiredResponses
categoriesobject[]requiredAll field categories with their fields.
scopesobject[]Scope definitions.
snapshot_hashstringrequiredStable hash of the field registry meaning used for drift detection.
source_versionstringrequiredPMS-owned field registry snapshot contract version.
detailobject[]curl -X GET "https://api.example.com/api/v1/{org_id}/revenue-iq/fields" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"curl -X GET "https://api.example.com/api/v1/{org_id}/revenue-iq/fields" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"/api/v1/{org_id}/revenue-iq/listsList smart lists
List smart lists accessible to the current user. Supports filtering by scope, type, pinned status, and name search.
Parameters
Path Parameters
org_idstringrequiredQuery Parameters
scopestringFilter by visibility scope.
list_typestringFilter by list type.
searchstringCase-insensitive name search.
is_pinnedbooleanFilter by pinned status.
pageintegerPage number (1-based).
Default: 1
page_sizeintegerItems per page.
Default: 25
Responses
itemsobject[]requiredSmart list items.
pageintegerrequiredCurrent page number.
page_sizeintegerrequiredItems per page.
totalintegerrequiredTotal number of matching lists.
detailobject[]curl -X GET "https://api.example.com/api/v1/{org_id}/revenue-iq/lists" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"curl -X GET "https://api.example.com/api/v1/{org_id}/revenue-iq/lists" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"/api/v1/{org_id}/revenue-iq/lists/{list_uuid}Get smart list
Get a single smart list by UUID. Raises 404 if the list does not exist or is soft-deleted.
Parameters
Path Parameters
list_uuidstringrequiredorg_idstringrequiredResponses
base_versionintegerrequiredCurrent version for optimistic concurrency.
created_atstring (date-time)requiredTimestamp when the list was created.
descriptionstringfilter_definitionobjectComplete filter definition stored on a smart list. Structure: groups joined by OR, conditions within groups joined by AND. Produces queries like: ``(A AND B) OR (C AND D)``.
idstring (uuid)requiredUnique identifier of the smart list.
is_pinnedbooleanrequiredWhether the list is pinned to the user's sidebar.
last_executed_atstring (date-time)last_result_countintegerlist_typeenumrequiredList type. One of: dynamic, static, preset.
dynamicpresetstaticnamestringrequiredDisplay name of the smart list.
ownerobjectrequiredLightweight reference to a related entity — exposes UUID and optional name.
preset_keystringscopeenumrequiredVisibility scope. One of: organization, location, personal.
locationorganizationpersonalscope_locationobjectLightweight reference to a related entity — exposes UUID and optional name.
sort_orderintegerrequiredDisplay sort order in the sidebar.
tagsstring[]User-defined tags for organizing lists.
updated_atstring (date-time)requiredTimestamp when the list was last modified.
detailobject[]curl -X GET "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"curl -X GET "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"/api/v1/{org_id}/revenue-iq/presetsGet preset templates
Return all available preset list templates. Presets are system-defined smart list configurations that can be used as starting points for new lists.
Parameters
Path Parameters
org_idstringrequiredResponses
detailobject[]curl -X GET "https://api.example.com/api/v1/{org_id}/revenue-iq/presets" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"curl -X GET "https://api.example.com/api/v1/{org_id}/revenue-iq/presets" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"/api/v1/{org_id}/revenue-iq/composeCompose filter from natural language
Translate a natural language query into a filter definition. Not yet implemented — returns a stub response until LLM integration is wired. The endpoint will use the field registry schema to constrain the AI-generated filter. Raises 422 if query is empty or too short.
Parameters
Path Parameters
org_idstringrequiredRequest Body
contextobjectOptional context for AI composition. Narrows the field catalog and value options provided to the LLM.
querystringrequiredNatural language query to translate into a filter definition.
Responses
confidencenumberrequiredConfidence score (0.0 to 1.0) for the generated filter.
explanationstringrequiredHuman-readable explanation of the generated filter.
field_keys_usedstring[]List of field keys used in the generated filter.
filter_definitionobjectComplete filter definition stored on a smart list. Structure: groups joined by OR, conditions within groups joined by AND. Produces queries like: ``(A AND B) OR (C AND D)``.
warningsstring[]Warnings about the generated filter, e.g., scoped conditions split across groups or assumptions made during composition.
detailobject[]curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/compose" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"context": null,
"query": "string"
}'curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/compose" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"context": null,
"query": "string"
}'/api/v1/{org_id}/revenue-iq/countCount filter matches
Quick count of patients matching a filter definition. Faster than a full execute — returns only the count and timing.
Parameters
Path Parameters
org_idstringrequiredRequest Body
expected_source_snapshot_versionstringrequiredRevenue IQ field-registry snapshot hash used to compose the filter. PMS rejects the count before execution if its current registry snapshot differs.
filter_definitionobjectrequiredThe filter definition to count matches for.
Responses
countintegerrequiredNumber of patients matching the filter.
execution_time_msintegerrequiredServer-side query execution time in milliseconds.
source_snapshot_versionstringrequiredStable Revenue IQ field-registry snapshot hash used for execution. Consumers must compare this with the snapshot used to compose the filter.
detailobject[]curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/count" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"expected_source_snapshot_version": "string",
"filter_definition": {}
}'curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/count" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"expected_source_snapshot_version": "string",
"filter_definition": {}
}'/api/v1/{org_id}/revenue-iq/executeExecute ad-hoc filter
Execute an ad-hoc filter definition without saving. Useful for previewing results while building a filter.
Parameters
Path Parameters
org_idstringrequiredRequest Body
expected_source_snapshot_versionstringfilter_definitionobjectrequiredThe filter definition to execute.
pageintegerPage number.
page_sizeintegerRows per page.
sort_bystringSort field.
sort_direnumSort direction.
ascdescResponses
execution_time_msintegerrequiredQuery execution time (ms).
pageintegerrequiredCurrent page.
page_sizeintegerrequiredRows per page.
patientsobject[]requiredPaginated patient rows.
source_snapshot_versionstringrequiredStable Revenue IQ field-registry snapshot hash used for execution. Agent-MS compares this with the snapshot used for filter composition.
total_countintegerrequiredTotal matching patients.
detailobject[]curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/execute" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"expected_source_snapshot_version": "string",
"filter_definition": {},
"page": 1,
"page_size": 50,
"sort_by": "last_name"
}'curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/execute" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"expected_source_snapshot_version": "string",
"filter_definition": {},
"page": 1,
"page_size": 50,
"sort_by": "last_name"
}'/api/v1/{org_id}/revenue-iq/listsCreate smart list
Create a new smart list (dynamic or static). Dynamic lists require a filter_definition. Static lists manage membership via the /members endpoints. Preset lists are system-seeded and cannot be created through this endpoint. Raises 409 if a list with the same name already exists for this owner/scope. Raises 422 if filter_definition is missing for dynamic lists. Raises 422 if scope_location_uuid is missing when scope is 'location'.
Parameters
Path Parameters
org_idstringrequiredRequest Body
descriptionstringfilter_definitionobjectComplete filter definition stored on a smart list. Structure: groups joined by OR, conditions within groups joined by AND. Produces queries like: ``(A AND B) OR (C AND D)``.
is_pinnedbooleanWhether to pin the list to the sidebar.
list_typeenumrequiredList type. One of: dynamic (query-based), static (manual membership). Preset lists are system-seeded and cannot be created via the API.
dynamicstaticnamestringrequiredDisplay name for the list.
scopeenumrequiredVisibility scope.
locationorganizationpersonalscope_location_uuidstring (uuid)tagsstring[]User-defined tags.
Responses
base_versionintegerrequiredCurrent version for optimistic concurrency.
created_atstring (date-time)requiredTimestamp when the list was created.
descriptionstringfilter_definitionobjectComplete filter definition stored on a smart list. Structure: groups joined by OR, conditions within groups joined by AND. Produces queries like: ``(A AND B) OR (C AND D)``.
idstring (uuid)requiredUnique identifier of the smart list.
is_pinnedbooleanrequiredWhether the list is pinned to the user's sidebar.
last_executed_atstring (date-time)last_result_countintegerlist_typeenumrequiredList type. One of: dynamic, static, preset.
dynamicpresetstaticnamestringrequiredDisplay name of the smart list.
ownerobjectrequiredLightweight reference to a related entity — exposes UUID and optional name.
preset_keystringscopeenumrequiredVisibility scope. One of: organization, location, personal.
locationorganizationpersonalscope_locationobjectLightweight reference to a related entity — exposes UUID and optional name.
sort_orderintegerrequiredDisplay sort order in the sidebar.
tagsstring[]User-defined tags for organizing lists.
updated_atstring (date-time)requiredTimestamp when the list was last modified.
detailobject[]curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"description": "string",
"filter_definition": null,
"is_pinned": false,
"list_type": "dynamic",
"name": "string",
"scope": "location"
}'curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"description": "string",
"filter_definition": null,
"is_pinned": false,
"list_type": "dynamic",
"name": "string",
"scope": "location"
}'/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/actions/create-tasksCreate outreach tasks
Create one outreach task per patient in the list. Not yet implemented — returns 501 until Phase 2. Raises 404 if the list does not exist.
Parameters
Path Parameters
list_uuidstringrequiredorg_idstringrequiredRequest Body
assigned_to_uuidstring (uuid)requiredUUID of the user to assign the tasks to.
due_datestring (date)priorityenumTask priority.
highlowmediumtask_templatestringrequiredTask description template. Supports placeholders: {patient_name}, {phone}, {recall_date}.
Responses
assigned_toobjectrequiredLightweight reference to a related entity — exposes UUID and optional name.
tasks_createdintegerrequiredNumber of tasks created.
detailobject[]curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/actions/create-tasks" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"assigned_to_uuid": "00000000-0000-0000-0000-000000000000",
"due_date": "string",
"priority": "high",
"task_template": "string"
}'curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/actions/create-tasks" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"assigned_to_uuid": "00000000-0000-0000-0000-000000000000",
"due_date": "string",
"priority": "high",
"task_template": "string"
}'/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/actions/exportExport list results
Export list results to CSV or XLSX. Not yet implemented — returns 501 until Phase 2. Raises 404 if the list does not exist.
Parameters
Path Parameters
list_uuidstringrequiredorg_idstringrequiredRequest Body
columnsstring[]requiredPatientListItemOut fields to include as columns.
formatenumExport file format.
csvxlsxResponses
detailobject[]curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/actions/export" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"columns": [],
"format": "csv"
}'curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/actions/export" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"columns": [],
"format": "csv"
}'/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/actions/tagBulk-tag list patients
Apply tag add/remove to all patients in the list. Not yet implemented — returns 501 until Phase 2. Raises 404 if the list does not exist.
Parameters
Path Parameters
list_uuidstringrequiredorg_idstringrequiredRequest Body
actionenumrequiredWhether to add or remove the specified tags.
addremovetag_uuidsstring (uuid)[]requiredPatient tag definition UUIDs. Max 20 per request.
Responses
patients_affectedintegerrequiredNumber of patients whose tags were modified.
tags_appliedintegerrequiredNumber of tag assignments created or removed.
detailobject[]curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/actions/tag" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"action": "add",
"tag_uuids": []
}'curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/actions/tag" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"action": "add",
"tag_uuids": []
}'/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/duplicateDuplicate smart list
Duplicate a smart list with ' (Copy)' suffix. The new list is owned by the requesting user. Preset lists are converted to dynamic on duplication. Raises 404 if the source list does not exist.
Parameters
Path Parameters
list_uuidstringrequiredorg_idstringrequiredResponses
base_versionintegerrequiredCurrent version for optimistic concurrency.
created_atstring (date-time)requiredTimestamp when the list was created.
descriptionstringfilter_definitionobjectComplete filter definition stored on a smart list. Structure: groups joined by OR, conditions within groups joined by AND. Produces queries like: ``(A AND B) OR (C AND D)``.
idstring (uuid)requiredUnique identifier of the smart list.
is_pinnedbooleanrequiredWhether the list is pinned to the user's sidebar.
last_executed_atstring (date-time)last_result_countintegerlist_typeenumrequiredList type. One of: dynamic, static, preset.
dynamicpresetstaticnamestringrequiredDisplay name of the smart list.
ownerobjectrequiredLightweight reference to a related entity — exposes UUID and optional name.
preset_keystringscopeenumrequiredVisibility scope. One of: organization, location, personal.
locationorganizationpersonalscope_locationobjectLightweight reference to a related entity — exposes UUID and optional name.
sort_orderintegerrequiredDisplay sort order in the sidebar.
tagsstring[]User-defined tags for organizing lists.
updated_atstring (date-time)requiredTimestamp when the list was last modified.
detailobject[]curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/duplicate" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/duplicate" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/executeExecute smart list
Execute a saved smart list's filter against the patient database. Returns paginated patient results with execution timing. Raises 404 if the list does not exist or is soft-deleted.
Parameters
Path Parameters
list_uuidstringrequiredorg_idstringrequiredRequest Body
pageintegerPage number (1-indexed).
page_sizeintegerRows per page. Max 200.
sort_bystringSort field. One of: last_name, first_name, chart_number, date_of_birth, status, estimated_balance, created_at. Invalid values default to last_name.
sort_direnumSort direction.
ascdescResponses
execution_time_msintegerrequiredQuery execution time (ms).
listobjectrequiredSummary of the smart list that was executed.
pageintegerrequiredCurrent page.
page_sizeintegerrequiredRows per page.
patientsobject[]requiredPaginated patient rows.
total_countintegerrequiredTotal matching patients.
detailobject[]curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/execute" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"page_size": 50,
"sort_by": "last_name",
"sort_dir": "asc"
}'curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/execute" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"page_size": 50,
"sort_by": "last_name",
"sort_dir": "asc"
}'/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/membersAdd static list members
Add patients to a static list. Duplicate patients are silently ignored (idempotent). Raises 400 if the list is dynamic or preset. Raises 404 if the list or any patient UUID does not exist.
Parameters
Path Parameters
list_uuidstringrequiredorg_idstringrequiredRequest Body
notesstringpatient_uuidsstring (uuid)[]requiredPatient UUIDs to add. Max 500 per request.
Responses
added_countintegerrequiredNumber of patients actually added (excludes duplicates).
removed_countintegerrequiredNumber of patients actually removed.
total_membersintegerrequiredTotal member count after the operation.
detailobject[]curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/members" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"notes": "string",
"patient_uuids": []
}'curl -X POST "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/members" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"notes": "string",
"patient_uuids": []
}'/api/v1/{org_id}/revenue-iq/lists/{list_uuid}Update smart list
Update a smart list. Only provided fields are updated. The list_type, scope, and scope_location fields are immutable after creation. Raises 400 if filter_definition is set on a static list. Raises 404 if the list does not exist. Raises 409 if base_version does not match (optimistic concurrency).
Parameters
Path Parameters
list_uuidstringrequiredorg_idstringrequiredRequest Body
base_versionintegerrequiredCurrent version for optimistic concurrency. Rejected with 409 if stale.
descriptionstringfilter_definitionobjectComplete filter definition stored on a smart list. Structure: groups joined by OR, conditions within groups joined by AND. Produces queries like: ``(A AND B) OR (C AND D)``.
is_pinnedbooleannamestringsort_orderintegertagsstring[]Responses
base_versionintegerrequiredCurrent version for optimistic concurrency.
created_atstring (date-time)requiredTimestamp when the list was created.
descriptionstringfilter_definitionobjectComplete filter definition stored on a smart list. Structure: groups joined by OR, conditions within groups joined by AND. Produces queries like: ``(A AND B) OR (C AND D)``.
idstring (uuid)requiredUnique identifier of the smart list.
is_pinnedbooleanrequiredWhether the list is pinned to the user's sidebar.
last_executed_atstring (date-time)last_result_countintegerlist_typeenumrequiredList type. One of: dynamic, static, preset.
dynamicpresetstaticnamestringrequiredDisplay name of the smart list.
ownerobjectrequiredLightweight reference to a related entity — exposes UUID and optional name.
preset_keystringscopeenumrequiredVisibility scope. One of: organization, location, personal.
locationorganizationpersonalscope_locationobjectLightweight reference to a related entity — exposes UUID and optional name.
sort_orderintegerrequiredDisplay sort order in the sidebar.
tagsstring[]User-defined tags for organizing lists.
updated_atstring (date-time)requiredTimestamp when the list was last modified.
detailobject[]curl -X PATCH "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"base_version": 1,
"description": "string",
"filter_definition": null,
"is_pinned": null,
"name": "string"
}'curl -X PATCH "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"base_version": 1,
"description": "string",
"filter_definition": null,
"is_pinned": null,
"name": "string"
}'/api/v1/{org_id}/revenue-iq/lists/{list_uuid}Delete smart list
Soft-delete a smart list. Raises 404 if the list does not exist or is already deleted.
Parameters
Path Parameters
list_uuidstringrequiredorg_idstringrequiredResponses
base_versionintegerrequiredCurrent version for optimistic concurrency.
created_atstring (date-time)requiredTimestamp when the list was created.
descriptionstringfilter_definitionobjectComplete filter definition stored on a smart list. Structure: groups joined by OR, conditions within groups joined by AND. Produces queries like: ``(A AND B) OR (C AND D)``.
idstring (uuid)requiredUnique identifier of the smart list.
is_pinnedbooleanrequiredWhether the list is pinned to the user's sidebar.
last_executed_atstring (date-time)last_result_countintegerlist_typeenumrequiredList type. One of: dynamic, static, preset.
dynamicpresetstaticnamestringrequiredDisplay name of the smart list.
ownerobjectrequiredLightweight reference to a related entity — exposes UUID and optional name.
preset_keystringscopeenumrequiredVisibility scope. One of: organization, location, personal.
locationorganizationpersonalscope_locationobjectLightweight reference to a related entity — exposes UUID and optional name.
sort_orderintegerrequiredDisplay sort order in the sidebar.
tagsstring[]User-defined tags for organizing lists.
updated_atstring (date-time)requiredTimestamp when the list was last modified.
detailobject[]curl -X DELETE "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"curl -X DELETE "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/membersRemove static list members
Remove patients from a static list. Raises 400 if the list is dynamic or preset. Raises 404 if the list does not exist.
Parameters
Path Parameters
list_uuidstringrequiredorg_idstringrequiredRequest Body
patient_uuidsstring (uuid)[]requiredPatient UUIDs to remove. Max 500 per request.
Responses
added_countintegerrequiredNumber of patients actually added (excludes duplicates).
removed_countintegerrequiredNumber of patients actually removed.
total_membersintegerrequiredTotal member count after the operation.
detailobject[]curl -X DELETE "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/members" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"patient_uuids": []
}'curl -X DELETE "https://api.example.com/api/v1/{org_id}/revenue-iq/lists/{list_uuid}/members" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"patient_uuids": []
}'