{"__v":7,"_id":"544a9f7c4688c708001866a2","category":{"__v":0,"_id":"54538e5608d1800800473d9a","pages":["542ef4fd1161420800d8370c","544a9f7c4688c708001866a2","544ab18abb58010800710b86","543acbefe14e09080000a0ac","544c5f7236475e0e005014c7","543bd73c5e7c871600f190da","543bf3f25e7c871600f19170","544577290a8dbc1a00ff6a23"],"project":"542dbe0ecb19820800c1f4d7","version":"542ecc0a6b0eb6080066ca77","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-31T13:27:50.899Z","from_sync":false,"order":3,"slug":"calls","title":"Calls"},"editedParams":true,"editedParams2":true,"is_link":false,"parentDoc":null,"project":"542dbe0ecb19820800c1f4d7","user":"542dc547cb19820800c1f4f1","version":{"__v":29,"_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"],"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-24T18:50:36.548Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"basic_auth":true,"examples":{"codes":[{"code":"curl -X GET 'https://api.zang.io/v2/Accounts/{AccountSid}/Calls/{CallSid}.json' -u '{AccountSid}:{AuthToken}'","language":"curl"}]},"method":"get","results":{"codes":[{"code":"<Response>\n\t<Call>\n\t\t<DateUpdated>Wed, 13 Jul 2016 13:59:50 -0000</DateUpdated>\n\t\t<ParentCallSid></ParentCallSid>\n\t\t<Duration>8</Duration>\n\t\t<From>+15555555555</From>\n\t\t<To>+19999999999</To>\n\t\t<CallerIdBlocked>false</CallerIdBlocked>\n\t\t<AnsweredBy>zang</AnsweredBy>\n\t\t<Sid>{CallSid}</Sid>\n\t\t<RecordingsCount></RecordingsCount>\n\t\t<Price>0.01</Price>\n\t\t<ApiVersion>v2</ApiVersion>\n\t\t<Status>completed</Status>\n\t\t<Direction>inbound</Direction>\n\t\t<StartTime>Wed, 13 Jul 2016 13:59:42 -0000</StartTime>\n\t\t<DateCreated>Wed, 13 Jul 2016 13:59:42 -0000</DateCreated>\n\t\t<SubresourceUris>\n\t\t  <Notifications>/v2/Accounts/{AccountSid}/Calls/{CallSid}/Notifications</Notifications>\n\t\t  <Recordings>/v2/Accounts/{AccountSid}/Calls/{CallSid}/Recordings</Recordings>\n\t\t</SubresourceUris>\n\t\t<ForwardedFrom></ForwardedFrom>\n\t\t<Uri>/v2/Accounts/{AccountSid}/Calls/{CallSid}</Uri>\n\t\t<AccountSid>{AccountSid}</AccountSid>\n\t\t<DurationBilled>60</DurationBilled>\n\t\t<EndTime>Wed, 13 Jul 2016 13:59:50 -0000</EndTime>\n\t\t<PhoneNumberSid></PhoneNumberSid>\n\t</Call>\n</Response>","language":"xml","status":null,"name":"XML"},{"language":"json","code":"{\n\t\"date_updated\": \"Wed, 13 Jul 2016 15:15:08 -0000\",\n\t\"parent_call_sid\": \"\",\n\t\"duration\": 3,\n\t\"from\": \"+15555555555\",\n\t\"to\": \"+19999999999\",\n\t\"caller_id_blocked\": \"false\",\n\t\"answered_by\": \"zang\",\n\t\"sid\": \"{CallSid}\",\n\t\"recordings_count\": \"\",\n\t\"price\": \"0.01\",\n\t\"api_version\": \"v2\",\n\t\"status\": \"completed\",\n\t\"direction\": \"inbound\",\n\t\"start_time\": \"Wed, 13 Jul 2016 15:15:05 -0000\",\n\t\"date_created\": \"Wed, 13 Jul 2016 15:15:05 -0000\",\n\t\"subresource_uris\": {\n\t\t\"notifications\": \"/v2/Accounts/{AccountSid}/Calls/{CallSid}/Notifications\",\n\t\t\"recordings\": \"/v2/Accounts/{AccountSid}/Calls/{CallSid}/Recordings\"\n\t},\n\t\"forwarded_from\": \"\",\n\t\"uri\": \"/v2/Accounts/{AccountSid}/Calls/{CallSid}\",\n\t\"account_sid\": \"{AccountSid}\",\n\t\"duration_billed\": 60,\n\t\"end_time\": \"Wed, 13 Jul 2016 15:15:08 -0000\",\n\t\"phone_number_sid\": \"\"\n}"},{"code":"date_updated,parent_call_sid,duration,from,to,caller_id_blocked,answered_by,sid,recordings_count,price,api_version,status,direction,start_time,date_created,subresource_uris,forwarded_from,uri,account_sid,duration_billed,end_time,phone_number_sid \nWed, 13 Jul 2016 15:15:08 -0000,,3,+15555555555,+19999999999,false,telapi,{CallSid},,0.01,v2,completed,inbound,Wed, 13 Jul 2016 15:15:05 -0000,Wed, 13 Jul 2016 15:15:05 -0000,{'notifications': u'/v2/Accounts/{AccountSid}/Calls/{CallSid}/Notifications', 'recordings': u'/v2/Accounts/{AccountSid}/Calls/{CallSid}/Recordings'},,/v2/Accounts/{AccountSid}/Calls/{CallSid},{AccountSid},60,Wed, 13 Jul 2016 15:15:08 -0000","language":"text","name":"CSV"}]},"settings":"","try":true,"auth":"required","params":[{"_id":"578660269832f20e00dd5dcb","ref":"","in":"path","required":true,"desc":"This sioijrfoif[prvjjn  v jvdivojerf ewrrfo poer","default":"","type":"string","name":"CallSid"}],"url":"/v2/Accounts/:AccountSid/Calls/:CallSid.json"},"isReference":false,"order":1,"body":"[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Parameter\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"sid\",\n    \"1-0\": \"date_created\",\n    \"2-0\": \"date_updated\",\n    \"3-0\": \"parent_call_sid\",\n    \"4-0\": \"account_sid\",\n    \"5-0\": \"to\",\n    \"6-0\": \"from\",\n    \"7-0\": \"phone_number_sid\",\n    \"8-0\": \"status\",\n    \"9-0\": \"start_time\",\n    \"10-0\": \"end_time\",\n    \"11-0\": \"duration\",\n    \"12-0\": \"price\",\n    \"13-0\": \"direction\",\n    \"14-0\": \"answered_by\",\n    \"15-0\": \"api_version\",\n    \"16-0\": \"forwarded_from\",\n    \"17-0\": \"recordings_count\",\n    \"18-0\": \"caller_id_blocked\",\n    \"19-0\": \"uri\",\n    \"20-0\": \"subresource_uris\",\n    \"0-1\": \"An alphanumeric string identifying this resource.\",\n    \"1-1\": \"The date the call resource was created.\",\n    \"2-1\": \"The date the call resource was last updated.\",\n    \"3-1\": \"If the call was created during a different call using InboundXML, this is the sid of that initiating call.\",\n    \"4-1\": \"An alphanumeric string identifying the account this call occurred through.\",\n    \"5-1\": \"The number that was called.\",\n    \"6-1\": \"The number that initiated the call.\",\n    \"7-1\": \"The sid of the TelAPI number calling, or being called. If no TelAPI phone number is involved in the call, this property is empty.\",\n    \"8-1\": \"The status of the call: queued, ringing, in-progress, completed, failed, busy, no-answer.\",\n    \"9-1\": \"The date and time the call started.\",\n    \"10-1\": \"The date and time the call ended.\",\n    \"11-1\": \"The length of the call in seconds.\",\n    \"12-1\": \"The cost of the call, if available.\",\n    \"13-1\": \"The direction of the call from the perspective of TelAPI. \\\"inbound\\\" for calls to TelAPI, \\\"outbound-api\\\" for calls from the TelAPI via REST request, or \\\"outbound-dial\\\" for calls from TelAPI via InboundXML.\",\n    \"14-1\": \"If the initiated call has answering machine detection, this specifies whether the machine answered. Can be \\\"human\\\", \\\"machine\\\" or \\\"tbd\\\" (to be determined).\",\n    \"15-1\": \"The Api Version being used.\",\n    \"16-1\": \"The number that forwarded the call, if any.\",\n    \"17-1\": \"The number of recordings made during this call.\",\n    \"18-1\": \"Specifies whether the caller ID of the inbound phone number was blocked.\",\n    \"19-1\": \"The URL pointing to this resource.\",\n    \"20-1\": \"List of a call's various subresources and their URL paths. Examples of call subresources are notifications, recordings, etc.\"\n  },\n  \"cols\": 2,\n  \"rows\": 21\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Example cURL\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -X GET 'https://api.zang.io/v2/Accounts/{AccountSid}/Calls/{CallSid}.json' -u '{AccountSid}:{AuthToken}'\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"warning\",\n  \"body\": \"If you're using cURL on Windows, be sure to change those single quotes to double quotes!\"\n}\n[/block]","excerpt":"view all information about a call","slug":"view-call","type":"endpoint","title":"View Call"}

getView Call

view all information about a call

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

CallSid:
required
string
This sioijrfoif[prvjjn v jvdivojerf ewrrfo poer

Examples


Result Format


Documentation

[block:parameters] { "data": { "h-0": "Parameter", "h-1": "Description", "0-0": "sid", "1-0": "date_created", "2-0": "date_updated", "3-0": "parent_call_sid", "4-0": "account_sid", "5-0": "to", "6-0": "from", "7-0": "phone_number_sid", "8-0": "status", "9-0": "start_time", "10-0": "end_time", "11-0": "duration", "12-0": "price", "13-0": "direction", "14-0": "answered_by", "15-0": "api_version", "16-0": "forwarded_from", "17-0": "recordings_count", "18-0": "caller_id_blocked", "19-0": "uri", "20-0": "subresource_uris", "0-1": "An alphanumeric string identifying this resource.", "1-1": "The date the call resource was created.", "2-1": "The date the call resource was last updated.", "3-1": "If the call was created during a different call using InboundXML, this is the sid of that initiating call.", "4-1": "An alphanumeric string identifying the account this call occurred through.", "5-1": "The number that was called.", "6-1": "The number that initiated the call.", "7-1": "The sid of the TelAPI number calling, or being called. If no TelAPI phone number is involved in the call, this property is empty.", "8-1": "The status of the call: queued, ringing, in-progress, completed, failed, busy, no-answer.", "9-1": "The date and time the call started.", "10-1": "The date and time the call ended.", "11-1": "The length of the call in seconds.", "12-1": "The cost of the call, if available.", "13-1": "The direction of the call from the perspective of TelAPI. \"inbound\" for calls to TelAPI, \"outbound-api\" for calls from the TelAPI via REST request, or \"outbound-dial\" for calls from TelAPI via InboundXML.", "14-1": "If the initiated call has answering machine detection, this specifies whether the machine answered. Can be \"human\", \"machine\" or \"tbd\" (to be determined).", "15-1": "The Api Version being used.", "16-1": "The number that forwarded the call, if any.", "17-1": "The number of recordings made during this call.", "18-1": "Specifies whether the caller ID of the inbound phone number was blocked.", "19-1": "The URL pointing to this resource.", "20-1": "List of a call's various subresources and their URL paths. Examples of call subresources are notifications, recordings, etc." }, "cols": 2, "rows": 21 } [/block] [block:api-header] { "type": "basic", "title": "Example cURL" } [/block] [block:code] { "codes": [ { "code": "curl -X GET 'https://api.zang.io/v2/Accounts/{AccountSid}/Calls/{CallSid}.json' -u '{AccountSid}:{AuthToken}'", "language": "curl" } ] } [/block] [block:callout] { "type": "warning", "body": "If you're using cURL on Windows, be sure to change those single quotes to double quotes!" } [/block]