POST
/
v0
/
platform
/
instances
curl --request POST \
  --url https://api.sandbox.teal.dev/v0/platform/instances \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "coa_template_id": "CNmWM3X6AcvRdEwZKxq4bL",
  "entries_start": "2024-01-01T00:00:00Z",
  "name": "ACME Goods Inc",
  "subscription": "tier3",
  "parent_id": "Kv7sp6Y1gAH2vfNxAWemRy"
}'
{
  "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": {},
  "children": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

expand
enum<string>[] | null

Comma-separated list of Instance expand paths.

Body

application/json

Response

201
application/json

Successful Response

The response is of type object.