curl -X POST "https://api.contactship.ai/v1/calls/single-phone-call" \
-H "x-api-key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"from_number": "+12025551234",
"to_number": "+14155552678",
"full_name": "Jane Smith",
"agent_id": "a1b2c3d4-e5f6-4890-abcd-ef1234567890",
"email": "jane.smith@example.com",
"country": "United States",
"additional_data": [
{ "key": "plan", "value": "premium" },
{ "key": "account_balance", "value": "250.00" }
]
}'
curl -X POST "https://api.contactship.ai/v1/calls/single-phone-call" \
-H "x-api-key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"from_number": "+12025551234",
"to_number": "+14155552678",
"full_name": "Jane Smith",
"agent_id": "a1b2c3d4-e5f6-4890-abcd-ef1234567890",
"schedule": {
"scheduled_call_time": "2026-06-15 14:30:00",
"timezone": "America/New_York"
}
}'
const response = await fetch(
'https://api.contactship.ai/v1/calls/single-phone-call',
{
method: 'POST',
headers: {
'x-api-key': 'your-api-key',
'Content-Type': 'application/json',
},
body: JSON.stringify({
from_number: '+12025551234',
to_number: '+14155552678',
full_name: 'Jane Smith',
agent_id: 'a1b2c3d4-e5f6-4890-abcd-ef1234567890',
email: 'jane.smith@example.com',
country: 'United States',
additional_data: [
{ key: 'plan', value: 'premium' },
],
}),
}
);
const { data: call } = await response.json();
console.log(`Call created: ${call.call_id}`);
import requests
response = requests.post(
'https://api.contactship.ai/v1/calls/single-phone-call',
headers={'x-api-key': 'your-api-key'},
json={
'from_number': '+12025551234',
'to_number': '+14155552678',
'full_name': 'Jane Smith',
'agent_id': 'a1b2c3d4-e5f6-4890-abcd-ef1234567890',
'email': 'jane.smith@example.com',
'country': 'United States',
'additional_data': [
{'key': 'plan', 'value': 'premium'},
],
},
)
call = response.json()["data"]
print(f"Call created: {call['call_id']}")
{
"statusCode": 201,
"data": {
"call_id": "call-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"agent_id": "a1b2c3d4-e5f6-4890-abcd-ef1234567890",
"contact_id": null,
"created_at": "2026-04-06T15:00:00Z"
}
}
Voz
Make AI Phone Call
Initiate an outbound AI phone call using raw phone numbers
POST
/
v1
/
calls
/
single-phone-call
curl -X POST "https://api.contactship.ai/v1/calls/single-phone-call" \
-H "x-api-key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"from_number": "+12025551234",
"to_number": "+14155552678",
"full_name": "Jane Smith",
"agent_id": "a1b2c3d4-e5f6-4890-abcd-ef1234567890",
"email": "jane.smith@example.com",
"country": "United States",
"additional_data": [
{ "key": "plan", "value": "premium" },
{ "key": "account_balance", "value": "250.00" }
]
}'
curl -X POST "https://api.contactship.ai/v1/calls/single-phone-call" \
-H "x-api-key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"from_number": "+12025551234",
"to_number": "+14155552678",
"full_name": "Jane Smith",
"agent_id": "a1b2c3d4-e5f6-4890-abcd-ef1234567890",
"schedule": {
"scheduled_call_time": "2026-06-15 14:30:00",
"timezone": "America/New_York"
}
}'
const response = await fetch(
'https://api.contactship.ai/v1/calls/single-phone-call',
{
method: 'POST',
headers: {
'x-api-key': 'your-api-key',
'Content-Type': 'application/json',
},
body: JSON.stringify({
from_number: '+12025551234',
to_number: '+14155552678',
full_name: 'Jane Smith',
agent_id: 'a1b2c3d4-e5f6-4890-abcd-ef1234567890',
email: 'jane.smith@example.com',
country: 'United States',
additional_data: [
{ key: 'plan', value: 'premium' },
],
}),
}
);
const { data: call } = await response.json();
console.log(`Call created: ${call.call_id}`);
import requests
response = requests.post(
'https://api.contactship.ai/v1/calls/single-phone-call',
headers={'x-api-key': 'your-api-key'},
json={
'from_number': '+12025551234',
'to_number': '+14155552678',
'full_name': 'Jane Smith',
'agent_id': 'a1b2c3d4-e5f6-4890-abcd-ef1234567890',
'email': 'jane.smith@example.com',
'country': 'United States',
'additional_data': [
{'key': 'plan', 'value': 'premium'},
],
},
)
call = response.json()["data"]
print(f"Call created: {call['call_id']}")
{
"statusCode": 201,
"data": {
"call_id": "call-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"agent_id": "a1b2c3d4-e5f6-4890-abcd-ef1234567890",
"contact_id": null,
"created_at": "2026-04-06T15:00:00Z"
}
}
Initiates an outbound AI phone call by providing the destination phone number and contact details directly. Use this endpoint when you want to call any phone number without first creating a contact record.
For calling an existing contact in your system, see Call a Contact instead.
Headers
Body
The phone number to call from, in E.164 format (e.g.
+12025551234). Must be a number registered in your organization. Use List Phone Numbers to get available numbers.Full name of the person being called. The AI agent uses this to personalize the conversation.
UUID of the AI agent to use for the call. Use List Agents to get available agents.
Delay in minutes before placing the call. Useful for scheduling calls slightly in the future. Defaults to
0 (immediate).URL to receive call event webhooks (call started, ended, transcript ready, etc.) for this specific call.
Response
The response is{ "statusCode": number, "data": object }. The fields below describe data.
Error Codes
400 Bad Request— Invalid or missing required fields401 Unauthorized— Invalid or missing API key500 Internal Server Error— Server-side error
Code Examples
curl -X POST "https://api.contactship.ai/v1/calls/single-phone-call" \
-H "x-api-key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"from_number": "+12025551234",
"to_number": "+14155552678",
"full_name": "Jane Smith",
"agent_id": "a1b2c3d4-e5f6-4890-abcd-ef1234567890",
"email": "jane.smith@example.com",
"country": "United States",
"additional_data": [
{ "key": "plan", "value": "premium" },
{ "key": "account_balance", "value": "250.00" }
]
}'
curl -X POST "https://api.contactship.ai/v1/calls/single-phone-call" \
-H "x-api-key: your-api-key" \
-H "Content-Type: application/json" \
-d '{
"from_number": "+12025551234",
"to_number": "+14155552678",
"full_name": "Jane Smith",
"agent_id": "a1b2c3d4-e5f6-4890-abcd-ef1234567890",
"schedule": {
"scheduled_call_time": "2026-06-15 14:30:00",
"timezone": "America/New_York"
}
}'
const response = await fetch(
'https://api.contactship.ai/v1/calls/single-phone-call',
{
method: 'POST',
headers: {
'x-api-key': 'your-api-key',
'Content-Type': 'application/json',
},
body: JSON.stringify({
from_number: '+12025551234',
to_number: '+14155552678',
full_name: 'Jane Smith',
agent_id: 'a1b2c3d4-e5f6-4890-abcd-ef1234567890',
email: 'jane.smith@example.com',
country: 'United States',
additional_data: [
{ key: 'plan', value: 'premium' },
],
}),
}
);
const { data: call } = await response.json();
console.log(`Call created: ${call.call_id}`);
import requests
response = requests.post(
'https://api.contactship.ai/v1/calls/single-phone-call',
headers={'x-api-key': 'your-api-key'},
json={
'from_number': '+12025551234',
'to_number': '+14155552678',
'full_name': 'Jane Smith',
'agent_id': 'a1b2c3d4-e5f6-4890-abcd-ef1234567890',
'email': 'jane.smith@example.com',
'country': 'United States',
'additional_data': [
{'key': 'plan', 'value': 'premium'},
],
},
)
call = response.json()["data"]
print(f"Call created: {call['call_id']}")
{
"statusCode": 201,
"data": {
"call_id": "call-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"agent_id": "a1b2c3d4-e5f6-4890-abcd-ef1234567890",
"contact_id": null,
"created_at": "2026-04-06T15:00:00Z"
}
}
