data = { "assistantId": str(client.assista...
# french-speaking
f
data = { "assistantId": str(client.assistant.id), "assistantOverrides": { "variableValues": {"name": contact.first_name} | kwargs, }, "customer": {"name": contact.first_name, "number": contact.phone_number}, "phoneNumber": { "twilioAccountSid": client.phone.account_sid, "twilioAuthToken": client.phone.auth_token, "twilioPhoneNumber": client.phone.number, }, "type": "outboundPhoneCall", } headers = { "Authorization": client.account_manager.vapi_api_key, } response = requests.post("https://api.vapi.ai/call", headers=headers, json=data) Je ne sais pas si ca peut t'aider mais a l'epoque on utilisait ce code pour inserer des variables
2 Views