{
	"info": {
		"_postman_id": "a4721a5f-86c8-4bd6-8897-cb1afea058e1",
		"name": "Smsbox",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "21900961",
	},
	"item": [
		{
			"name": "Message V1",
			"item": [
				{
					"name": "Sendsms VARS",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "urlencoded",
							"urlencoded": [
								{
									"key": "numbers",
									"value": "32496xxxxxx",
									"description": "Mobile number international format",
									"type": "text"
								},
								{
									"key": "message",
									"value": "System test",
									"description": "Message to be send",
									"type": "text"
								},
								{
									"key": "from",
									"value": "smsbox.be",
									"description": "SenderID",
									"type": "text",
									"disabled": true
								},
								{
									"key": "longsms",
									"value": "1",
									"description": "Use of concatenated SMS allowed",
									"type": "text"
								},
								{
									"key": "noti",
									"value": "https://www.domein.be/script.php",
									"description": "Send delivery reports to an URL",
									"type": "text",
									"disabled": true
								},
								{
									"key": "unicode",
									"value": "1",
									"description": "Use of unicode allowed (https://www.smsbox.be/sms-calculator)",
									"type": "text",
									"disabled": true
								}
							]
						},
						"url": {
							"raw": "https://core.smsbox.be/api/v1/sendsms",
							"protocol": "https",
							"host": [
								"core",
								"smsbox",
								"be"
							],
							"path": [
								"api",
								"v1",
								"sendsms"
							]
						}
					},
					"response": []
				},
				{
					"name": "Sendsms JSON",
					"protocolProfileBehavior": {
						"disabledSystemHeaders": {}
					},
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\"numbers\": \"32496xxxxxx\", \"message\": \"System test\", \"longsms\": 1}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://core.smsbox.be/api/v1/sendsms",
							"protocol": "https",
							"host": [
								"core",
								"smsbox",
								"be"
							],
							"path": [
								"api",
								"v1",
								"sendsms"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Send message V2",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "urlencoded",
					"urlencoded": [
						{
							"key": "numbers",
							"value": "32496xxxxxx",
							"description": "Mobile number international format",
							"type": "text"
						},
						{
							"key": "message",
							"value": "System test",
							"description": "Message to be send",
							"type": "text"
						},
						{
							"key": "from",
							"value": "smsbox.be",
							"description": "SenderID",
							"type": "text",
							"disabled": true
						},
						{
							"key": "longsms",
							"value": "1",
							"description": "Use of concatenated SMS allowed",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://core.smsbox.be/api/v2/message/send",
					"protocol": "https",
					"host": [
						"core",
						"smsbox",
						"be"
					],
					"path": [
						"api",
						"v2",
						"message",
						"send"
					]
				}
			},
			"response": []
		},
		{
			"name": "Balance",
			"request": {
				"auth": {
					"type": "apikey",
					"apikey": [
						{
							"key": "value",
							"value": "EnterYourSMSApikeyHere",
							"type": "string"
						},
						{
							"key": "key",
							"value": "X-Api-Key",
							"type": "string"
						},
						{
							"key": "in",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://core.smsbox.be/api/v1/balance",
					"protocol": "https",
					"host": [
						"core",
						"smsbox",
						"be"
					],
					"path": [
						"api",
						"v1",
						"balance"
					]
				}
			},
			"response": []
		},
		{
			"name": "Send OTP",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "urlencoded",
					"urlencoded": [
						{
							"key": "number",
							"value": "32496xxxxxx",
							"description": "Mobile number international format",
							"type": "text"
						},
						{
							"key": "text",
							"value": "Your code is: {OTP} ",
							"description": "Own text",
							"type": "text",
							"disabled": true
						}
					]
				},
				"url": {
					"raw": "https://core.smsbox.be/api/v1/otp/send",
					"protocol": "https",
					"host": [
						"core",
						"smsbox",
						"be"
					],
					"path": [
						"api",
						"v1",
						"otp",
						"send"
					]
				}
			},
			"response": []
		},
		{
			"name": "Verify OTP",
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "urlencoded",
					"urlencoded": [
						{
							"key": "otp",
							"value": "925499",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "https://core.smsbox.be/api/v1/otp/verify",
					"protocol": "https",
					"host": [
						"core",
						"smsbox",
						"be"
					],
					"path": [
						"api",
						"v1",
						"otp",
						"verify"
					]
				}
			},
			"response": []
		},
		{
			"name": "Inbox messages",
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "urlencoded",
					"urlencoded": []
				},
				"url": {
					"raw": "https://core.smsbox.be/api/v2/message/inbox",
					"protocol": "https",
					"host": [
						"core",
						"smsbox",
						"be"
					],
					"path": [
						"api",
						"v2",
						"message",
						"inbox"
					],
					"query": [
						{
							"key": "channel",
							"value": "FILTER_CHANNEL",
							"disabled": true
						},
						{
							"key": "mobile",
							"value": "FILTER_MOBILE",
							"disabled": true
						},
						{
							"key": "daterange",
							"value": "20230201-20230301",
							"disabled": true
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Outbox messages",
			"protocolProfileBehavior": {
				"disableBodyPruning": true
			},
			"request": {
				"method": "GET",
				"header": [],
				"body": {
					"mode": "urlencoded",
					"urlencoded": []
				},
				"url": {
					"raw": "https://core.smsbox.be/api/v2/message/outbox",
					"protocol": "https",
					"host": [
						"core",
						"smsbox",
						"be"
					],
					"path": [
						"api",
						"v2",
						"message",
						"outbox"
					],
					"query": [
						{
							"key": "channel",
							"value": "FILTER_CHANNEL",
							"disabled": true
						},
						{
							"key": "mobile",
							"value": "FILTER_MOBILE",
							"disabled": true
						},
						{
							"key": "daterange",
							"value": "20230201-20230301",
							"disabled": true
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Verify mobile number",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://core.smsbox.be/api/v1/hlr?number=32496xxxxxx",
					"protocol": "https",
					"host": [
						"core",
						"smsbox",
						"be"
					],
					"path": [
						"api",
						"v1",
						"hlr"
					],
					"query": [
						{
							"key": "number",
							"value": "32496xxxxxx",
							"description": "Mobile number in international format"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "SendVoice VARS",
			"request": {
				"auth": {
					"type": "apikey",
					"apikey": [
						{
							"key": "value",
							"value": "EnterYourVoiceApikeyHere",
							"type": "string"
						},
						{
							"key": "key",
							"value": "X-Api-Key",
							"type": "string"
						},
						{
							"key": "in",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "urlencoded",
					"urlencoded": [
						{
							"key": "number",
							"value": "32496xxxxxx",
							"description": "Mobile number international format",
							"type": "text"
						},
						{
							"key": "message",
							"value": "System test",
							"description": "Message to be send",
							"type": "text"
						},
						{
							"key": "lang",
							"value": "EN",
							"description": "Language NL/FR/EN",
							"type": "text"
						},
						{
							"key": "gender",
							"value": "M",
							"description": "Male or female voice",
							"type": "text"
						},
						{
							"key": "send_at",
							"value": "2021-09-22T15:10:10Z",
							"description": "Use correct date format",
							"type": "text",
							"disabled": true
						}
					]
				},
				"url": {
					"raw": "https://core.smsbox.be/api/v1/voice/send",
					"protocol": "https",
					"host": [
						"core",
						"smsbox",
						"be"
					],
					"path": [
						"api",
						"v1",
						"voice",
						"send"
					]
				}
			},
			"response": []
		},
		{
			"name": "SendVoice JSON",
			"request": {
				"auth": {
					"type": "apikey",
					"apikey": [
						{
							"key": "value",
							"value": "EnterYourVoiceApikeyHere",
							"type": "string"
						},
						{
							"key": "key",
							"value": "X-Api-Key",
							"type": "string"
						},
						{
							"key": "in",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\"number\": \"32496xxxxxx\", \"message\": \"System test\", \"lang\": \"EN\", \"gender\": \"M\"}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "https://core.smsbox.be/api/v1/voice/send",
					"protocol": "https",
					"host": [
						"core",
						"smsbox",
						"be"
					],
					"path": [
						"api",
						"v1",
						"voice",
						"send"
					]
				}
			},
			"response": []
		},
		{
			"name": "Authentication (TEST TOKEN)",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "https://core.smsbox.be/api/v1/auth",
					"protocol": "https",
					"host": [
						"core",
						"smsbox",
						"be"
					],
					"path": [
						"api",
						"v1",
						"auth"
					]
				}
			},
			"response": []
		},
		{
			"name": "Short URL tracking",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "formdata",
					"formdata": [
						{
							"key": "url",
							"value": "https://www.example.com/someScript.php",
							"description": "Your own URL",
							"type": "text"
						},
						{
							"key": "name",
							"value": "MyOwnName",
							"description": "Your own friendly name (optional)",
							"type": "text",
							"disabled": true
						}
					]
				},
				"url": {
					"raw": "https://core.smsbox.be/api/v2/message/tracking",
					"protocol": "https",
					"host": [
						"core",
						"smsbox",
						"be"
					],
					"path": [
						"api",
						"v2",
						"message",
						"tracking"
					]
				}
			},
			"response": []
		}
	],
	"auth": {
		"type": "apikey",
		"apikey": [
			{
				"key": "value",
				"value": "EnterYourSMSApikeyHere",
				"type": "string"
			},
			{
				"key": "key",
				"value": "X-Api-Key",
				"type": "string"
			}
		]
	},
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	]
}