NexaDev
10/01/2024, 3:54 PMVapi
10/01/2024, 3:56 PMbash
curl --request POST \
--url https://api.vapi.ai/your-endpoint \
--header 'Content-Type: application/json' \
--data '{
"phone_number": "your_phone_number_here"
}'
Make sure to replace https://api.vapi.ai/your-endpoint with the actual endpoint URL you are targeting, and your_phone_number_here with the actual phone number you want to use for the fuzzy match.
If you're using Postman, you would:
1. Set the HTTP method to POST.
2. Enter the request URL.
3. Go to the Headers section and add a key Content-Type with the value application/json.
4. Go to the Body section, select the raw option, and enter the JSON data.
5. Click the Send button to make the request.
If you need to do this programmatically in Python, you can use the requests library like so:
python
import requests
headers = {
'Content-Type': 'application/json',
}
data = {
'phone_number': 'your_phone_number_here'
}
response = requests.post('https://api.vapi.ai/your-endpoint', headers=headers, json=data)
print(response.text)
Again, replace the placeholder URL and phone number with the actual values you're working with. If you need further assistance or have any more questions, feel free to ask!Vapi
10/01/2024, 3:56 PMNexaDev
10/01/2024, 4:04 PMShubham Bajaj
10/03/2024, 1:33 PMShubham Bajaj
10/03/2024, 1:38 PM