Parameters

Most Taffrail API endpoints accept request parameters. Send them as query parameters on a GET request or as a JSON body on a POST request.

Query parameters

On a GET request, query parameters control what the response includes. They are almost always optional.

Body parameters

Body parameters behave identically to query parameters — only the transport differs. See HTTP request methods.

User inputs and Variables

A Variable is a named parameter that powers a piece of advice. Variables can be passed in as input or produced by the Rules Engine from a formula, rule, or calculation.

Any request can include Variable name/value pairs as parameters:

/api/advice/{adviceSetId}?Tax_Year=2026

See Variables for the full reference.

Variable Dictionary

GET /api/dictionary returns every Variable available to your account. Each entry includes reservedName, dataType, validOptions, isClosedSet, and displayFormat.

Use this endpoint to discover which Variables a given integration can pass. Input parameters are not arbitrary — they must match Variables defined in your account. Pass a ruleSetId query parameter to scope the result to a single rule.

See the Variable Dictionary API Reference for the full schema.

Parameter reference

ParameterTypeRequiredDescription
adviceSetIdStringYesThe Advice Set identifier. Passed as a path parameter.
filterStringNoTrim the variables[] array. See Filtering Variables in the response.
fields[TYPE]StringNoTrim properties off each entry per type. See Sparse Fieldsets.
{VariableName}VariesNoAny Variable name/value pair. Look up valid names via the Variable Dictionary endpoint.

Sparse fieldsets

The API supports Sparse Fieldsets for trimming response payloads.