Jump to content

API getaccountcodeid

From Wiki 7Kas
Revision as of 22:33, 21 July 2026 by Maintenance script (talk | contribs) (API docs (generated from func=help))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

7Kas VoIP REST API function. Available to: SuperRoot, Operator.

Description

Lists (id, accountcode) pairs of the accounts under the caller. Operators/SuperRoot only.

Call

GET  …/7Kas?func=getaccountcodeid&ukey=YOUR_KEY&…

Requires the ukey parameter.

Parameters

Parameter Type Required Default Meaning
accountcode string No Filter by account code (exact). Omit for all. (max length 20)
limit integer No 100 Max rows (up to 10000).
offset integer No 0 Pagination offset.

Example

https://api.7kas.com:9080/7Kas?func=getaccountcodeid&ukey=OPKEY&limit=100

Response

FillRecords2JSON records: fields [id, accountcode].


Back to API VoIP · ▶ Try it live · Profiles: API profile SuperRoot, API profile Operator