Authorizations
- x-api-key string required header
Your Valley API key.
Request Body
application/json- isRead boolean required
Set to true to mark messages as read, false to mark as unread.
- workspaceId string
Scope to a specific workspace. One of workspaceId, campaignIds, or confirmAll is required.
- campaignIds string
Comma-separated campaign IDs to scope the operation to.
- confirmAll boolean
Set to true to act on all campaigns in the workspace. Requires workspaceId. Optionally narrow with campaignIds.
- search string
Filter by prospect first or last name.
- icpFit string
Comma-separated ICP fit values to filter by (e.g. HIGH, MEDIUM).
- prospectInterestLevel string
Comma-separated interest level values to filter by.
- from string
Filter messages created on or after this date (YYYY-MM-DD).
- to string
Filter messages created on or before this date (YYYY-MM-DD).
- ownerId string
Admin/Owner only: scope results to a specific workspace member by their user ID.
Response
application/json- statusCode number
- status boolean
- message string
- data object
+ - Show Child Attributes
- affected number