{"__v":1,"_id":"544a885df1aefa08006efca0","category":{"__v":2,"_id":"544a7885f1aefa08006efc69","pages":["544a885df1aefa08006efca0","544a9c414688c7080018669b"],"project":"542dbe0ecb19820800c1f4d7","version":"542ecc0a6b0eb6080066ca77","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-24T16:04:21.067Z","from_sync":false,"order":6,"slug":"accounts","title":"Accounts"},"editedParams":true,"editedParams2":true,"is_link":false,"parentDoc":null,"project":"542dbe0ecb19820800c1f4d7","user":"542dc547cb19820800c1f4f1","version":{"__v":31,"_id":"542ecc0a6b0eb6080066ca77","forked_from":"542dbe0fcb19820800c1f4da","project":"542dbe0ecb19820800c1f4d7","createdAt":"2014-10-03T16:17:14.165Z","releaseDate":"2014-10-03T16:17:14.165Z","categories":["542ecc0a6b0eb6080066ca78","542ef44f6b0eb6080066cb24","543bf3e22a30961a00b66eb3","5446952b82bd7e08002768a0","544821ae8d7af31a00dd41ce","544a7885f1aefa08006efc69","544c758e11845f0e001ed8de","544e5565b80812080035be55","544e558dbd51b9080037f8ca","5450b045a66f020800dba73d","5450eb6aa66f020800dba945","5450f39ea66f020800dba989","5450f877a66f020800dba9cf","54510356a66f020800dbaa17","5451274514af501a00b50c99","54513345a66f020800dbab24","54513cc014af501a00b50d24","54515eec14af501a00b50db9","54519b1d14af501a00b50ea9","54519b2aa66f020800dbacb4","54524f9704160008005b1d27","54538d2308d1800800473d95","54538d420c09721000a06a03","54538e5608d1800800473d9a","5453ea9547c30114004fb375","5453eb12b077c31c00067bcb","5453eb27b077c31c00067bcd","5453ed5db077c31c00067bde","548075cbe291c51a00e7e096","5922fa475c48c70f00f21453","59244fd41e32eb190028ad8d"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-10-24T17:11:57.611Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"basic_auth":true,"examples":{"codes":[]},"method":"get","results":{"codes":[{"name":"","code":"{\n    \"sid\": \"AccountSid\",\n    \"friendly_name\": \"foo:::at:::bar.com\",\n    \"status\": \"active\",\n\n    \"account_balance\": \"25.00\",\n\n\n    \"date_created\": \"Tue, 21 Aug 2012 14:27:03 +0000\",\n    \"date_updated\": \"Thu, 1 Nov 2012 19:54:05 +0000\",\n    \"uri\": \"/v2/Accounts/AccountSid.json\",\n    \"max_outbound_limit\" : \"0.400000\",\n    \"type\": \"Full\",\n    \"time_zone\": \"America/New_York\",\n\n    \"subresource_uris\": {\n        \"available_phone_numbers\": \"/v2/Accounts/AccountSid/AvailablePhoneNumbers.json\",\n        \"calls\": \"/v2/Accounts/AccountSid/Calls.json\",\n        \"conferences\": \"/v2/Accounts/AccountSid/Conferences.json\",\n        \"incoming_phone_numbers\": \"/v2/Accounts/AccountSid/IncomingPhoneNumbers.json\",\n        \"notifications\": \"/v2/Accounts/AccountSid/Notifications.json\",\n        \"recordings\": \"/v2/Accounts/AccountSid/Recordings.json\",\n        \"sms_messages\": \"/v2/Accounts/AccountSid/SMS/Messages.json\",\n        \"transcriptions\": \"/v2/Accounts/AccountSid/Transcriptions.json\",\n        \"transactions\": \"/v2/Accounts/AccountSid/Transactions.json\",\n        \"applications\": \"/v2/Accounts/AccountSid/Applications.json\",\n        \"fraud\": \"/v2/Accounts/AccountSid/Fraud.json\",\n        \"cnam\": \"/v2/Accounts/AccountSid/CNAM.json\",\n        \"carrier\": \"/v2/Accounts/AccountSid/Carrier.json\",\n        \"usages\": \"/v2/Accounts/AccountSid/Usages.json\"\n        }\n}        ","language":"json","status":200},{"code":"{\n    \"status\": 404,\n    \"message\": \"The requested resource was not found: /v2/Accounts/bad/bad_response.json\"\n}","language":"json","status":404}]},"settings":"","try":true,"auth":"required","params":[{"_id":"544a885df1aefa08006efca1","ref":"","in":"path","required":true,"desc":"Account SID.","default":"","type":"string","name":"AccountSid"}],"url":"/v2/Accounts/:AccountSid.json"},"isReference":false,"order":0,"body":"# **Response Parameters**\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Parameter\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"sid\",\n    \"1-0\": \"friendly_name\",\n    \"2-0\": \"status\",\n    \"3-0\": \"account_balance\",\n    \"4-0\": \"date_created\",\n    \"5-0\": \"date_updated\",\n    \"6-0\": \"uri\",\n    \"7-0\": \"max_outbound_limit\",\n    \"8-0\": \"type\",\n    \"9-0\": \"time_zone\",\n    \"10-0\": \"subresource_uris\",\n    \"0-1\": \"An alphanumeric string identifying the account.\",\n    \"1-1\": \"By default, the email used to create the account but a custom alias can be set by POSTing a FriendlyName parameter to the /Account/{AccountSid} endpoint.\",\n    \"2-1\": \"This is the status of the TelAPI account being requested. The state of the status can be either active, suspended, or closed.\",\n    \"3-1\": \"The current balance of an account.\",\n    \"4-1\": \"Date of account creation. Dates are returned in UTC format.\",\n    \"5-1\": \"Date of most recent account update. Dates are returned in UTC format.\",\n    \"6-1\": \"The path appended to the base TelAPI URL, https://api.telapi.com, where the resource is located.\",\n    \"7-1\": \"The maximum allowed rate per segment. For example, if the max_outbound_limit was $1.00 then any calls costing more than $1.00 per minute would be restricted.\",\n    \"8-1\": \"The type of account being requested. If the account is not yet funded Type is \\\"trial\\\". Otherwise, Type for upgraded accounts is \\\"full\\\".\",\n    \"9-1\": \"The name of an accounts timezone.\",\n    \"10-1\": \"List of an account’s various subresources and their URI path. Examples of subresources are things like calls that occurred through the account, sms messages, purchased phone numbers, etc.\"\n  },\n  \"cols\": 2,\n  \"rows\": 11\n}\n[/block]\n# **Example cURL**\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -X GET 'https://api.zang.io/v2/Accounts/{AccountSid}.json' -u '{AccountSid}:{AuthToken}'\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]","excerpt":"see all the information associated with your account","slug":"view-account","type":"endpoint","title":"View Account"}

getView Account

see all the information associated with your account

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

AccountSid:
required
string
Account SID.

Result Format


Documentation

# **Response Parameters** [block:parameters] { "data": { "h-0": "Parameter", "h-1": "Description", "0-0": "sid", "1-0": "friendly_name", "2-0": "status", "3-0": "account_balance", "4-0": "date_created", "5-0": "date_updated", "6-0": "uri", "7-0": "max_outbound_limit", "8-0": "type", "9-0": "time_zone", "10-0": "subresource_uris", "0-1": "An alphanumeric string identifying the account.", "1-1": "By default, the email used to create the account but a custom alias can be set by POSTing a FriendlyName parameter to the /Account/{AccountSid} endpoint.", "2-1": "This is the status of the TelAPI account being requested. The state of the status can be either active, suspended, or closed.", "3-1": "The current balance of an account.", "4-1": "Date of account creation. Dates are returned in UTC format.", "5-1": "Date of most recent account update. Dates are returned in UTC format.", "6-1": "The path appended to the base TelAPI URL, https://api.telapi.com, where the resource is located.", "7-1": "The maximum allowed rate per segment. For example, if the max_outbound_limit was $1.00 then any calls costing more than $1.00 per minute would be restricted.", "8-1": "The type of account being requested. If the account is not yet funded Type is \"trial\". Otherwise, Type for upgraded accounts is \"full\".", "9-1": "The name of an accounts timezone.", "10-1": "List of an account’s various subresources and their URI path. Examples of subresources are things like calls that occurred through the account, sms messages, purchased phone numbers, etc." }, "cols": 2, "rows": 11 } [/block] # **Example cURL** [block:code] { "codes": [ { "code": "curl -X GET 'https://api.zang.io/v2/Accounts/{AccountSid}.json' -u '{AccountSid}:{AuthToken}'", "language": "shell" } ] } [/block]