Tags
Retrieve a tag rule
Retrieves an existing tag rule.
GET
/
v0
/
tags
/
rules
/
{tag_rule_id}
Authorizations
Authorization
string
headerrequiredThe access token received from the authorization server in the OAuth 2.0 flow.
Headers
teal-instance-id
string
requiredThe teal instance ID
Path Parameters
tag_rule_id
string
requiredThe tag ID
Response
200 - application/json
id
string
requiredThe unique ID of the object.
name
string
requiredAn arbitrary string, useful for identifying the tag rule.
tag_id
string
requiredIf the rule finds a match, the ID of the tag that will be assigned.
expression
string
requiredA comparative expression to match on
Transactions. Use t
to access the Transaction object. Must
evaluate to a boolean. Accepts regex evaluations.
Read more: Categorization guide
priority
integer
requiredThe priority of the rule.