This page will help you get started with Chat Transcripts API.

This is a PostMan example with two requests.

{
	"info": {
		"_postman_id": "5c1e81c5-62de-408a-9564-a4c9c70070be",
		"name": "operator",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Operator Login",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\"username\":\"mike g\",\"password\":\"test\",\"account\":\"myaccount\"}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://URL TO OPERATOR/api/auth/login",
					"protocol": "https",
					"host": [
						"URL TO OPERATOR"
					],
					"path": [
						"api",
						"auth",
						"login"
					]
				}
			},
			"response": []
		},
		{
			"name": "History",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "x-chatbeacon",
						"value": "ENCODED TOKEN",
						"type": "text"
					}
				],
				"url": {
					"raw": "https://URL TO OPERATOR/api/operator/chathistory?siteId=0&queueId=0&from=1613455200000&to=1613541599999&seach=SeachTerm",
					"protocol": "https",
					"host": [
						"URL TO OPERATOR"
					],
					"path": [
						"api",
						"operator",
						"chathistory"
					],
					"query": [
						{
							"key": "siteId",
							"value": "0",
							"description": "required"
						},
						{
							"key": "queueId",
							"value": "0",
							"description": "required"
						},
						{
							"key": "from",
							"value": "1613455200000",
							"description": "required"
						},
						{
							"key": "to",
							"value": "1613541599999",
							"description": "required"
						},
						{
							"key": "seach",
							"value": "SeachTerm",
							"description": "optional"
						}
					]
				}
			},
			"response": []
		}
	]
}

Try dragging a block from the right to see how easy it is to add more content!