Creates a new call in the store
curl --request POST \
--url https://api.callab.ai/v1/calls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ai_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"call_provider": "<string>",
"call_from": "<string>",
"call_to": "<string>",
"call_direction": "<string>",
"is_test": false,
"metadata": {},
"agent_dynamic_variables": {},
"notes": "<string>",
"workspace_id": "<string>"
}'
{
"status": "<string>",
"message": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"call_sid": "<string>",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ai_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"call_provider": "<string>",
"call_from": "<string>",
"call_to": "<string>",
"call_duration": 123,
"call_status": "<string>",
"call_direction": "<string>",
"is_test": true,
"call_rating": 123,
"call_feedback": "<string>",
"record_url": "<string>",
"transcript": "<string>",
"transcript_object": {},
"transcript_language": "<string>",
"cost": 123,
"price_unit": "<string>",
"latency": 123,
"disconnect_reason": "<string>",
"analysis_sentiment": "<string>",
"agent_task_status": "<string>",
"agent_task_feedback": "<string>",
"metadata": {},
"agent_dynamic_variables": {},
"agent_post_call_outcomes": {},
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"retry_at": "2023-11-07T05:31:56Z",
"workspace_id": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
call to add to the store
Data required to create a new call.
call response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.callab.ai/v1/calls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ai_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"call_provider": "<string>",
"call_from": "<string>",
"call_to": "<string>",
"call_direction": "<string>",
"is_test": false,
"metadata": {},
"agent_dynamic_variables": {},
"notes": "<string>",
"workspace_id": "<string>"
}'
{
"status": "<string>",
"message": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"call_sid": "<string>",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ai_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"call_provider": "<string>",
"call_from": "<string>",
"call_to": "<string>",
"call_duration": 123,
"call_status": "<string>",
"call_direction": "<string>",
"is_test": true,
"call_rating": 123,
"call_feedback": "<string>",
"record_url": "<string>",
"transcript": "<string>",
"transcript_object": {},
"transcript_language": "<string>",
"cost": 123,
"price_unit": "<string>",
"latency": 123,
"disconnect_reason": "<string>",
"analysis_sentiment": "<string>",
"agent_task_status": "<string>",
"agent_task_feedback": "<string>",
"metadata": {},
"agent_dynamic_variables": {},
"agent_post_call_outcomes": {},
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"retry_at": "2023-11-07T05:31:56Z",
"workspace_id": "<string>"
}
}
Creates a new call in the store
curl --request POST \
--url https://api.callab.ai/v1/calls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ai_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"call_provider": "<string>",
"call_from": "<string>",
"call_to": "<string>",
"call_direction": "<string>",
"is_test": false,
"metadata": {},
"agent_dynamic_variables": {},
"notes": "<string>",
"workspace_id": "<string>"
}'
{
"status": "<string>",
"message": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"call_sid": "<string>",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ai_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"call_provider": "<string>",
"call_from": "<string>",
"call_to": "<string>",
"call_duration": 123,
"call_status": "<string>",
"call_direction": "<string>",
"is_test": true,
"call_rating": 123,
"call_feedback": "<string>",
"record_url": "<string>",
"transcript": "<string>",
"transcript_object": {},
"transcript_language": "<string>",
"cost": 123,
"price_unit": "<string>",
"latency": 123,
"disconnect_reason": "<string>",
"analysis_sentiment": "<string>",
"agent_task_status": "<string>",
"agent_task_feedback": "<string>",
"metadata": {},
"agent_dynamic_variables": {},
"agent_post_call_outcomes": {},
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"retry_at": "2023-11-07T05:31:56Z",
"workspace_id": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
call to add to the store
Data required to create a new call.
call response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.callab.ai/v1/calls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ai_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"call_provider": "<string>",
"call_from": "<string>",
"call_to": "<string>",
"call_direction": "<string>",
"is_test": false,
"metadata": {},
"agent_dynamic_variables": {},
"notes": "<string>",
"workspace_id": "<string>"
}'
{
"status": "<string>",
"message": "<string>",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"call_sid": "<string>",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ai_agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"call_provider": "<string>",
"call_from": "<string>",
"call_to": "<string>",
"call_duration": 123,
"call_status": "<string>",
"call_direction": "<string>",
"is_test": true,
"call_rating": 123,
"call_feedback": "<string>",
"record_url": "<string>",
"transcript": "<string>",
"transcript_object": {},
"transcript_language": "<string>",
"cost": 123,
"price_unit": "<string>",
"latency": 123,
"disconnect_reason": "<string>",
"analysis_sentiment": "<string>",
"agent_task_status": "<string>",
"agent_task_feedback": "<string>",
"metadata": {},
"agent_dynamic_variables": {},
"agent_post_call_outcomes": {},
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"started_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"retry_at": "2023-11-07T05:31:56Z",
"workspace_id": "<string>"
}
}