Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Response

Code Block
languagexml
[
   {
      "result":[
         [
            {
               "account_alias":null,
               "account_blocked_alert":false,
               "account_code":"0635510296",
               "account_type":"PREPAID",
               "address_line_1":"",
               "address_line_2":null,
               "associated_tenant":null,
               "billing_email":null,
               "cgrt_username":"voiptology",
               "city":"Lauderhill",
               "client_profile":null,
               "company_name":"",
               "country":"US",
               "created_by":"2",
               "created_date":"2020-02-25T18:52:20.888176Z",
               "currency":151,
               "default_tax":null,
               "did_tier":null,
               "enable_calls":true,
               "enabled":false,
               "frequency":"never",
               "id":"9942794088650228",
               "invoice_email_cc":null,
               "invoice_tax_handling":null,
               "is_provider":false,
               "last_balance_alert_sent":null,
               "last_daily_spend_alert_sent":null,
               "last_invoice_date":null,
               "low_balance_notification":null,
               "main_email":"8264851327.",
               "max_channels":5,
               "max_connection_fee":null,
               "max_cps":2,
               "max_daily_spend":null,
               "max_per_minute_rate":null,
               "name":"Bechor Bechor",
               "noc_email":null,
               "notify_when_dids_are_added":false,
               "orig_credit_limit":null,
               "play_audio_messages":false,
               "postcode_zip":"33319",
               "rates_email":null,
               "send_verification_email":true,
               "send_welcome_email":false,
               "show_balance":true,
               "state_province":"FL",
               "tax_id":null,
               "telephone_number":"9542327873",
               "tenant":"sbc.mydomain.com",
               "user":"golang_user",
               "verified_for_payments":true
            },
			.
			.
            
         ]
      ]
   },
   "Status : 200 OK"
]

...