cURL
curl --request GET \ --url https://api.sandbox.teal.dev/v0/tags/rules \ --header 'Authorization: Bearer <token>' \ --header 'teal-instance-id: <teal-instance-id>'
{ "next_page_token": "ikal0NEVfMhF8dJf4yQ6KQZmGD", "prev_page_token": "vuA7JeKI5c6FLnPt5JfRcZcJxW", "records": [ { "expression": "t.description == 'SHELL GAS'", "id": "yB2xokXpQb5S1NgyWsNCwG", "name": "Tag gas expense", "priority": 10, "tag_id": "NCB2xo5S1yQbNgyWskXpwG" } ] }
Lists all tag rules.
The access token received from the authorization server in the OAuth 2.0 flow.
The teal instance ID
The number of records to return. Max limit is 100.
1 <= x < 101
Successful Response
The response is of type object.
object