curl --request GET \
--url https://api.eqho.ai/v1/campaigns \
--header 'X-API-KEY: <api-key>'{
"campaigns": [
{
"_id": "<string>",
"name": "<string>",
"status": "CREATED",
"account_id": "<string>",
"agents": [
"<string>"
],
"distribution_strategy": "random",
"distribution_settings": {
"percentages": {},
"last_assigned_agent_index": -1
},
"phone_numbers": [
"<string>"
],
"inbound_phone_numbers": [
"<string>"
],
"claimed_phone_numbers": {},
"dispositions": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"parent_disposition": "<string>",
"color": "<string>",
"contacted": true,
"conversion": true,
"blocklist_level": "CAMPAIGN",
"enabled": true
}
],
"disposition_instructions": "<string>",
"disposition_level_2_instructions": "<string>",
"disposition_level_3_prompt": "<string>",
"disposition_level_3_model": "gpt-3.5-turbo",
"disposition_level_3_config": {
"input": [
{
"content": "<string>",
"role": "user"
}
],
"disposition_labels": [
{
"name": "<string>",
"parent_disposition_id": "<string>",
"description": "<string>"
}
],
"llm_config": {
"ai_model": "<string>",
"frequency_penalty": 123,
"max_tokens": 123,
"presence_penalty": 123,
"temperature": 123
}
},
"rules": {
"call_limit": 123,
"call_window": [
{
"weekday": 1,
"start_time": 1179,
"end_time": 1179
}
],
"messenger_disposition_threshold_in_minutes": 123,
"medium_response_settings": {},
"api_text_disposition_threshold_in_minutes": 123
},
"enabled": true,
"history": {
"revision": 0,
"created_at": "2023-11-07T05:31:56Z",
"created_by": "unknown",
"last_modified_at": "2023-11-07T05:31:56Z",
"last_modified_by": "unknown"
},
"call_transfer_phone_number": "<string>",
"tasks": [
{
"name": "<string>",
"task_type": "try_again",
"task_settings": {},
"type": "post_call",
"condition": {
"call_count": [
123
],
"dispositions": [
{
"field": "twilio_status",
"values": [
"<string>"
]
}
],
"ai_conditions": [
{
"condition": "Did the lead say there is a child in the car?",
"confidence_threshold": 0.5
}
]
},
"required": false
}
],
"call_now_threshold_recall_time": 123,
"external_context_template": "<string>",
"system_prompt": {
"inbound": {
"sections": [
{
"title": "<any>",
"description": "<any>"
}
],
"conversation_seeder": [
"<string>"
],
"structured_conversation_seeder": [
{
"role": "<any>",
"content": "<any>",
"tool_calls": "<any>"
}
],
"type": "outbound",
"medium": "web_voice",
"extend_sections": false,
"extend_conversation_seeder": false
},
"outbound": {
"sections": [
{
"title": "<any>",
"description": "<any>"
}
],
"conversation_seeder": [
"<string>"
],
"structured_conversation_seeder": [
{
"role": "<any>",
"content": "<any>",
"tool_calls": "<any>"
}
],
"type": "outbound",
"medium": "web_voice",
"extend_sections": true,
"extend_conversation_seeder": true
}
},
"disable_system_dispositioning": true,
"campaign_duration": {
"campaign_start_date": "2023-11-07T05:31:56Z",
"campaign_end_date": "2023-11-07T05:31:56Z"
},
"disable_amd": true,
"custom_fields": {},
"a2p_status": "rejected",
"initial_contact_medium": "web_voice",
"precall_tasks_execution_mode": "prolonged_ringing",
"inbound_lead_list": "<string>"
}
],
"meta": {
"per_page": 123,
"last_page": 123,
"current_page": 123,
"next_page": 123,
"prev_page": 123,
"total": 123
}
}curl --request GET \
--url https://api.eqho.ai/v1/campaigns \
--header 'X-API-KEY: <api-key>'{
"campaigns": [
{
"_id": "<string>",
"name": "<string>",
"status": "CREATED",
"account_id": "<string>",
"agents": [
"<string>"
],
"distribution_strategy": "random",
"distribution_settings": {
"percentages": {},
"last_assigned_agent_index": -1
},
"phone_numbers": [
"<string>"
],
"inbound_phone_numbers": [
"<string>"
],
"claimed_phone_numbers": {},
"dispositions": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"parent_disposition": "<string>",
"color": "<string>",
"contacted": true,
"conversion": true,
"blocklist_level": "CAMPAIGN",
"enabled": true
}
],
"disposition_instructions": "<string>",
"disposition_level_2_instructions": "<string>",
"disposition_level_3_prompt": "<string>",
"disposition_level_3_model": "gpt-3.5-turbo",
"disposition_level_3_config": {
"input": [
{
"content": "<string>",
"role": "user"
}
],
"disposition_labels": [
{
"name": "<string>",
"parent_disposition_id": "<string>",
"description": "<string>"
}
],
"llm_config": {
"ai_model": "<string>",
"frequency_penalty": 123,
"max_tokens": 123,
"presence_penalty": 123,
"temperature": 123
}
},
"rules": {
"call_limit": 123,
"call_window": [
{
"weekday": 1,
"start_time": 1179,
"end_time": 1179
}
],
"messenger_disposition_threshold_in_minutes": 123,
"medium_response_settings": {},
"api_text_disposition_threshold_in_minutes": 123
},
"enabled": true,
"history": {
"revision": 0,
"created_at": "2023-11-07T05:31:56Z",
"created_by": "unknown",
"last_modified_at": "2023-11-07T05:31:56Z",
"last_modified_by": "unknown"
},
"call_transfer_phone_number": "<string>",
"tasks": [
{
"name": "<string>",
"task_type": "try_again",
"task_settings": {},
"type": "post_call",
"condition": {
"call_count": [
123
],
"dispositions": [
{
"field": "twilio_status",
"values": [
"<string>"
]
}
],
"ai_conditions": [
{
"condition": "Did the lead say there is a child in the car?",
"confidence_threshold": 0.5
}
]
},
"required": false
}
],
"call_now_threshold_recall_time": 123,
"external_context_template": "<string>",
"system_prompt": {
"inbound": {
"sections": [
{
"title": "<any>",
"description": "<any>"
}
],
"conversation_seeder": [
"<string>"
],
"structured_conversation_seeder": [
{
"role": "<any>",
"content": "<any>",
"tool_calls": "<any>"
}
],
"type": "outbound",
"medium": "web_voice",
"extend_sections": false,
"extend_conversation_seeder": false
},
"outbound": {
"sections": [
{
"title": "<any>",
"description": "<any>"
}
],
"conversation_seeder": [
"<string>"
],
"structured_conversation_seeder": [
{
"role": "<any>",
"content": "<any>",
"tool_calls": "<any>"
}
],
"type": "outbound",
"medium": "web_voice",
"extend_sections": true,
"extend_conversation_seeder": true
}
},
"disable_system_dispositioning": true,
"campaign_duration": {
"campaign_start_date": "2023-11-07T05:31:56Z",
"campaign_end_date": "2023-11-07T05:31:56Z"
},
"disable_amd": true,
"custom_fields": {},
"a2p_status": "rejected",
"initial_contact_medium": "web_voice",
"precall_tasks_execution_mode": "prolonged_ringing",
"inbound_lead_list": "<string>"
}
],
"meta": {
"per_page": 123,
"last_page": 123,
"current_page": 123,
"next_page": 123,
"prev_page": 123,
"total": 123
}
}Was this page helpful?