def route_call(call_sid, route_url): client = Client(ACCOUNT_SID, AUTH_TOKEN) client.api.calls.route(call_sid, route_url)