workflows

Test an API call step

Fire ONE api_call step for ONE real person of the team, for real, and return both halves: result.request = the wire request as it went out (method, URL with the variables rendered and the query appended, headers, body; before the connection's auth was injected) and result.status / http_status / response / error_code / error_message = what the target answered. The step is the draft node verbatim (ids optional, nothing saved); {{ai.<key>}} has no record to read and renders empty (or its fallback). A refusing target is status failed in a 200, never an error envelope; the error envelope is reserved for an incomplete node (422, keyed step.<field>) or an unknown person (404). Throttled 10/min. Use it before publish to see exactly what a journey would send.

Contract:

  • MCP tool test_api_call_workflow, registry package mcp.playtables/workflows, mount playtables.workflows.
  • Operation action, response envelope action.
  • Flags: none.
post/api/workflows/test-api-call

Request

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

Request body

people_sidstring required

A person of the team; the templates render against their row.

Response

action success envelope.

successtrue required
operation'action' required
action'test-api-call' required
itemunknown required
metaobject

Changes

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