{
	"info": {
		"_postman_id": "7a653d5b-008b-4d42-bc8d-adfd0f6aec02",
		"name": "Paubox REST API Examples",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "4011368"
	},
	"item": [
		{
			"name": "Send Message",
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					},
					{
						"key": "Authorization",
						"value": "Token token=<insert full api key here>"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"data\": {\n    \"message\": {\n      \"recipients\": [\n        \"recipient@receiving-domain.com\"\n      ],\n      \"headers\": {\n        \"subject\": \"Hello from the Paubox API!\",\n        \"from\": \"Sender Name <anything@your-domain.com>\",\n        \"reply-to\": \"anything@your-domain.com>\"\n      },\n      \"content\": {\n        \"text/plain\": \"Hello World!\",\n        \"text/html\": \"<html><body><h1>Hello world!</h1></body></html>\"\n      },\n      \"attachments\": [\n        {\n          \"fileName\": \"hello_world.txt\",\n          \"contentType\": \"text/plain\",\n          \"content\": \"SGVsbG8gV29ybGQh\\n\"\n        }\n       ]\n    }\n  }\n}"
				},
				"url": {
					"raw": "https://api.paubox.net/v1/<insert your endpoint username here>/messages",
					"protocol": "https",
					"host": [
						"api",
						"paubox",
						"net"
					],
					"path": [
						"v1",
						"<insert your endpoint username here>",
						"messages"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Email Disposition",
			"request": {
				"method": "GET",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/json"
					},
					{
						"key": "Authorization",
						"value": "Token token=<insert full api key here>"
					}
				],
				"url": {
					"raw": "https://api.paubox.net/v1/<insert your endpoint username here>/message_receipt?sourceTrackingId=<insert source_tracking_id here>",
					"protocol": "https",
					"host": [
						"api",
						"paubox",
						"net"
					],
					"path": [
						"v1",
						"<insert your endpoint username here>",
						"message_receipt"
					],
					"query": [
						{
							"key": "sourceTrackingId",
							"value": "<insert source_tracking_id here>"
						}
					]
				}
			},
			"response": []
		}
	]
}