data_sources

Update data source

Partial edit of a source: rename, pause or resume (status active | paused), the mapping of rows not yet promoted, tags, duplicate policy, gate, or another sender profile for a sender_search or a post_engagement. type, object_type and playtable_sid are immutable. A payload patch names only what its kind lets a caller change; payload.prompt rule plan_built and payload.url rule agreement mean the change is a new source. At least one field, else 422 nothing_to_update.

Contract:

  • MCP tool update_data_source, registry package mcp.playtables/data_sources, mount playtables.sources.
  • Operation update, response envelope update.
  • Flags: none.
patch/api/data-sources/{sid}

Request

  • Base URL
    https://beta.getsales.io/playtables/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Path parameters

sidstring required

Data source sid (ds_sc_…).

Request body

namestring

New display name (1..255).

status'active' | 'paused'

User transitions only: pause / resume, and failed to active (re-arms the collect clock after a config fix). Anything else is 422 invalid_transition; completed is system-set.

tag_sidsstring[] nullable

Full-replace of the tag array; applies to future promotions.

on_duplicate'skip' | 'move'

New duplicate-person policy for the rows promoted from now on.

add_tags_to_duplicateboolean

Merge tag_sids onto matched duplicates from now on.

sender_profile_sidstring nullable

Reassign the sender profile of a sender_search or a post_engagement (ub_sp_): the checks run again (linkedin_account_missing, sales_nav_required, recruiter_required, recruiter_signed_out). Those two kinds must keep one; any other kind keeps it null.

Response

update success envelope.

successtrue required
operation'update' required
updated_fieldsstring[] required
previous_valuesobject required
kept_fieldsstring[]

The fields this write did not change because the person's own value stands on them (stamped person); read the item for what landed.

Changes

No recorded changes to this operation across all 1 revision of this API.