Skip to main content
Choose a method from API Operations in the sidebar, then review its description, available request and response schemas, authentication requirements, validation rules, costs, and side effects. Consult the canonical OpenAPI document to resolve schema references; an unspecified output schema does not define an empty result. Every operation uses POST with a JSON object request body:
Send your user-scoped key for the selected team in the X-API-Key header. Each operation page shows the exact <tool_name> and supported input.
Use gateway.firsttouch.ai as the HTTP host and keep the complete /api/public/tools/<tool_name> path. The documentation applies a server URL overlay so generated examples use this host. The canonical source currently omits servers, so set the host explicitly when generating a client from that source. The quickstart includes complete requests.
Endpoint Markdown provides operation guidance without a regenerated schema fragment. Fetch the canonical OpenAPI document for complete input/output contracts, resolvable internal references, and x-mcp-annotations. Select the operation by its exact path; do not infer its input or output fields from the page title or prose alone.

OpenAPI document

Download the live OpenAPI 3.1 contract for code generation and automated tooling.

Open ReDoc reference

Browse the same operations in ReDoc.

Cancel A Contact Waiting To Start A Flow

add_manual_flow_enrollment returns a candidateId when the contact is added to Awaiting (outcome=awaiting). Save this ID to identify the waiting entry. To explicitly add a contact without starting the flow, set enrollmentMode=manual. An Awaiting candidate is not yet an enrollment queue item: use candidateId, not queueItemId or enrollmentId. For existing waiting entries, call get_flow_workspace and read awaiting.items[].candidate_id. To cancel selected waiting entries, call cancel_awaiting_flow_items:
Pass the saved candidateId values in itemIds; at least one is required. Read canceledCount in the response to see how many waiting entries were canceled. This operation requires the admin team role or global admin access. Cancellation removes the selected entries from Awaiting without deleting or globally disqualifying the contacts. It does not cancel active enrollment queue items; use cancel_flow_enrollments for those. If an entry has already left Awaiting, inspect its current state rather than assuming it was canceled. This workflow is for normal Flow Plans, not the shared MCP Dynamic Actions flow plan.

Start With These Guides