Skip to main content

List

curl --location 'https://{{base_url}}/v3/campaign' \
--header 'Content-type: application/json' \
--header 'Authorization: Bearer {{token}}'

Response trả về:

{
"data": [
{
"domain_uuid": "b6b796aa-370f-4f57-8f44-5c82414c652b",
"campaign_uuid": "c2da23c0-9739-4287-828a-7b15cf0fb19e",
"campaign_name": "AutocallAudio",
"type": "autocall",
"description": "",
"active": true,
"concurrent_call": 5,
"ratio": 100,
"carrier_uuid": "a18b400f-d487-4e17-b5e7-eba5fe6fa54f",
"call_center_queue_uuid": "",
"template_uuid": "5f427552-857e-4939-8edf-cbd0f1ef6842",
"recall_times": 3,
"limit_recall_duration": 0,
"schedule_recall": "minute",
"schedule_recall_duration": 1,
"hopper": 0,
"answer_callback_url": "",
"local_start_time": "",
"local_end_time": "",
"customer_order": "",
"allow_manual_dial": false,
"allow_search_lead": false,
"enable_callback_alert": false,
"default_list_uuid": "",
"script_uuid": "",
"status": "stop",
"created_at": "2023-03-06T16:27:17.784242+07:00",
"updated_at": "2023-03-06T18:27:35.482259+07:00",
"call_center_queue_strategy": "",
"template_name": "thong_bao_no_cuoc_01",
"carrier_name": "Billing",
"mode_call": "direct",
"network": {
"viettel": 0,
"mobi": 0,
"vina": 0,
"tel": 0,
"offnet": 0
},
"run_id": "",
"type_autocall": "autocall_audio",
"call_timeout": 60,
"domain_name": "",
"users": null,
"groups": null,
"statuses": null,
"schedules": null,
"priority_recall": "normal",
"recall_status": ["busy", "failed", "no-answered", "not-available", "voicemail", "invalid-number", "phone-block", "congestion"],
"enable_encrypt": false,
"callback_url": "",
"orig_campaign_uuid": ""
},
{
"domain_uuid": "b6b796aa-370f-4f57-8f44-5c82414c652b",
"campaign_uuid": "fdccdbf2-bc4b-4a0f-a7ea-cb0239daaa7d",
"campaign_name": "AutocallTTS",
"type": "autocall",
"description": "",
"active": true,
"concurrent_call": 1,
"ratio": 100,
"carrier_uuid": "a18b400f-d487-4e17-b5e7-eba5fe6fa54f",
"call_center_queue_uuid": "",
"template_uuid": "",
"recall_times": 0,
"limit_recall_duration": 0,
"schedule_recall": "after",
"schedule_recall_duration": 0,
"hopper": 20,
"answer_callback_url": "",
"local_start_time": "00:00:00",
"local_end_time": "23:59:59",
"customer_order": "id",
"allow_manual_dial": true,
"allow_search_lead": true,
"enable_callback_alert": true,
"default_list_uuid": "",
"script_uuid": "",
"status": "stop",
"created_at": "2023-03-06T16:27:04.979847+07:00",
"updated_at": "2023-03-06T16:27:04.979847+07:00",
"call_center_queue_strategy": "",
"template_name": "",
"carrier_name": "Billing",
"mode_call": "direct",
"network": {
"viettel": 0,
"mobi": 0,
"vina": 0,
"tel": 0,
"offnet": 0
},
"run_id": "",
"type_autocall": "autocall_voice_tts",
"call_timeout": 60,
"domain_name": "",
"users": null,
"groups": null,
"statuses": null,
"schedules": null,
"priority_recall": "normal",
"recall_status": ["answered", "busy", "failed", "no-answered", "not-available", "voicemail", "invalid-number", "phone-block", "congestion"],
"enable_encrypt": false,
"callback_url": "",
"orig_campaign_uuid": ""
}
],
"limit": 10,
"offset": 0,
"total": 2
}

HTTP Request

GET https://{{base_url}}/v3/template

Query Parameters

ParameterDescriptionExample
typeLoại chiến dịch bao gồm autocall, autodialer, inbound và manualautocall
limitSố lượng record trả về10
offsetVị trí bắt đầu khi query0