GET
/
v0
/
tags
/
rules
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": "<string>",
  "prev_page_token": "<string>",
  "records": [
    {
      "expression": "t.amount == 100",
      "id": "<string>",
      "name": "<string>",
      "priority": 1,
      "tag_id": "<string>"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

teal-instance-id
string
required

The teal instance ID

Query Parameters

limit
integer | null

The number of records to return. Max limit is 1000.

page_token
string

Response

200 - application/json
next_page_token
string | null
required

The token to use to request the next page

prev_page_token
string | null
required

The token to use to request the previous page

records
object[]
required

List of categorization rules