curl "https://api.telzino.com/v1/accounts/account-123/resellers" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const accountId = 'account-123';
const response = await fetch(
`https://api.telzino.com/v1/accounts/${accountId}/resellers`,
{ headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN' } }
);
const resellers = await response.json();
import requests
account_id = 'account-123'
response = requests.get(
f'https://api.telzino.com/v1/accounts/{account_id}/resellers',
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
)
resellers = response.json()
{
"data": [
{
"id": "reseller-123",
"account_id": "account-123",
"name": "Test Reseller",
"external_id": "external-reseller-123",
"created_at": "2024-01-15T10:30:00Z",
"organization_count": 14,
"netsapiens_platforms": [
{
"id": "platform-abc",
"name": "Platform for Example Telecom",
"platform_type": "netsapiens"
}
]
},
{
"id": "reseller-456",
"account_id": "account-123",
"name": "Test Reseller",
"external_id": "external-reseller-123",
"created_at": "2024-03-02T09:15:00Z",
"organization_count": 1,
"netsapiens_platforms": [
{
"id": "platform-xyz",
"name": "Platform for Sandbox",
"platform_type": "netsapiens"
}
]
},
{
"id": "reseller-789",
"account_id": "account-123",
"name": null,
"external_id": "external-reseller-123",
"created_at": "2024-03-02T09:15:41Z",
"organization_count": 0,
"netsapiens_platforms": []
}
]
}
{
"error": "server_error",
"message": "Internal server error"
}
Resellers
List Resellers
Returns a list of resellers for the specified account
GET
/
v1
/
accounts
/
{accountId}
/
resellers
curl "https://api.telzino.com/v1/accounts/account-123/resellers" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const accountId = 'account-123';
const response = await fetch(
`https://api.telzino.com/v1/accounts/${accountId}/resellers`,
{ headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN' } }
);
const resellers = await response.json();
import requests
account_id = 'account-123'
response = requests.get(
f'https://api.telzino.com/v1/accounts/{account_id}/resellers',
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
)
resellers = response.json()
{
"data": [
{
"id": "reseller-123",
"account_id": "account-123",
"name": "Test Reseller",
"external_id": "external-reseller-123",
"created_at": "2024-01-15T10:30:00Z",
"organization_count": 14,
"netsapiens_platforms": [
{
"id": "platform-abc",
"name": "Platform for Example Telecom",
"platform_type": "netsapiens"
}
]
},
{
"id": "reseller-456",
"account_id": "account-123",
"name": "Test Reseller",
"external_id": "external-reseller-123",
"created_at": "2024-03-02T09:15:00Z",
"organization_count": 1,
"netsapiens_platforms": [
{
"id": "platform-xyz",
"name": "Platform for Sandbox",
"platform_type": "netsapiens"
}
]
},
{
"id": "reseller-789",
"account_id": "account-123",
"name": null,
"external_id": "external-reseller-123",
"created_at": "2024-03-02T09:15:41Z",
"organization_count": 0,
"netsapiens_platforms": []
}
]
}
{
"error": "server_error",
"message": "Internal server error"
}
Path Parameters
string
required
The account ID to list resellers for
Query Parameters
string
Filter by external ID to find a specific reseller
Response Fields
string
Unique identifier for the reseller. Use this to scope other API calls.
string
The account this reseller belongs to.
string
Display name of the reseller, sourced from your PBX. May be
null for resellers
that have not been accessed since display names were introduced; external_id
is always populated and can be used as a fallback.string
The reseller’s identifier in your PBX. This is a slug rather than a display name.
integer
Number of organizations owned by this reseller record.
string
When the reseller record was created, in ISO 8601 format.
array
The NetSapiens platforms this reseller is linked to, each with
id, name and
platform_type. platform_type identifies the vendor (netsapiens or
skyswitch), not the environment — use id or name to distinguish a production
platform from a sandbox one. An empty array means the record is not linked to
any platform; see below.Selecting one record per reseller. The same
external_id can appear on more than
one record, for two different reasons. netsapiens_platforms tells them apart.A distinct environment. An account can own resellers on more than one NetSapiens
platform — for example a production platform and a sandbox one — and a territory may
legitimately exist on each. Each record then carries its own non-empty
netsapiens_platforms, and both records are real. Keep the one whose platform you are
integrating with; filtering only by external_id returns both.A legacy artefact. Records created before August 2026 could lose their platform
link, and each subsequent sign-in then created another copy. These copies have an
empty netsapiens_platforms and almost always organization_count: 0. Where a
record with the same external_id does have a platform, the empty ones are redundant
and can be disregarded. Provisioning is idempotent as of August 2026, so no new ones
are created.If more than one record with the same external_id has the same platform, prefer the
one with the higher organization_count — that is the record that owns the tenants.curl "https://api.telzino.com/v1/accounts/account-123/resellers" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const accountId = 'account-123';
const response = await fetch(
`https://api.telzino.com/v1/accounts/${accountId}/resellers`,
{ headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN' } }
);
const resellers = await response.json();
import requests
account_id = 'account-123'
response = requests.get(
f'https://api.telzino.com/v1/accounts/{account_id}/resellers',
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
)
resellers = response.json()
{
"data": [
{
"id": "reseller-123",
"account_id": "account-123",
"name": "Test Reseller",
"external_id": "external-reseller-123",
"created_at": "2024-01-15T10:30:00Z",
"organization_count": 14,
"netsapiens_platforms": [
{
"id": "platform-abc",
"name": "Platform for Example Telecom",
"platform_type": "netsapiens"
}
]
},
{
"id": "reseller-456",
"account_id": "account-123",
"name": "Test Reseller",
"external_id": "external-reseller-123",
"created_at": "2024-03-02T09:15:00Z",
"organization_count": 1,
"netsapiens_platforms": [
{
"id": "platform-xyz",
"name": "Platform for Sandbox",
"platform_type": "netsapiens"
}
]
},
{
"id": "reseller-789",
"account_id": "account-123",
"name": null,
"external_id": "external-reseller-123",
"created_at": "2024-03-02T09:15:41Z",
"organization_count": 0,
"netsapiens_platforms": []
}
]
}
{
"error": "server_error",
"message": "Internal server error"
}
