curl https://api.tracklysms.com/api/v2/accounts/children \
-H "X-Api-Key: trk_your_parent_key"
import requests
resp = requests.get(
"https://api.tracklysms.com/api/v2/accounts/children",
headers={"X-Api-Key": "trk_your_parent_key"},
)
for child in resp.json()["children"]:
print(child["accountId"], child["name"], child["status"])
{
"children": [
{
"accountId": 1042,
"name": "Acme West",
"status": "active",
"plan": "paid",
"externalIds": { "partnerId": "p_1", "businessId": "b_9", "locationId": "loc_west" },
"billedByParent": true,
"createdAt": "2026-07-26T14:03:11.123456"
}
]
}
Partner Accounts (v2)
List Child Accounts
List every child account under your parent.
GET
/
v2
/
accounts
/
children
curl https://api.tracklysms.com/api/v2/accounts/children \
-H "X-Api-Key: trk_your_parent_key"
import requests
resp = requests.get(
"https://api.tracklysms.com/api/v2/accounts/children",
headers={"X-Api-Key": "trk_your_parent_key"},
)
for child in resp.json()["children"]:
print(child["accountId"], child["name"], child["status"])
{
"children": [
{
"accountId": 1042,
"name": "Acme West",
"status": "active",
"plan": "paid",
"externalIds": { "partnerId": "p_1", "businessId": "b_9", "locationId": "loc_west" },
"billedByParent": true,
"createdAt": "2026-07-26T14:03:11.123456"
}
]
}
Returns all children of the calling parent account. Requires a parent key with
Also
accounts.read (or accounts.write).
Response Fields
array
Array of child objects — each with
accountId, name, status, plan, externalIds, billedByParent, and createdAt (see Create Child).Examples
curl https://api.tracklysms.com/api/v2/accounts/children \
-H "X-Api-Key: trk_your_parent_key"
import requests
resp = requests.get(
"https://api.tracklysms.com/api/v2/accounts/children",
headers={"X-Api-Key": "trk_your_parent_key"},
)
for child in resp.json()["children"]:
print(child["accountId"], child["name"], child["status"])
{
"children": [
{
"accountId": 1042,
"name": "Acme West",
"status": "active",
"plan": "paid",
"externalIds": { "partnerId": "p_1", "businessId": "b_9", "locationId": "loc_west" },
"billedByParent": true,
"createdAt": "2026-07-26T14:03:11.123456"
}
]
}
Error Codes
| HTTP Status | Error Code | Description |
|---|---|---|
| 403 | not_a_parent_account | The calling key belongs to a child account. |
| 403 | insufficient_scope | The key lacks the accounts.read scope. |
401 invalid_credentials, 403 account_suspended.