curl https://api.tracklysms.com/api/v2/accounts/children/1042 \
-H "X-Api-Key: trk_your_parent_key"
{
"child": {
"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": "Child account not found", "code": "child_not_found" }
Partner Accounts (v2)
Get Child Account
Fetch a single child account by ID.
GET
/
v2
/
accounts
/
children
/
{child_id}
curl https://api.tracklysms.com/api/v2/accounts/children/1042 \
-H "X-Api-Key: trk_your_parent_key"
{
"child": {
"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": "Child account not found", "code": "child_not_found" }
Returns one child of the calling parent. Requires a parent key with
accounts.read.
Path Parameters
integer
required
The child account’s
accountId.Response Fields
object
The child object (see Create Child).
Examples
curl https://api.tracklysms.com/api/v2/accounts/children/1042 \
-H "X-Api-Key: trk_your_parent_key"
{
"child": {
"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": "Child account not found", "code": "child_not_found" }
Error Codes
| HTTP Status | Error Code | Description |
|---|---|---|
| 404 | child_not_found | No child with that ID under this parent. |
| 403 | not_a_parent_account | The calling key belongs to a child account. |
| 403 | insufficient_scope | The key lacks the accounts.read scope. |