data_sources

Add companies to data source

Append companies to a find_people source: its stored filter walks them too, no second plan. Sids already queued are skipped (result.skipped_existing); a completed, failed or paused source is re-armed and resumes at the first new company, an active one just grows its queue. At most 500 new sids per call and 500 still waiting in all (422 names how many wait); nothing new = added 0, no re-arm. When NOT: a different filter or description is a new source; any other kind is 422.

Contract:

  • MCP tool add_companies_to_data_source, registry package mcp.playtables/data_sources, mount playtables.sources.
  • Operation action, response envelope action.
  • Flags: none.
post/api/data-sources/{sid}/add-companies

Request

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

Path parameters

sidstring required

The find_people source (ds_sc_) whose stored filter walks the companies; any other kind is 422. One that failed plan_failed carries no plan and plans again on its description.

Request body

company_sidsstring[]

Companies to search at (cr_co_…, from the companies grid); duplicates and sids already queued are ignored. Required unless company_filter is given.

company_filterobject

An account filter resolved at the call, instead of (or with) company_sids: the search_companies filter object as is (the silent accounts of this table, never a list of sids). Past 500 matches the call is 422 rule max; matches already queued are skipped.

Response

action success envelope.

successtrue required
operation'action' required
actionstring required

kebab-case verb; matches the route segment.

Changes

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