GET
/
v0
/
platform
/
instances
curl --request GET \
  --url https://api.sandbox.teal.dev/v0/platform/instances \
  --header 'Authorization: Bearer <token>'
{
  "next_page_token": "ikal0NEVfMhF8dJf4yQ6KQZmGD",
  "prev_page_token": "vuA7JeKI5c6FLnPt5JfRcZcJxW",
  "records": [
    {
      "id": "RKtPbubK5NcbBsUmU1ktSP",
      "entries_start": "2024-01-01T00:00:00Z",
      "name": "ACME Goods Inc",
      "subscription": "tier3",
      "accounting_package": "platformgl",
      "parent_id": "Kv7sp6Y1gAH2vfNxAWemRy",
      "child_ids": "['A5SswbYm7eZM2ec5q7Hm2t']",
      "parent": "<any>",
      "children": [
        {}
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

accounting_package
enum<string> | null

Only return Instances using a specific accounting_package, either platform_gl or quickbooks.

Available options:
platformgl,
quickbooks
name
string | null

Only return Instances containing a specific string in their name.

expand
enum<string>[] | null

Comma-separated list of Instance expand paths.

Available options:
parent,
children
sort
enum<string> | null

Sort results

Available options:
name,
-name
limit
integer | null
default:
50

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

Required range: 1 <= x < 101
page_token
string | null

Response

200
application/json
Successful Response
next_page_token
string | null
required

The token to use to request the next page

Example:

"ikal0NEVfMhF8dJf4yQ6KQZmGD"

prev_page_token
string | null
required

The token to use to request the previous page

Example:

"vuA7JeKI5c6FLnPt5JfRcZcJxW"

records
object[]
required

List of instances