deathless
08/02/2024, 11:27 PMVapi
08/02/2024, 11:28 PMVapi
08/02/2024, 11:28 PMpython
import vapi
call = vapi.create_phone_call(
to_number='+1234567890',
from_number='+0987654321',
metadata={
'custom_field': 'custom_value',
'customer_id': '12345'
}
)
In this example, custom_field and customer_id are custom metadata fields that you've added to the call. When VAPI sends a request to your server, it will include this metadata, and you can access it from the request to handle it according to your needs.
Remember to replace '+1234567890' and '+0987654321' with the actual phone numbers you wish to use, and the metadata with the actual data you want to associate with the call.
If you need further assistance or have any more questions, feel free to ask!deathless
08/02/2024, 11:39 PMShubham Bajaj
08/03/2024, 3:54 PM