This page documents the canonical HTTP contract for this endpoint.
The endpoint requires an authenticated user, and developer API keys require sequences:read under the current API authorization resolver. The route resolves custom variables against the caller's organization.
The example is abbreviated to representative variables; the live response returns all enabled standard, custom, and source-table entries. Use only keys in allowedVariableKeys for templates. Structured research-table columns are listed separately and blocked for bare scalar template interpolation; project or split them into scalar columns first. A source table is optional for standard lead/company/user variables. The source of truth and authoring rules are documented by the canonical sequences.variable_catalog operation.
Query parameters
sequenceId· optionalstring
Sequence whose linked source table can be used when sourceTableId is omitted.
sourceTableId· optionalstring
Optional source table for research columns; must agree with the selected sequence source table. The current handler returns HTTP 500 for a conflicting table.
includeCustomFields· optionalboolean
Include organization-defined CRM variables; default true.
includeResearchFields· optionalboolean
Include source-table scalar and structured research variables; default true.
includeRouteSuggestions· optionalboolean
Include route candidate suggestions when source-table context exists; default true.
routeSampleLimit· optionalinteger
Route suggestion sample size, 1–250; default 100.
| Name | Type | Description |
|---|---|---|
| sequenceId | string | Sequence whose linked source table can be used when sourceTableId is omitted. |
| sourceTableId | string | Optional source table for research columns; must agree with the selected sequence source table. The current handler returns HTTP 500 for a conflicting table. |
| includeCustomFields | boolean | Include organization-defined CRM variables; default true. |
| includeResearchFields | boolean | Include source-table scalar and structured research variables; default true. |
| includeRouteSuggestions | boolean | Include route candidate suggestions when source-table context exists; default true. |
| routeSampleLimit | integer | Route suggestion sample size, 1–250; default 100. |
Errors
| Status | Meaning |
|---|---|
| 401 | Authentication required or authenticated user has no organization context. |
| 403 | Developer API key lacks sequences:read. |
| 404 | Sequence or source table is not available to the organization. |
| 422 | routeSampleLimit must be between 1 and 250. |
| 500 | Current limitation: conflicting sequence and explicit source-table context is not translated into a client-error response. |
