cURL
curl --request GET \ --url https://api.sandbox.teal.dev/v0/tags/rules/{tag_rule_id} \ --header 'Authorization: Bearer <token>' \ --header 'teal-instance-id: <teal-instance-id>'
{ "id": "yB2xokXpQb5S1NgyWsNCwG", "name": "Tag gas expense", "tag_id": "NCB2xo5S1yQbNgyWskXpwG", "expression": "t.description == 'SHELL GAS'", "priority": 10 }
Retrieves an existing tag rule.
The access token received from the authorization server in the OAuth 2.0 flow.
The teal instance ID
The tag ID
Successful Response
The response is of type object.
object