{
	"info": {
		"_postman_id": "76137f05-9fe3-492d-8410-68b12479d41f",
		"name": "Aloware",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "2862"
	},
	"item": [
		{
			"name": "Power Dialer",
			"item": [
				{
					"name": "List PD lists in the account",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/api/v1/webhook/powerdialer-lists?api_token=YOUR_API_TOKEN&user_id=1&per_page=100",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"api",
								"v1",
								"webhook",
								"powerdialer-lists"
							],
							"query": [
								{
									"key": "api_token",
									"value": "YOUR_API_TOKEN"
								},
								{
									"key": "user_id",
									"value": "1"
								},
								{
									"key": "per_page",
									"value": "100"
								}
							]
						}
					},
					"response": [
						{
							"name": "List PD lists in the account",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/api/v1/webhook/powerdialer-lists?api_token=YOUR_API_TOKEN&user_id=1&per_page=100",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"api",
										"v1",
										"webhook",
										"powerdialer-lists"
									],
									"query": [
										{
											"key": "api_token",
											"value": "YOUR_API_TOKEN"
										},
										{
											"key": "user_id",
											"value": "1"
										},
										{
											"key": "per_page",
											"value": "100"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"data\": [\n        {\n            \"id\": 50,\n            \"name\": \"My Queue\",\n            \"type\": 1,\n            \"type_name\": \"static\",\n            \"is_default_queue_list\": true,\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"John Agent\",\n                \"email\": \"john@example.com\"\n            },\n            \"created_at\": \"2026-08-17T12:00:00.000000Z\"\n        }\n    ],\n    \"links\": {\n        \"first\": null,\n        \"last\": null,\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"path\": \"/api/v1/webhook/powerdialer-lists\",\n        \"per_page\": 100,\n        \"next_cursor\": null,\n        \"prev_cursor\": null\n    }\n}"
						}
					]
				},
				{
					"name": "Remove contact from PD lists",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"api_token\": \"YOUR_API_TOKEN\",\r\n    \"contact_id\": \"45500\"\r\n}"
						},
						"url": {
							"raw": "{{baseUrl}}/api/v1/webhook/powerdialer-remove-contact-from-lists",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"api",
								"v1",
								"webhook",
								"powerdialer-remove-contact-from-lists"
							]
						}
					},
					"response": [
						{
							"name": "Clear PD lists",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\r\n    \"api_token\": \"YOUR_API_TOKEN\",\r\n    \"contact_id\": \"45500\" \r\n}"
								},
								"url": {
									"raw": "http://aloware.com/api/v1/webhook/forms",
									"protocol": "http",
									"host": [
										"aloware",
										"com"
									],
									"path": [
										"api",
										"v1",
										"webhook",
										"forms"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Server",
									"value": "nginx/1.15.8"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "Date",
									"value": "Wed, 07 Oct 2020 02:48:31 GMT"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "3000"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "2999"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"The contact has been removed from the Power Dialer lists.\"\n}"
						}
					]
				},
				{
					"name": "Clear PD User lists",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"api_token\": \"YOUR_API_TOKEN\",\r\n    \"user_id\": \"9999999\"\r\n}"
						},
						"url": {
							"raw": "{{baseUrl}}/api/v1/webhook/powerdialer-clear-user-lists",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"api",
								"v1",
								"webhook",
								"powerdialer-clear-user-lists"
							]
						}
					},
					"response": [
						{
							"name": "Power Dialer API",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\r\n    \"api_token\": \"YOUR_API_TOKEN\",\r\n    \"user_id\": \"1\",\r\n   \"list_id\": \"40\" \r\n}"
								},
								"url": {
									"raw": "http://aloware.com/api/v1/webhook/forms",
									"protocol": "http",
									"host": [
										"aloware",
										"com"
									],
									"path": [
										"api",
										"v1",
										"webhook",
										"forms"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Server",
									"value": "nginx/1.15.8"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "Date",
									"value": "Wed, 07 Oct 2020 02:48:31 GMT"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "3000"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "2999"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Power Dialer lists clearing process has been initiated.\"\n}"
						}
					]
				},
				{
					"name": "Clear PD lists",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"api_token\": \"YOUR_API_TOKEN\",\r\n    \"list_id\": \"999999999\"\r\n}"
						},
						"url": {
							"raw": "{{baseUrl}}/api/v1/webhook/powerdialer-clear-list",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"api",
								"v1",
								"webhook",
								"powerdialer-clear-list"
							]
						}
					},
					"response": [
						{
							"name": "Power Dialer API",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\r\n    \"api_token\": \"YOUR_API_TOKEN\",\r\n    \"user_id\": \"1\",\r\n   \"list_id\": \"40\" \r\n}"
								},
								"url": {
									"raw": "http://aloware.com/api/v1/webhook/forms",
									"protocol": "http",
									"host": [
										"aloware",
										"com"
									],
									"path": [
										"api",
										"v1",
										"webhook",
										"forms"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Server",
									"value": "nginx/1.15.8"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "Date",
									"value": "Wed, 07 Oct 2020 02:48:31 GMT"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "3000"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "2999"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Power Dialer lists clearing process has been initiated.\"\n}"
						}
					]
				},
				{
					"name": "Add contacts to PD list",
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"api_token\": \"YOUR_API_TOKEN\",\r\n    \"list_id\": \"50\",\r\n    \"user_id\": \"1\",\r\n    \"contact_ids\": [44500, 44501, 44502],\r\n    \"position\": \"bottom\",\r\n    \"prevent_duplicates\": true,\r\n    \"allow_international_phone_numbers\": false\r\n}"
						},
						"url": {
							"raw": "{{baseUrl}}/api/v1/webhook/powerdialer-add-contacts",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"api",
								"v1",
								"webhook",
								"powerdialer-add-contacts"
							]
						}
					},
					"response": [
						{
							"name": "Add contacts to PD list",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Content-Type",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\r\n    \"api_token\": \"YOUR_API_TOKEN\",\r\n    \"list_id\": \"50\",\r\n    \"user_id\": \"1\",\r\n    \"contact_ids\": [44500, 44501, 44502],\r\n    \"position\": \"bottom\",\r\n    \"prevent_duplicates\": true,\r\n    \"allow_international_phone_numbers\": false\r\n}"
								},
								"url": {
									"raw": "{{baseUrl}}/api/v1/webhook/powerdialer-add-contacts",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"api",
										"v1",
										"webhook",
										"powerdialer-add-contacts"
									]
								}
							},
							"status": "Created",
							"code": 201,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Server",
									"value": "nginx/1.15.8"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "Date",
									"value": "Wed, 07 Oct 2020 02:48:31 GMT"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "3000"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "2999"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Tasks are being added to the Power Dialer list. It will take a couple of minutes if it's a large list.\"\n}"
						}
					]
				},
				{
					"name": "List contacts assigned to an agent's PD",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/api/v1/webhook/powerdialer-user-contacts?api_token=YOUR_API_TOKEN&user_id=1&per_page=100",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"api",
								"v1",
								"webhook",
								"powerdialer-user-contacts"
							],
							"query": [
								{
									"key": "api_token",
									"value": "YOUR_API_TOKEN"
								},
								{
									"key": "user_id",
									"value": "1"
								},
								{
									"key": "per_page",
									"value": "100"
								}
							]
						}
					},
					"response": [
						{
							"name": "List contacts assigned to an agent's PD",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/api/v1/webhook/powerdialer-user-contacts?api_token=YOUR_API_TOKEN&user_id=1&per_page=100",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"api",
										"v1",
										"webhook",
										"powerdialer-user-contacts"
									],
									"query": [
										{
											"key": "api_token",
											"value": "YOUR_API_TOKEN"
										},
										{
											"key": "user_id",
											"value": "1"
										},
										{
											"key": "per_page",
											"value": "100"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"data\": [\n        {\n            \"contact_list_item_id\": 987654,\n            \"contact\": {\n                \"id\": 44500,\n                \"name\": \"Jane Doe\",\n                \"first_name\": \"Jane\",\n                \"last_name\": \"Doe\",\n                \"phone_number\": \"+13105551234\",\n                \"email\": \"jane@example.com\"\n            },\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"John Agent\",\n                \"email\": \"john@example.com\"\n            },\n            \"contact_list\": {\n                \"id\": 50,\n                \"name\": \"My Queue\",\n                \"is_default_queue_list\": true\n            },\n            \"task_status\": 1,\n            \"task_status_name\": \"queued\",\n            \"order\": 10,\n            \"task_scheduled_at\": null,\n            \"created_at\": \"2026-08-17T12:00:00.000000Z\"\n        }\n    ],\n    \"links\": {\n        \"first\": null,\n        \"last\": null,\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"path\": \"/api/v1/webhook/powerdialer-user-contacts\",\n        \"per_page\": 100,\n        \"next_cursor\": null,\n        \"prev_cursor\": null\n    }\n}"
						}
					]
				},
				{
					"name": "List all PD assigned contacts in the account",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{baseUrl}}/api/v1/webhook/powerdialer-contacts?api_token=YOUR_API_TOKEN&per_page=100",
							"host": [
								"{{baseUrl}}"
							],
							"path": [
								"api",
								"v1",
								"webhook",
								"powerdialer-contacts"
							],
							"query": [
								{
									"key": "api_token",
									"value": "YOUR_API_TOKEN"
								},
								{
									"key": "per_page",
									"value": "100"
								}
							]
						}
					},
					"response": [
						{
							"name": "List all PD assigned contacts in the account",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{baseUrl}}/api/v1/webhook/powerdialer-contacts?api_token=YOUR_API_TOKEN&per_page=100",
									"host": [
										"{{baseUrl}}"
									],
									"path": [
										"api",
										"v1",
										"webhook",
										"powerdialer-contacts"
									],
									"query": [
										{
											"key": "api_token",
											"value": "YOUR_API_TOKEN"
										},
										{
											"key": "per_page",
											"value": "100"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"data\": [\n        {\n            \"contact_list_item_id\": 987654,\n            \"contact\": {\n                \"id\": 44500,\n                \"name\": \"Jane Doe\",\n                \"first_name\": \"Jane\",\n                \"last_name\": \"Doe\",\n                \"phone_number\": \"+13105551234\",\n                \"email\": \"jane@example.com\"\n            },\n            \"user\": {\n                \"id\": 1,\n                \"name\": \"John Agent\",\n                \"email\": \"john@example.com\"\n            },\n            \"contact_list\": {\n                \"id\": 50,\n                \"name\": \"My Queue\",\n                \"is_default_queue_list\": true\n            },\n            \"task_status\": 1,\n            \"task_status_name\": \"queued\",\n            \"order\": 10,\n            \"task_scheduled_at\": null,\n            \"created_at\": \"2026-08-17T12:00:00.000000Z\"\n        }\n    ],\n    \"links\": {\n        \"first\": null,\n        \"last\": null,\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"path\": \"/api/v1/webhook/powerdialer-contacts\",\n        \"per_page\": 100,\n        \"next_cursor\": null,\n        \"prev_cursor\": null\n    }\n}"
						}
					]
				}
			]
		}
	]
}
