import requests
url = "https://{yourserver}/webhooks/call"
querystring = {
"call_sid": "d2515c3b-b79a-41a2-971a-445e769c823c",
"application_sid": "72c5c38f-9bba-40ce-aa83-aaa6be55e1b5",
"account_sid": "bad98250-b34d-459d-9e90-f97dfb9bc519",
"direction": "inbound",
"from": "+12125551212",
"to": "+14155551234",
"caller_name": "John Doe",
"call_status": "trying",
"sip_status": "100"
}
headers = {"Authorization": "Basic <username>:<password>"}
response = requests.get(url, headers=headers, params=querystring)
print(response.json())