Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Description 

Get a list of a Tenant's clients

Parameters

{"tenant":"sbc.mydomain.com"}

Request

curl -X POST \-H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \
-H "Content-Type: application/json" \
-d '{"tenant":"sbc.mydomain.com"}' \
-k https://your.domain.com/api/users/get_clients

Response

[
{"id": 4,
"user": 7,
"account_code": "3793551638",
"name": "Voxbone",
"cgrt_username": "voxbone",
"company_name": "Voxbone ",
"tenant": 1,
"address_line_1": "",
"address_line_2": null,
"city": "",
"state_province": null,
"postcode_zip": "",
"country": "",
"telephone_number": "",
"timezone": null,
"tax_id": "",
"main_email": "support@voxbone.com",
"billing_email": "",
"noc_email": "",
"rates_email": "",
"enabled": true,
"send_welcome_email": true,
"currency": null,
"account_type": "POSTPAID",
"orig_credit_limit": "0.0000",
"origination": "allow_all",
"orig_max_channels": null,
"orig_max_cps": null,
"low_balance_notification": null,
"account_blocked_alert": false,
"termination": "enabled",
"term_max_channels": null,
"max_per_minute_rate": null,
"max_daily_spend": null,
"created_date": null,
"last_invoice_date": null
},
.
.
]



  • No labels