{"info":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","description":"<html><head></head><body><p>Mediana API provides services for sending messages via different channels including SMS, Messengers, Email, Voip.</p>\n<h2 id=\"getting-started\">Getting Started</h2>\n<ul>\n<li>Base URL: <code>https://api.mediana.ir</code></li>\n<li>API Key authentication is required</li>\n<li>Include the API key in the X-API-KEY header as: <code>YOUR_API_KEY</code></li>\n</ul>\n<h2 id=\"error-codes\">Error Codes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Error Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1032</td>\n<td>No active plan found</td>\n</tr>\n<tr>\n<td>1033</td>\n<td>Plan does not have API facility</td>\n</tr>\n<tr>\n<td>1034</td>\n<td>Plan does not have pattern facility</td>\n</tr>\n<tr>\n<td>1035</td>\n<td>Plan does not have a dedicated line facility</td>\n</tr>\n<tr>\n<td>1041</td>\n<td>Invalid receiver in API request</td>\n</tr>\n<tr>\n<td>1042</td>\n<td>Insufficient wallet balance</td>\n</tr>\n<tr>\n<td>1043</td>\n<td>Maximum number of receivers exceeded</td>\n</tr>\n<tr>\n<td>1044</td>\n<td>Invalid SMS ID</td>\n</tr>\n<tr>\n<td>1045</td>\n<td>Invalid request code</td>\n</tr>\n<tr>\n<td>1046</td>\n<td>Invalid input parameters</td>\n</tr>\n<tr>\n<td>1047</td>\n<td>Phone number is blacklisted</td>\n</tr>\n<tr>\n<td>1048</td>\n<td>WebEngage is not enabled</td>\n</tr>\n<tr>\n<td>1051</td>\n<td>Campaign has expired</td>\n</tr>\n<tr>\n<td>1061</td>\n<td>No active line found</td>\n</tr>\n<tr>\n<td>1062</td>\n<td>Line is not usable at this time of day</td>\n</tr>\n<tr>\n<td>1071</td>\n<td>Pattern URL detected</td>\n</tr>\n<tr>\n<td>1072</td>\n<td>Pattern rejected by admin</td>\n</tr>\n<tr>\n<td>1073</td>\n<td>Pattern belongs to another sending number</td>\n</tr>\n<tr>\n<td>1074</td>\n<td>Message text is empty</td>\n</tr>\n<tr>\n<td>1075</td>\n<td>Message request not found</td>\n</tr>\n<tr>\n<td>1076</td>\n<td>Pattern is empty</td>\n</tr>\n<tr>\n<td>1081</td>\n<td>Postal code not verified</td>\n</tr>\n<tr>\n<td>1082</td>\n<td>National code not verified</td>\n</tr>\n<tr>\n<td>1083</td>\n<td>Mobile number not verified</td>\n</tr>\n<tr>\n<td>1084</td>\n<td>Profile not completed</td>\n</tr>\n<tr>\n<td>1093</td>\n<td>Receivers not found</td>\n</tr>\n<tr>\n<td>1101</td>\n<td>Sending number not found</td>\n</tr>\n<tr>\n<td>1102</td>\n<td>Sending number has expired</td>\n</tr>\n<tr>\n<td>1021</td>\n<td>Unknown error occurred</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"statusint-descriptions\">StatusInt Descriptions</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Int</th>\n<th>Status Title</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>-3</td>\n<td>Blacklisted</td>\n</tr>\n<tr>\n<td>-2</td>\n<td>Blacklisted</td>\n</tr>\n<tr>\n<td>-1</td>\n<td>Duplicated</td>\n</tr>\n<tr>\n<td>0</td>\n<td>Unknown</td>\n</tr>\n<tr>\n<td>1</td>\n<td>Waiting for Send</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Sending</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Sent</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Delivered</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Canceled</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Failed</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Operator Blacklist</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Sent to Operator</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Undelivered</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"41550294","collectionId":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","publishedId":"2sB3QFRsWW","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"457262","highlight":"F5FFF8"},"publishDate":"2025-10-01T14:17:01.000Z"},"item":[{"name":"SMS","item":[{"name":"Send OTP","id":"3e7abb5f-4d6d-4a4e-93c4-78e141418a08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\", // The pattern code to be used for sending the message\n  \"recipient\": \"09123456789\", // The recipient's mobile number\n  \"otpCode\": \"48213\" // The one-time password to be sent\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/otp","description":"<p>Send a one-time password to a recipient via SMS</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","send","otp"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"d3aac5e8-2761-49d3-a0bf-c2038273bff6","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"recipient\": \"09123456789\",\n  \"otpCode\": \"48213\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/otp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"929de9cf-e4aa-4eba-af85-10eb3a4b2b3d\",\n    \"code\": \"OK\",\n    \"errorMessage\": null,\n    \"errors\": null\n  },\n  \"data\": {\n    \"succeed\": true,\n    \"requestId\": 187484315,\n    \"message\": \"در حال ساخت\",\n    \"status\": \"PendingApproval\",\n    \"smsItems\": [\n      {\n        \"smsItemId\": \"989394083499_187484315\",\n        \"recipient\": \"989394083499\",\n        \"isInBlackList\": false\n      }\n    ],\n    \"requestCode\": \"187484315\",\n    \"statusInt\": 2,\n    \"totalPrice\": 2284,\n    \"clientRef\": null\n  },\n  \"pagination\": null\n}"},{"id":"3bbd1941-6b88-4c15-b72f-0b21fe71523a","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"recipient\": \"09123456789\",\n  \"otpCode\": \"48213\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/otp"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"0203ce4e-8edf-41f5-9193-eb2fadf361e6","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"recipient\": \"09123456789\",\n  \"otpCode\": \"48213\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/otp"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"7b5cdd28-1a98-4aaf-94fd-512058398d12","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"recipient\": \"09123456789\",\n  \"otpCode\": \"48213\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/otp"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"3e7abb5f-4d6d-4a4e-93c4-78e141418a08"},{"name":"Send Normal SMS (SendSmsNormalWithType)","id":"8daf4142-0eb8-4fd1-9fb6-f11db4ccb6d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"Informational\", // The message type, which determines the line used for sending (Informational, PromotionalToCustomers, PromotionalAll)\n  \"recipients\": [ // List of recipient mobile numbers\n    \"09123456789\",\n    \"09121234567\"\n  ],\n  \"messageText\": \"مشتری گرامی، سفارش شما با موفقیت ثبت شد.\", // The text content of the message\n  \"dateTime\": \"2026-09-20T14:30:00\" // Schedule the message for a future time. Leave empty to send immediately\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/sms","description":"<p>Send a standard SMS message to one or more recipients (up to 100)\nYou can either:\n    1. Specify a message type (Informational, PromotionalToCustomers, PromotionalAll)\n    2. Or specify a sending number directly</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","send","sms"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[],"_postman_id":"8daf4142-0eb8-4fd1-9fb6-f11db4ccb6d4"},{"name":"Send Normal SMS (SendSmsNormalWithNumber)","id":"57a78e3f-475e-4973-85b4-953f35a0c0e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sendingNumber\": \"9890009999\", // The number the message is sent from\n  \"recipients\": [ // List of recipient mobile numbers\n    \"09123456789\",\n    \"09121234567\"\n  ],\n  \"messageText\": \"مشتری گرامی، سفارش شما با موفقیت ثبت شد.\" // The text content of the message\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/sms","description":"<p>Send a standard SMS message to one or more recipients (up to 100)\nYou can either:\n    1. Specify a message type (Informational, PromotionalToCustomers, PromotionalAll)\n    2. Or specify a sending number directly</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","send","sms"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"0bf17509-be72-4dbf-8efc-e3fd91d46129","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"Informational\",\n  \"recipients\": [\n    \"09123456789\",\n    \"09121234567\"\n  ],\n  \"messageText\": \"مشتری گرامی، سفارش شما با موفقیت ثبت شد.\",\n  \"dateTime\": \"2026-09-20T14:30:00\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/sms"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"},{"id":"6ca2d59e-b859-4cfb-a6c7-0535b41a6d31","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"Informational\",\n  \"recipients\": [\n    \"09123456789\",\n    \"09121234567\"\n  ],\n  \"messageText\": \"مشتری گرامی، سفارش شما با موفقیت ثبت شد.\",\n  \"dateTime\": \"2026-09-20T14:30:00\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/sms"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"ab4d2c8e-d993-4156-a2ec-2cbe0009ea8a","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"Informational\",\n  \"recipients\": [\n    \"09123456789\",\n    \"09121234567\"\n  ],\n  \"messageText\": \"مشتری گرامی، سفارش شما با موفقیت ثبت شد.\",\n  \"dateTime\": \"2026-09-20T14:30:00\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/sms"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"f1e06c69-32d8-4e68-8440-bb006f0008f0","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"Informational\",\n  \"recipients\": [\n    \"09123456789\",\n    \"09121234567\"\n  ],\n  \"messageText\": \"مشتری گرامی، سفارش شما با موفقیت ثبت شد.\",\n  \"dateTime\": \"2026-09-20T14:30:00\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/sms"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"929de9cf-e4aa-4eba-af85-10eb3a4b2b3d\",\n    \"code\": \"OK\",\n    \"errorMessage\": null,\n    \"errors\": null\n  },\n  \"data\": {\n    \"succeed\": true,\n    \"requestId\": 187484315,\n    \"message\": \"در حال ساخت\",\n    \"status\": \"PendingApproval\",\n    \"smsItems\": [\n      {\n        \"smsItemId\": \"989394083499_187484315\",\n        \"recipient\": \"989394083499\",\n        \"isInBlackList\": false\n      }\n    ],\n    \"requestCode\": \"187484315\",\n    \"statusInt\": 2,\n    \"totalPrice\": 2284,\n    \"clientRef\": null\n  },\n  \"pagination\": null\n}"}],"_postman_id":"57a78e3f-475e-4973-85b4-953f35a0c0e2"},{"name":"Send Pattern SMS (SendSmsPatternWithType)","id":"7300bb20-f50b-4553-a66b-8b96e7f07b3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"Informational\", // The message type, which determines the line used for sending (Informational, PromotionalToCustomers, PromotionalAll)\n  \"recipients\": [ // Recipient mobile number (only one recipient is allowed)\n    \"09123456789\"\n  ],\n  \"patternCode\": \"110022\", // The pattern code to be used for sending the message\n  \"parameters\": { // Key-value pairs that fill the placeholders defined in the pattern\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/pattern","description":"<p>Send an SMS message using a predefined pattern code</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","send","pattern"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[],"_postman_id":"7300bb20-f50b-4553-a66b-8b96e7f07b3b"},{"name":"Send Pattern SMS (SendSmsPatternWithNumber)","id":"d83e0d35-3ba7-4543-a86b-fe354ca323c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sendingNumber\": \"9890009999\", // The number the message is sent from\n  \"recipients\": [ // Recipient mobile number (only one recipient is allowed)\n    \"09123456789\"\n  ],\n  \"patternCode\": \"110022\", // The pattern code to be used for sending the message\n  \"parameters\": { // Key-value pairs that fill the placeholders defined in the pattern\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/pattern","description":"<p>Send an SMS message using a predefined pattern code</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","send","pattern"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"1f8f4aa5-ea69-46e1-a42a-485dff058586","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"Informational\",\n  \"recipients\": [\n    \"09123456789\"\n  ],\n  \"patternCode\": \"110022\",\n  \"parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/pattern"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"4b731716-226c-413e-becb-0f47f2db099e","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"Informational\",\n  \"recipients\": [\n    \"09123456789\"\n  ],\n  \"patternCode\": \"110022\",\n  \"parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/pattern"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"929de9cf-e4aa-4eba-af85-10eb3a4b2b3d\",\n    \"code\": \"OK\",\n    \"errorMessage\": null,\n    \"errors\": null\n  },\n  \"data\": {\n    \"succeed\": true,\n    \"requestId\": 187484315,\n    \"message\": \"در حال ساخت\",\n    \"status\": \"PendingApproval\",\n    \"smsItems\": [\n      {\n        \"smsItemId\": \"989394083499_187484315\",\n        \"recipient\": \"989394083499\",\n        \"isInBlackList\": false\n      }\n    ],\n    \"requestCode\": \"187484315\",\n    \"statusInt\": 2,\n    \"totalPrice\": 2284,\n    \"clientRef\": null\n  },\n  \"pagination\": null\n}"},{"id":"5d8707f9-184c-4030-8849-eaa59e3fce37","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"Informational\",\n  \"recipients\": [\n    \"09123456789\"\n  ],\n  \"patternCode\": \"110022\",\n  \"parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/pattern"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"},{"id":"8f84add3-7f37-45ae-9832-3787a1db1259","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"Informational\",\n  \"recipients\": [\n    \"09123456789\"\n  ],\n  \"patternCode\": \"110022\",\n  \"parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/pattern"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"d83e0d35-3ba7-4543-a86b-fe354ca323c9"},{"name":"Send Peer to Peer SMS (SendSmsP2PWithType)","id":"85db7eb8-9a5b-4994-bab0-0bc9e2432e1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"Type\": \"Informational\", // The message type, which determines the line used for sending (Informational, PromotionalToCustomers, PromotionalAll)\n  \"Requests\": [ // The list of per-recipient messages to send in this request\n    {\n      \"RefId\": \"order-10241\", // Your own reference ID, echoed back so you can track this group\n      \"TextMessage\": \"سلام علی، سفارش شما ارسال شد.\", // The message text sent to this group of recipients\n      \"Recipients\": [ // List of recipient mobile numbers\n        \"09123456789\"\n      ]\n    },\n    {\n      \"RefId\": \"order-10242\", // Your own reference ID, echoed back so you can track this group\n      \"TextMessage\": \"سلام مریم، سفارش شما ارسال شد.\", // The message text sent to this group of recipients\n      \"Recipients\": [ // List of recipient mobile numbers\n        \"09121234567\"\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/array","description":"<p>Send personalized SMS messages to multiple recipients (up to 1000)\nYou can either:\n    1. Specify a message type (Informational, PromotionalToCustomers, PromotionalAll)\n    2. Or specify a sending number directly</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","send","array"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[],"_postman_id":"85db7eb8-9a5b-4994-bab0-0bc9e2432e1c"},{"name":"Send Peer to Peer SMS (SendSmsP2PWithNumber)","id":"f95a8fb3-def3-4eb3-b666-0d74a058c280","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"SendingNumber\": \"9890009999\", // The number the message is sent from\n  \"Requests\": [ // The list of per-recipient messages to send in this request\n    {\n      \"RefId\": \"order-10241\", // Your own reference ID, echoed back so you can track this group\n      \"TextMessage\": \"سلام علی، سفارش شما ارسال شد.\", // The message text sent to this group of recipients\n      \"Recipients\": [ // List of recipient mobile numbers\n        \"09123456789\"\n      ]\n    },\n    {\n      \"RefId\": \"order-10242\", // Your own reference ID, echoed back so you can track this group\n      \"TextMessage\": \"سلام مریم، سفارش شما ارسال شد.\", // The message text sent to this group of recipients\n      \"Recipients\": [ // List of recipient mobile numbers\n        \"09121234567\"\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/array","description":"<p>Send personalized SMS messages to multiple recipients (up to 1000)\nYou can either:\n    1. Specify a message type (Informational, PromotionalToCustomers, PromotionalAll)\n    2. Or specify a sending number directly</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","send","array"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"32b6f5cb-f147-4d97-806a-7bc60cf5c373","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"Requests\": [\n    {\n      \"RefId\": \"order-10241\",\n      \"TextMessage\": \"سلام علی، سفارش شما ارسال شد.\",\n      \"Recipients\": [\n        \"09123456789\"\n      ]\n    },\n    {\n      \"RefId\": \"order-10241\",\n      \"TextMessage\": \"سلام علی، سفارش شما ارسال شد.\",\n      \"Recipients\": [\n        \"09123456789\"\n      ]\n    }\n  ],\n  \"Type\": \"Informational\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/array"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"},{"id":"3ba68983-54df-4be4-acf7-b8e87b194b55","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"Requests\": [\n    {\n      \"RefId\": \"order-10241\",\n      \"TextMessage\": \"سلام علی، سفارش شما ارسال شد.\",\n      \"Recipients\": [\n        \"09123456789\"\n      ]\n    },\n    {\n      \"RefId\": \"order-10241\",\n      \"TextMessage\": \"سلام علی، سفارش شما ارسال شد.\",\n      \"Recipients\": [\n        \"09123456789\"\n      ]\n    }\n  ],\n  \"Type\": \"Informational\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/array"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"4d5bfe9a-c84c-443f-a5bb-41f11c379795","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"Requests\": [\n    {\n      \"RefId\": \"order-10241\",\n      \"TextMessage\": \"سلام علی، سفارش شما ارسال شد.\",\n      \"Recipients\": [\n        \"09123456789\"\n      ]\n    },\n    {\n      \"RefId\": \"order-10241\",\n      \"TextMessage\": \"سلام علی، سفارش شما ارسال شد.\",\n      \"Recipients\": [\n        \"09123456789\"\n      ]\n    }\n  ],\n  \"Type\": \"Informational\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/array"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      \"string\",\n      \"string\"\n    ]\n  },\n  \"data\": {\n    \"TotalSent\": 8367,\n    \"TotalRequested\": 3348,\n    \"RefCodes\": [\n      {\n        \"Code\": \"string\",\n        \"RefId\": \"string\",\n        \"Mobiles\": [\n          \"string\",\n          \"string\"\n        ]\n      },\n      {\n        \"Code\": \"string\",\n        \"RefId\": \"string\",\n        \"Mobiles\": [\n          \"string\",\n          \"string\"\n        ]\n      }\n    ]\n  }\n}"},{"id":"ddbbc47f-5125-4158-9ea3-14e5da369825","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"Requests\": [\n    {\n      \"RefId\": \"order-10241\",\n      \"TextMessage\": \"سلام علی، سفارش شما ارسال شد.\",\n      \"Recipients\": [\n        \"09123456789\"\n      ]\n    },\n    {\n      \"RefId\": \"order-10241\",\n      \"TextMessage\": \"سلام علی، سفارش شما ارسال شد.\",\n      \"Recipients\": [\n        \"09123456789\"\n      ]\n    }\n  ],\n  \"Type\": \"Informational\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/sms/v1/send/array"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f95a8fb3-def3-4eb3-b666-0d74a058c280"},{"name":"Get Request Delivery Status","id":"6c1ba0be-8d31-4033-b867-0c4437ba2b6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/send-requests/status/:requestId","description":"<p>Get the delivery status of a message by request ID.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","send-requests","status",":requestId"],"host":["https://api.mediana.ir"],"query":[],"variable":[{"id":"fbbe8243-8f0b-43e2-9ee5-a1f52bdb5163","description":{"content":"<p>(Required) The unique identifier of the SMS request to check status for</p>\n","type":"text/plain"},"type":"any","value":"string","key":"requestId"}]}},"response":[{"id":"d303142d-4db2-4950-a4ab-c448d4fea729","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/status/:requestId","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","status",":requestId"],"variable":[{"key":"requestId","value":"string","description":"(Required) The unique identifier of the SMS request to check status for"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"status\": \"string\",\n    \"smsItems\": [\n      {\n        \"smsItemId\": \"string\",\n        \"recipient\": \"string\",\n        \"status\": \"MessageBlackListed\"\n      },\n      {\n        \"smsItemId\": \"string\",\n        \"recipient\": \"string\",\n        \"status\": \"Unknown\"\n      }\n    ]\n  }\n}"},{"id":"aae718bc-e600-4f2b-8c9f-24e71f42a1d5","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/status/:requestId","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","status",":requestId"],"variable":[{"key":"requestId","value":"string","description":"(Required) The unique identifier of the SMS request to check status for"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"de75791c-e0ca-402b-a2c8-59a2fc2dca82","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/status/:requestId","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","status",":requestId"],"variable":[{"key":"requestId","value":"string","description":"(Required) The unique identifier of the SMS request to check status for"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"3d3f9232-2359-4e02-a1f4-24b60fc32e35","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/status/:requestId","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","status",":requestId"],"variable":[{"key":"requestId","value":"string","description":"(Required) The unique identifier of the SMS request to check status for"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"6c1ba0be-8d31-4033-b867-0c4437ba2b6b"},{"name":"Get SMS Delivery Status","id":"4b0d586f-3a25-4639-a3ab-1ebaa72acbcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/send-requests/status/sms-item/:smsId","description":"<p>Get the delivery status of a message by sms ID.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","send-requests","status","sms-item",":smsId"],"host":["https://api.mediana.ir"],"query":[],"variable":[{"id":"8c8466b7-c6f1-4dc4-89e6-685cd2e26df9","description":{"content":"<p>(Required) The unique identifier of the SMS to check status for</p>\n","type":"text/plain"},"type":"any","value":"string","key":"smsId"}]}},"response":[{"id":"19eb8241-6e55-46b4-a580-627bb0fa067c","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/status/sms-item/:smsId","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","status","sms-item",":smsId"],"variable":[{"key":"smsId","value":"string","description":"(Required) The unique identifier of the SMS to check status for"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {},\n  \"data\": {\n    \"Recipient\": \"string\",\n    \"Status\": \"SendToOperator\",\n    \"SmsItemId\": \"string\"\n  }\n}"},{"id":"6c99dab6-e165-436e-b6c4-03921526a3f8","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/status/sms-item/:smsId","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","status","sms-item",":smsId"],"variable":[{"key":"smsId","value":"string","description":"(Required) The unique identifier of the SMS to check status for"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"d81a33b2-b478-490e-88f5-fa39ae9f8fd1","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/status/sms-item/:smsId","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","status","sms-item",":smsId"],"variable":[{"key":"smsId","value":"string","description":"(Required) The unique identifier of the SMS to check status for"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"d9f88b55-5a13-4a31-8d5a-698d77413875","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/status/sms-item/:smsId","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","status","sms-item",":smsId"],"variable":[{"key":"smsId","value":"string","description":"(Required) The unique identifier of the SMS to check status for"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"4b0d586f-3a25-4639-a3ab-1ebaa72acbcc"},{"name":"Get SMS List Delivery Status","id":"bdab3364-ca37-4f3a-bfd6-7d50082d8ab4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/send-requests/status/sms-list?messageCodes=string&messageCodes=string","description":"<p>Retrieve the delivery status of multiple SMS items by their Ids</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","send-requests","status","sms-list"],"host":["https://api.mediana.ir"],"query":[{"description":{"content":"<p>(Required) List of message codes to retrieve statuses for</p>\n","type":"text/plain"},"key":"messageCodes","value":"string"},{"description":{"content":"<p>(Required) List of message codes to retrieve statuses for</p>\n","type":"text/plain"},"key":"messageCodes","value":"string"}],"variable":[]}},"response":[{"id":"11f524dd-8db1-4240-9aac-1f2e9b9f198e","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/status/sms-list?messageCodes=string&messageCodes=string","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","status","sms-list"],"query":[{"key":"messageCodes","value":"string"},{"key":"messageCodes","value":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"meta\": {},\n    \"data\": {\n      \"Recipient\": \"string\",\n      \"Status\": \"Canceled\",\n      \"SmsItemId\": \"string\"\n    }\n  },\n  {\n    \"meta\": {},\n    \"data\": {\n      \"Recipient\": \"string\",\n      \"Status\": \"MessageBlackListed\",\n      \"SmsItemId\": \"string\"\n    }\n  }\n]"},{"id":"ba805ef7-ae57-46ba-a202-0c693c03766c","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/status/sms-list?messageCodes=string&messageCodes=string","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","status","sms-list"],"query":[{"key":"messageCodes","value":"string"},{"key":"messageCodes","value":"string"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"d79d8152-94a7-49e2-b742-5bdb6f0c861e","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/status/sms-list?messageCodes=string&messageCodes=string","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","status","sms-list"],"query":[{"key":"messageCodes","value":"string"},{"key":"messageCodes","value":"string"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a8ef343d-a9e2-4598-8218-e81458c29c8f","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/status/sms-list?messageCodes=string&messageCodes=string","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","status","sms-list"],"query":[{"key":"messageCodes","value":"string"},{"key":"messageCodes","value":"string"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"bdab3364-ca37-4f3a-bfd6-7d50082d8ab4"},{"name":"Get Sending Numbers","id":"c2ad1735-cec7-40e6-8c5e-ec935bc3651e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/account/lines","description":"<p>Retrieve a list of your active sending numbers.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","account","lines"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"597667f3-f205-4454-a56e-1828b1c5bace","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/account/lines"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"lines\": [\n    {\n      \"number\": \"string\",\n      \"description\": \"string\",\n      \"isDedicated\": false,\n      \"isAdvertisement\": true,\n      \"isService\": false,\n      \"usableUntil\": \"string\"\n    },\n    {\n      \"number\": \"string\",\n      \"description\": \"string\",\n      \"isDedicated\": false,\n      \"isAdvertisement\": false,\n      \"isService\": false,\n      \"usableUntil\": \"string\"\n    }\n  ]\n}"},{"id":"a8928f6c-139e-44fe-8e0a-9557e371bb17","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/account/lines"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"ca0e2af6-fa39-479c-abf6-78146cc94930","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":"https://api.mediana.ir/sms/v1/account/lines"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"106c45d2-e47d-4ae6-b4d4-a56960f45c5d","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/account/lines"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"c2ad1735-cec7-40e6-8c5e-ec935bc3651e"},{"name":"Get Inbox Messages","id":"76977c85-0589-49ae-a7e0-fcea46dbdd93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/send-requests/inbox?destination=string&destination=string&from=string&from=string&fromDate=1957-04-10T15:51:31.768Z&toDate=1957-04-10T15:51:31.768Z&status=Replied&skip=0&take=10&sort=ReceiveDateTime:desc","description":"<p>Retrieve messages from the inbox with specific status</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","send-requests","inbox"],"host":["https://api.mediana.ir"],"query":[{"description":{"content":"<p>List of destination numbers</p>\n","type":"text/plain"},"key":"destination","value":"string"},{"description":{"content":"<p>List of destination numbers</p>\n","type":"text/plain"},"key":"destination","value":"string"},{"description":{"content":"<p>List of sender phone numbers</p>\n","type":"text/plain"},"key":"from","value":"string"},{"description":{"content":"<p>List of sender phone numbers</p>\n","type":"text/plain"},"key":"from","value":"string"},{"description":{"content":"<p>Filter messages received from this date</p>\n","type":"text/plain"},"key":"fromDate","value":"1957-04-10T15:51:31.768Z"},{"description":{"content":"<p>Filter messages received up to this date</p>\n","type":"text/plain"},"key":"toDate","value":"1957-04-10T15:51:31.768Z"},{"description":{"content":"<p>Filter messages by status</p>\n","type":"text/plain"},"key":"status","value":"Replied"},{"description":{"content":"<p>Number of items to skip</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Number of items to take</p>\n","type":"text/plain"},"key":"take","value":"10"},{"description":{"content":"<p>Properties to sort by, e.g., ReceiveDateTime</p>\n","type":"text/plain"},"key":"sort","value":"ReceiveDateTime:desc"}],"variable":[]}},"response":[{"id":"68a87ae8-d28b-45c0-9ed1-1f3d839eb9ad","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/inbox?destination=string&destination=string&from=string&from=string&fromDate=1957-04-10T15:51:31.768Z&toDate=1957-04-10T15:51:31.768Z&status=Replied&skip=0&take=10&sort=ReceiveDateTime:desc","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","inbox"],"query":[{"key":"destination","value":"string"},{"key":"destination","value":"string"},{"key":"from","value":"string"},{"key":"from","value":"string"},{"key":"fromDate","value":"1957-04-10T15:51:31.768Z"},{"key":"toDate","value":"1957-04-10T15:51:31.768Z"},{"key":"status","value":"Replied"},{"key":"skip","value":"0"},{"key":"take","value":"10"},{"key":"sort","value":"ReceiveDateTime:desc"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"id\": \"e0d135d5-6831-ed81-7b1b-88ef468dea08\",\n      \"createDate\": \"1962-10-01T17:27:43.848Z\",\n      \"status\": \"Archived\",\n      \"receiveId\": 494,\n      \"sourceAddress\": \"string\",\n      \"destinationAddress\": \"string\",\n      \"messageText\": \"string\",\n      \"receiveDateTime\": \"2001-08-04T21:08:29.850Z\",\n      \"sourceId\": 8303\n    },\n    {\n      \"id\": \"bf263054-bca2-fecb-dde0-d36c8b87446f\",\n      \"createDate\": \"1977-02-03T16:34:59.309Z\",\n      \"status\": \"New\",\n      \"receiveId\": 474,\n      \"sourceAddress\": \"string\",\n      \"destinationAddress\": \"string\",\n      \"messageText\": \"string\",\n      \"receiveDateTime\": \"1960-06-06T05:48:27.953Z\",\n      \"sourceId\": 9290\n    }\n  ],\n  \"pagination\": {\n    \"total\": 201\n  }\n}"},{"id":"db7f36a2-d275-41a2-8c77-e13761fd54f6","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/inbox?destination=string&destination=string&from=string&from=string&fromDate=1957-04-10T15:51:31.768Z&toDate=1957-04-10T15:51:31.768Z&status=Replied&skip=0&take=10&sort=ReceiveDateTime:desc","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","inbox"],"query":[{"key":"destination","value":"string"},{"key":"destination","value":"string"},{"key":"from","value":"string"},{"key":"from","value":"string"},{"key":"fromDate","value":"1957-04-10T15:51:31.768Z"},{"key":"toDate","value":"1957-04-10T15:51:31.768Z"},{"key":"status","value":"Replied"},{"key":"skip","value":"0"},{"key":"take","value":"10"},{"key":"sort","value":"ReceiveDateTime:desc"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"b858f4d1-132e-4584-9fa0-3531859d9824","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/inbox?destination=string&destination=string&from=string&from=string&fromDate=1957-04-10T15:51:31.768Z&toDate=1957-04-10T15:51:31.768Z&status=Replied&skip=0&take=10&sort=ReceiveDateTime:desc","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","inbox"],"query":[{"key":"destination","value":"string"},{"key":"destination","value":"string"},{"key":"from","value":"string"},{"key":"from","value":"string"},{"key":"fromDate","value":"1957-04-10T15:51:31.768Z"},{"key":"toDate","value":"1957-04-10T15:51:31.768Z"},{"key":"status","value":"Replied"},{"key":"skip","value":"0"},{"key":"take","value":"10"},{"key":"sort","value":"ReceiveDateTime:desc"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"5f26f5ae-2535-4bf1-8329-818482641e98","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/send-requests/inbox?destination=string&destination=string&from=string&from=string&fromDate=1957-04-10T15:51:31.768Z&toDate=1957-04-10T15:51:31.768Z&status=Replied&skip=0&take=10&sort=ReceiveDateTime:desc","host":["https://api.mediana.ir"],"path":["sms","v1","send-requests","inbox"],"query":[{"key":"destination","value":"string"},{"key":"destination","value":"string"},{"key":"from","value":"string"},{"key":"from","value":"string"},{"key":"fromDate","value":"1957-04-10T15:51:31.768Z"},{"key":"toDate","value":"1957-04-10T15:51:31.768Z"},{"key":"status","value":"Replied"},{"key":"skip","value":"0"},{"key":"take","value":"10"},{"key":"sort","value":"ReceiveDateTime:desc"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"76977c85-0589-49ae-a7e0-fcea46dbdd93"}],"id":"9430d1ab-45d8-439d-b80f-99fb296dc67b","_postman_id":"9430d1ab-45d8-439d-b80f-99fb296dc67b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}}},{"name":"Messenger","item":[{"name":"Send Messenger OTP","id":"fe215bd0-0841-49cc-9e46-6127fc03e51f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\", // The pattern code to be used for sending the message\n  \"recipient\": \"09123456789\", // The recipient's mobile number\n  \"otp\": \"48213\", // The one-time password to be sent\n  \"sendingNumber\": \"09123456789\", // The number the message is sent from\n  \"messengerType\": \"Bale\" // The messenger the message is sent through\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/otp","description":"<p>Send a one-time password to a recipient via Messenger</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["Messenger","v1","send","otp"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"6f4990cb-be69-48fe-91e1-c802bb71d553","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"recipient\": \"09123456789\",\n  \"otp\": \"48213\",\n  \"sendingNumber\": \"09123456789\",\n  \"messengerType\": \"Bale\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/otp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"929de9cf-e4aa-4eba-af85-10eb3a4b2b3d\",\n    \"code\": \"OK\",\n    \"errorMessage\": null,\n    \"errors\": null\n  },\n  \"data\": {\n    \"succeed\": true,\n    \"requestId\": 187484315,\n    \"message\": \"در حال ساخت\",\n    \"status\": \"PendingApproval\",\n    \"smsItems\": [\n      {\n        \"smsItemId\": \"989394083499_187484315\",\n        \"recipient\": \"989394083499\",\n        \"isInBlackList\": false\n      }\n    ],\n    \"requestCode\": \"187484315\",\n    \"statusInt\": 2,\n    \"totalPrice\": 2284,\n    \"clientRef\": null\n  },\n  \"pagination\": null\n}"},{"id":"1153ae09-64c8-465c-b344-85354336db61","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"recipient\": \"09123456789\",\n  \"otp\": \"48213\",\n  \"sendingNumber\": \"09123456789\",\n  \"messengerType\": \"Bale\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/otp"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"7ddf75e4-ba0a-4b77-94e1-3ae576dc37de","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"recipient\": \"09123456789\",\n  \"otp\": \"48213\",\n  \"sendingNumber\": \"09123456789\",\n  \"messengerType\": \"Bale\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/otp"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"c1d70dc7-e604-49c4-a32a-dab2bbb3c646","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"recipient\": \"09123456789\",\n  \"otp\": \"48213\",\n  \"sendingNumber\": \"09123456789\",\n  \"messengerType\": \"Bale\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/otp"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"fe215bd0-0841-49cc-9e46-6127fc03e51f"},{"name":"Send Messenger Message","id":"0e334a52-cdb6-410a-b039-2ffefc23c310","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sendingNumber\": \"09123456789\", // The number the message is sent from\n  \"recipients\": [ // List of recipient mobile numbers\n    \"09123456789\"\n  ],\n  \"messageText\": \"تست پیام رسان مدیانا\", // The text content of the message\n  \"messengerType\": \"Bale\" // The messenger the message is sent through\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/message","description":"<p>Send a message to one or more recipients via Messenger</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["Messenger","v1","send","message"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"6d7ff40a-c555-4fed-ac19-95ea17c6e9b7","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sendingNumber\": \"09123456789\",\n  \"recipients\": [\n    \"09123456789\"\n  ],\n  \"messageText\": \"تست پیام رسان مدیانا\",\n  \"messengerType\": \"Bale\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/message"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"929de9cf-e4aa-4eba-af85-10eb3a4b2b3d\",\n    \"code\": \"OK\",\n    \"errorMessage\": null,\n    \"errors\": null\n  },\n  \"data\": {\n    \"succeed\": true,\n    \"requestId\": 187484315,\n    \"message\": \"در حال ساخت\",\n    \"status\": \"PendingApproval\",\n    \"smsItems\": [\n      {\n        \"smsItemId\": \"989394083499_187484315\",\n        \"recipient\": \"989394083499\",\n        \"isInBlackList\": false\n      }\n    ],\n    \"requestCode\": \"187484315\",\n    \"statusInt\": 2,\n    \"totalPrice\": 2284,\n    \"clientRef\": null\n  },\n  \"pagination\": null\n}"},{"id":"fed4ed15-1ed8-4fea-af43-7b497c673346","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sendingNumber\": \"09123456789\",\n  \"recipients\": [\n    \"09123456789\"\n  ],\n  \"messageText\": \"تست پیام رسان مدیانا\",\n  \"messengerType\": \"Bale\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/message"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"b45d05d1-bb78-4791-bf5d-285af2778447","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"sendingNumber\": \"09123456789\",\n  \"recipients\": [\n    \"09123456789\"\n  ],\n  \"messageText\": \"تست پیام رسان مدیانا\",\n  \"messengerType\": \"Bale\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/message"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"07c53cfb-db1f-45cc-a1a3-08883f263d25","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sendingNumber\": \"09123456789\",\n  \"recipients\": [\n    \"09123456789\"\n  ],\n  \"messageText\": \"تست پیام رسان مدیانا\",\n  \"messengerType\": \"Bale\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/message"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"0e334a52-cdb6-410a-b039-2ffefc23c310"},{"name":"Send Pattern Messenge","id":"a0536765-de2a-4a7b-976d-93b67d48f78e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sendingNumber\": \"09123456789\", // The number the message is sent from\n  \"recipients\": [ // Recipient mobile number (only one recipient is allowed)\n    \"09123456789\"\n  ],\n  \"patternCode\": \"110022\", // The pattern code to be used for sending the message\n  \"messengerType\": \"Bale\", // The messenger the message is sent through\n  \"parameters\": { // Key-value pairs that fill the placeholders defined in the pattern\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/pattern","description":"<p>Send a message using a predefined pattern code via Messenger</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["Messenger","v1","send","pattern"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"e1a9cf6d-44c2-4180-8e03-13e004889024","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sendingNumber\": \"09123456789\",\n  \"recipients\": [\n    \"09123456789\"\n  ],\n  \"patternCode\": \"110022\",\n  \"messengerType\": \"Bale\",\n  \"parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/pattern"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"929de9cf-e4aa-4eba-af85-10eb3a4b2b3d\",\n    \"code\": \"OK\",\n    \"errorMessage\": null,\n    \"errors\": null\n  },\n  \"data\": {\n    \"succeed\": true,\n    \"requestId\": 187484315,\n    \"message\": \"در حال ساخت\",\n    \"status\": \"PendingApproval\",\n    \"smsItems\": [\n      {\n        \"smsItemId\": \"989394083499_187484315\",\n        \"recipient\": \"989394083499\",\n        \"isInBlackList\": false\n      }\n    ],\n    \"requestCode\": \"187484315\",\n    \"statusInt\": 2,\n    \"totalPrice\": 2284,\n    \"clientRef\": null\n  },\n  \"pagination\": null\n}"},{"id":"8b80ecbc-7a28-45e9-afbf-cee2f62059e0","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sendingNumber\": \"09123456789\",\n  \"recipients\": [\n    \"09123456789\"\n  ],\n  \"patternCode\": \"110022\",\n  \"messengerType\": \"Bale\",\n  \"parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/pattern"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"3649c737-89e9-4021-a0f5-c3c9d2e9dacf","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"sendingNumber\": \"09123456789\",\n  \"recipients\": [\n    \"09123456789\"\n  ],\n  \"patternCode\": \"110022\",\n  \"messengerType\": \"Bale\",\n  \"parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/pattern"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"da6e1761-2f90-473b-a8a4-31c014b19eb9","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sendingNumber\": \"09123456789\",\n  \"recipients\": [\n    \"09123456789\"\n  ],\n  \"patternCode\": \"110022\",\n  \"messengerType\": \"Bale\",\n  \"parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Messenger/v1/send/pattern"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"a0536765-de2a-4a7b-976d-93b67d48f78e"}],"id":"bdd6a631-cd0c-4768-8dac-d56453509bde","_postman_id":"bdd6a631-cd0c-4768-8dac-d56453509bde","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}}},{"name":"Email","item":[{"name":"Send Email","id":"e6dab4f4-9beb-438d-8a61-ebcf96855c81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"From\": \"noreply@example.com\", // The sender's email address\n  \"To\": [ // List of recipient email addresses\n    \"ali.rezaei@example.com\"\n  ],\n  \"Body\": \"<p>مشتری گرامی، سفارش شما با موفقیت ثبت شد.</p>\", // The body content of the email\n  \"IsHtml\": true, // Set to true when the body contains HTML\n  \"Cc\": [ // List of email addresses to copy\n    \"support@example.com\"\n  ],\n  \"Subject\": \"تأیید سفارش\" // The subject line of the email\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Email/v1/send/message","description":"<p>Send an email message to one or more recipients (up to 100)</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["Email","v1","send","message"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"be2b5d11-1c10-45b7-a0b3-986e65a8ff2e","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"From\": \"noreply@example.com\",\n  \"To\": [\n    \"ali.rezaei@example.com\"\n  ],\n  \"Body\": \"<p>مشتری گرامی، سفارش شما با موفقیت ثبت شد.</p>\",\n  \"IsHtml\": true,\n  \"Cc\": [\n    \"support@example.com\"\n  ],\n  \"Subject\": \"تأیید سفارش\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Email/v1/send/message"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"929de9cf-e4aa-4eba-af85-10eb3a4b2b3d\",\n    \"code\": \"OK\",\n    \"errorMessage\": null,\n    \"errors\": null\n  },\n  \"data\": {\n    \"succeed\": true,\n    \"requestId\": 187484315,\n    \"message\": \"در حال ساخت\",\n    \"status\": \"PendingApproval\",\n    \"smsItems\": [\n      {\n        \"smsItemId\": \"989394083499_187484315\",\n        \"recipient\": \"989394083499\",\n        \"isInBlackList\": false\n      }\n    ],\n    \"requestCode\": \"187484315\",\n    \"statusInt\": 2,\n    \"totalPrice\": 2284,\n    \"clientRef\": null\n  },\n  \"pagination\": null\n}"},{"id":"0555357b-bcb7-47a2-af4d-6eea6ba02bdd","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"From\": \"noreply@example.com\",\n  \"To\": [\n    \"ali.rezaei@example.com\"\n  ],\n  \"Body\": \"<p>مشتری گرامی، سفارش شما با موفقیت ثبت شد.</p>\",\n  \"IsHtml\": true,\n  \"Cc\": [\n    \"support@example.com\"\n  ],\n  \"Subject\": \"تأیید سفارش\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Email/v1/send/message"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"d36daa7b-ff85-45fa-b793-aa491342520d","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"From\": \"noreply@example.com\",\n  \"To\": [\n    \"ali.rezaei@example.com\"\n  ],\n  \"Body\": \"<p>مشتری گرامی، سفارش شما با موفقیت ثبت شد.</p>\",\n  \"IsHtml\": true,\n  \"Cc\": [\n    \"support@example.com\"\n  ],\n  \"Subject\": \"تأیید سفارش\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Email/v1/send/message"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"7821b595-71b8-407f-b7be-cb9d40c95112","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"From\": \"noreply@example.com\",\n  \"To\": [\n    \"ali.rezaei@example.com\"\n  ],\n  \"Body\": \"<p>مشتری گرامی، سفارش شما با موفقیت ثبت شد.</p>\",\n  \"IsHtml\": true,\n  \"Cc\": [\n    \"support@example.com\"\n  ],\n  \"Subject\": \"تأیید سفارش\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Email/v1/send/message"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"e6dab4f4-9beb-438d-8a61-ebcf96855c81"},{"name":"Send Email Pattern","id":"691db37a-94de-4dc8-ae74-3faa3bb03729","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"From\": \"noreply@example.com\", // The sender's email address\n  \"To\": [ // List of recipient email addresses\n    \"ali.rezaei@example.com\"\n  ],\n  \"PatternCode\": \"110022\", // The pattern code to be used for sending the message\n  \"Parameters\": { // Key-value pairs that fill the placeholders defined in the pattern\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  },\n  \"Cc\": [ // List of email addresses to copy\n    \"support@example.com\"\n  ],\n  \"Bcc\": [ // List of email addresses to blind copy\n    \"archive@example.com\"\n  ],\n  \"Subject\": \"تأیید سفارش\", // The subject line of the email\n  \"Attachments\": [ // Files to attach to the email\n    {\n      \"FileName\": \"invoice-10241.pdf\", // The file name of the attachment\n      \"ContentType\": \"application/pdf\", // The MIME type of the attachment, for example application/pdf\n      \"Content\": \"JVBERi0xLjQKJeLjz9MK\" // Base64-encoded content of the attachment\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Email/v1/send/pattern","description":"<p>Send an email using a predefined pattern code</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["Email","v1","send","pattern"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"43d6381d-28e0-4b1e-b610-fd32ec3a99e0","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"From\": \"noreply@example.com\",\n  \"To\": [\n    \"ali.rezaei@example.com\"\n  ],\n  \"PatternCode\": \"110022\",\n  \"Parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  },\n  \"Cc\": [\n    \"support@example.com\"\n  ],\n  \"Bcc\": [\n    \"archive@example.com\"\n  ],\n  \"Subject\": \"تأیید سفارش\",\n  \"Attachments\": [\n    {\n      \"FileName\": \"invoice-10241.pdf\",\n      \"ContentType\": \"application/pdf\",\n      \"Content\": \"JVBERi0xLjQKJeLjz9MK\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Email/v1/send/pattern"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {},\n  \"data\": {}\n}"},{"id":"84983cf9-da1e-45ea-9400-b4a9dc7c1269","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"From\": \"noreply@example.com\",\n  \"To\": [\n    \"ali.rezaei@example.com\"\n  ],\n  \"PatternCode\": \"110022\",\n  \"Parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  },\n  \"Cc\": [\n    \"support@example.com\"\n  ],\n  \"Bcc\": [\n    \"archive@example.com\"\n  ],\n  \"Subject\": \"تأیید سفارش\",\n  \"Attachments\": [\n    {\n      \"FileName\": \"invoice-10241.pdf\",\n      \"ContentType\": \"application/pdf\",\n      \"Content\": \"JVBERi0xLjQKJeLjz9MK\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Email/v1/send/pattern"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"fc4c2410-2567-4350-826b-2fd2f19648b4","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"From\": \"noreply@example.com\",\n  \"To\": [\n    \"ali.rezaei@example.com\"\n  ],\n  \"PatternCode\": \"110022\",\n  \"Parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  },\n  \"Cc\": [\n    \"support@example.com\"\n  ],\n  \"Bcc\": [\n    \"archive@example.com\"\n  ],\n  \"Subject\": \"تأیید سفارش\",\n  \"Attachments\": [\n    {\n      \"FileName\": \"invoice-10241.pdf\",\n      \"ContentType\": \"application/pdf\",\n      \"Content\": \"JVBERi0xLjQKJeLjz9MK\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Email/v1/send/pattern"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"1741d703-a683-456a-a316-5dd631e95513","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"From\": \"noreply@example.com\",\n  \"To\": [\n    \"ali.rezaei@example.com\"\n  ],\n  \"PatternCode\": \"110022\",\n  \"Parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  },\n  \"Cc\": [\n    \"support@example.com\"\n  ],\n  \"Bcc\": [\n    \"archive@example.com\"\n  ],\n  \"Subject\": \"تأیید سفارش\",\n  \"Attachments\": [\n    {\n      \"FileName\": \"invoice-10241.pdf\",\n      \"ContentType\": \"application/pdf\",\n      \"Content\": \"JVBERi0xLjQKJeLjz9MK\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Email/v1/send/pattern"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"691db37a-94de-4dc8-ae74-3faa3bb03729"}],"id":"0828702a-7fcf-42fa-801b-109c9f79549f","_postman_id":"0828702a-7fcf-42fa-801b-109c9f79549f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}}},{"name":"Voip","item":[{"name":"Send VoIP OTP","id":"9925ac89-f8ab-43bf-8a88-708ccd9e0d87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"recipient\": \"09123456789\", // The recipient's mobile number\n  \"otp\": \"48213\" // The one-time password to be sent\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Voip/v1/send/otp","description":"<p>Send a one-time password to a recipient via a VoIP call</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["Voip","v1","send","otp"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"7b3d0763-79b0-4d70-819c-85e678de89b6","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"recipient\": \"09123456789\",\n  \"otp\": \"48213\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Voip/v1/send/otp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"929de9cf-e4aa-4eba-af85-10eb3a4b2b3d\",\n    \"code\": \"OK\",\n    \"errorMessage\": null,\n    \"errors\": null\n  },\n  \"data\": {\n    \"succeed\": true,\n    \"requestId\": 187484315,\n    \"message\": \"در حال ساخت\",\n    \"status\": \"PendingApproval\",\n    \"smsItems\": [\n      {\n        \"smsItemId\": \"989394083499_187484315\",\n        \"recipient\": \"989394083499\",\n        \"isInBlackList\": false\n      }\n    ],\n    \"requestCode\": \"187484315\",\n    \"statusInt\": 2,\n    \"totalPrice\": 2284,\n    \"clientRef\": null\n  },\n  \"pagination\": null\n}"},{"id":"2fa29502-802d-4f10-982a-31f7bec5e02b","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"recipient\": \"09123456789\",\n  \"otp\": \"48213\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Voip/v1/send/otp"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"6fbd3fa6-56d9-46d5-a456-97c8afcd5a02","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"recipient\": \"09123456789\",\n  \"otp\": \"48213\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Voip/v1/send/otp"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"bc5cafce-99e0-4a5d-90a3-76e6301ef13b","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"recipient\": \"09123456789\",\n  \"otp\": \"48213\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/Voip/v1/send/otp"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"9925ac89-f8ab-43bf-8a88-708ccd9e0d87"}],"id":"fff1dd8b-fab0-4178-826c-720500a4a534","_postman_id":"fff1dd8b-fab0-4178-826c-720500a4a534","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}}},{"name":"Common","item":[{"name":"Get Pattern Details","id":"d8a9d0a2-3fb7-4f7f-8337-09528edfe70d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/get/pattern/:patternCode","description":"<p>Retrieve details of a specific pattern by its ID</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","get","pattern",":patternCode"],"host":["https://api.mediana.ir"],"query":[],"variable":[{"id":"9efafc2e-f91e-4dde-bcac-ead4ad9ede49","description":{"content":"<p>(Required) The unique code of the SMS pattern to retrieve</p>\n","type":"text/plain"},"type":"any","value":"string","key":"patternCode"}]}},"response":[{"id":"ba5e2574-7c56-4a1b-ad54-1e82b11b91cb","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/get/pattern/:patternCode","host":["https://api.mediana.ir"],"path":["sms","v1","get","pattern",":patternCode"],"variable":[{"key":"patternCode","value":"string","description":"(Required) The unique code of the SMS pattern to retrieve"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"messagePatternId\": 8946,\n    \"title\": \"string\",\n    \"type\": \"string\",\n    \"isUsable\": true,\n    \"code\": \"string\",\n    \"description\": \"string\",\n    \"thePattern\": {\n      \"pattern\": \"string\",\n      \"status\": \"string\",\n      \"sendingNumber\": \"string\",\n      \"isLockedBySendingNumber\": false,\n      \"approvalDescription\": \"string\",\n      \"fields\": [\n        {\n          \"FieldTitle\": \"string\",\n          \"FieldKey\": \"string\",\n          \"MaxCharacters\": 1235,\n          \"FieldType\": \"string\"\n        },\n        {\n          \"FieldTitle\": \"string\",\n          \"FieldKey\": \"string\",\n          \"MaxCharacters\": 5925,\n          \"FieldType\": \"string\"\n        }\n      ]\n    },\n    \"settingInfo\": {\n      \"Website\": \"string\",\n      \"AverageSendingCount\": 2414\n    },\n    \"patterns\": [\n      {\n        \"Pattern\": \"string\",\n        \"Status\": \"string\"\n      },\n      {\n        \"Pattern\": \"string\",\n        \"Status\": \"string\"\n      }\n    ],\n    \"CreateDate\": \"1979-05-01T14:15:36.759Z\"\n  }\n}"},{"id":"6b8b28c4-a661-4b68-b6b0-080a1221e7e5","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/get/pattern/:patternCode","host":["https://api.mediana.ir"],"path":["sms","v1","get","pattern",":patternCode"],"variable":[{"key":"patternCode","value":"string","description":"(Required) The unique code of the SMS pattern to retrieve"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"411ecea4-ab63-4e12-ac3a-637e54fd49cd","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.mediana.ir/sms/v1/get/pattern/:patternCode","host":["https://api.mediana.ir"],"path":["sms","v1","get","pattern",":patternCode"],"variable":[{"key":"patternCode","value":"string","description":"(Required) The unique code of the SMS pattern to retrieve"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"32b704ae-7fd7-463d-9746-dc4c1936a57a","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/get/pattern/:patternCode","host":["https://api.mediana.ir"],"path":["sms","v1","get","pattern",":patternCode"],"variable":[{"key":"patternCode","value":"string","description":"(Required) The unique code of the SMS pattern to retrieve"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"d8a9d0a2-3fb7-4f7f-8337-09528edfe70d"},{"name":"Get Pattern Code by Title","id":"67f9244c-0298-49a8-8b14-fd981d209fb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/get/pattern-title/:patternTitle","description":"<p>Search and retrieve patterns matching a specific title</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","get","pattern-title",":patternTitle"],"host":["https://api.mediana.ir"],"query":[],"variable":[{"id":"247e39f9-6cea-4a56-ac7d-8600214be255","description":{"content":"<p>(Required) The unique code of the SMS pattern to retrieve</p>\n","type":"text/plain"},"type":"any","value":"string","key":"patternTitle"}]}},"response":[{"id":"f0db7f68-0372-4cd8-ac98-24ce5e6ad291","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/get/pattern-title/:patternTitle","host":["https://api.mediana.ir"],"path":["sms","v1","get","pattern-title",":patternTitle"],"variable":[{"key":"patternTitle","value":"string","description":"(Required) The unique code of the SMS pattern to retrieve"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"patternCodes\": [\n      \"string\",\n      \"string\"\n    ]\n  }\n}"},{"id":"ba0118e4-3cfb-4cae-95e8-8e26332e68b6","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/get/pattern-title/:patternTitle","host":["https://api.mediana.ir"],"path":["sms","v1","get","pattern-title",":patternTitle"],"variable":[{"key":"patternTitle","value":"string","description":"(Required) The unique code of the SMS pattern to retrieve"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"6d053e8e-3b07-416f-a173-df742376f53d","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.mediana.ir/sms/v1/get/pattern-title/:patternTitle","host":["https://api.mediana.ir"],"path":["sms","v1","get","pattern-title",":patternTitle"],"variable":[{"key":"patternTitle","value":"string","description":"(Required) The unique code of the SMS pattern to retrieve"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"fb027115-8094-41e0-aec5-c6c42807562f","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/sms/v1/get/pattern-title/:patternTitle","host":["https://api.mediana.ir"],"path":["sms","v1","get","pattern-title",":patternTitle"],"variable":[{"key":"patternTitle","value":"string","description":"(Required) The unique code of the SMS pattern to retrieve"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"67f9244c-0298-49a8-8b14-fd981d209fb6"},{"name":"Get Account Balance","id":"8ed86990-f19b-41ce-94c2-40eb05a7442d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/account/balance","description":"<p>Retrieve the current balance of your account</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["sms","v1","account","balance"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"eb3f1712-ddf9-403e-b3d8-409506c27b28","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/account/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"balance\": 9358\n  }\n}"},{"id":"0602bcfb-21f0-4b83-940d-751479e2af82","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/account/balance"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"c4b838ed-3713-43a4-adec-c1cea7a70c64","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":"https://api.mediana.ir/sms/v1/account/balance"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"16a655ed-38b5-4260-b7d7-0e01b6444b77","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/sms/v1/account/balance"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"8ed86990-f19b-41ce-94c2-40eb05a7442d"}],"id":"a06ae534-0767-48ea-abde-721979429e5f","_postman_id":"a06ae534-0767-48ea-abde-721979429e5f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}}},{"name":"Omni Channel Messaging","item":[{"name":"Send OTP","id":"4faca831-35be-4db4-b9bb-e03e62cd21fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\", // The pattern code to be used for sending the message\n  \"recipient\": \"09123456789\", // The recipient's contact information (mobile number or email address)\n  \"otp\": \"48213\", // The one-time password to be sent\n  \"configCode\": \"110022\" // Configuration code defining the priority and channels for sending. Define it in the Mediana panel under Developer -> Omni Configurations\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/otp","description":"<p>Send a one-time password to a recipient via multiple channels (SMS, Messenger, Email) based on user defined priority and configuration.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["omnichannel","v1","send","otp"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"2e06d2e4-e4bd-4846-9bb0-c2814e3e8ea6","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"recipient\": \"09123456789\",\n  \"otp\": \"48213\",\n  \"configCode\": \"110022\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/otp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      \"string\",\n      \"string\"\n    ]\n  },\n  \"data\": {\n    \"omniChannelRequestId\": 6729\n  }\n}"},{"id":"ff86e61e-9138-4bb6-8128-ff91ae7a9330","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"recipient\": \"09123456789\",\n  \"otp\": \"48213\",\n  \"configCode\": \"110022\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/otp"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"e3fe0aba-bc12-4055-9c1e-560365837a5f","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"recipient\": \"09123456789\",\n  \"otp\": \"48213\",\n  \"configCode\": \"110022\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/otp"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"8adf9046-226b-4ad3-bff7-53d205dd918c","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"recipient\": \"09123456789\",\n  \"otp\": \"48213\",\n  \"configCode\": \"110022\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/otp"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"4faca831-35be-4db4-b9bb-e03e62cd21fa"},{"name":"Send Normal","id":"62e2944b-c441-4ea9-9f62-c78fa3e60408","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"messageText\": \"مشتری گرامی، سفارش شما با موفقیت ثبت شد.\", // The text content of the message\n  \"recipient\": \"09123456789\", // The recipient's contact information (mobile number or email address)\n  \"configCode\": \"110022\", // Configuration code defining the priority and channels for sending. Define it in the Mediana panel under Developer -> Omni Configurations\n  \"type\": \"Informational\" // The message type, which determines the line used for sending (Informational, PromotionalToCustomers, PromotionalAll)\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/normal","description":"<p>Send a standard message to a recipient via multiple channels (SMS, Messenger, Email) based on user defined priority and configuration.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["omnichannel","v1","send","normal"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"61117e31-2c68-45c4-bd37-44fe66fab208","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"messageText\": \"مشتری گرامی، سفارش شما با موفقیت ثبت شد.\",\n  \"recipient\": \"09123456789\",\n  \"configCode\": \"110022\",\n  \"type\": \"Informational\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/normal"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      \"string\",\n      \"string\"\n    ]\n  },\n  \"data\": {\n    \"omniChannelRequestId\": 5302\n  }\n}"},{"id":"5573ba8c-07d3-435c-9fea-2226640afd56","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"messageText\": \"مشتری گرامی، سفارش شما با موفقیت ثبت شد.\",\n  \"recipient\": \"09123456789\",\n  \"configCode\": \"110022\",\n  \"type\": \"Informational\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/normal"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"898c37ac-7b56-4110-aeef-57233fba0435","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"messageText\": \"مشتری گرامی، سفارش شما با موفقیت ثبت شد.\",\n  \"recipient\": \"09123456789\",\n  \"configCode\": \"110022\",\n  \"type\": \"Informational\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/normal"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a28bba3c-3061-4f69-9a88-1305010398c1","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"messageText\": \"مشتری گرامی، سفارش شما با موفقیت ثبت شد.\",\n  \"recipient\": \"09123456789\",\n  \"configCode\": \"110022\",\n  \"type\": \"Informational\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/normal"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"62e2944b-c441-4ea9-9f62-c78fa3e60408"},{"name":"Send Pattern","id":"70c2a4da-feaf-4142-9bd4-fc8914a9712c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\", // The pattern code to be used for sending the message\n  \"parameters\": { // Key-value pairs that fill the placeholders defined in the pattern\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  },\n  \"recipient\": \"09123456789\", // The recipient's contact information (mobile number or email address)\n  \"configCode\": \"110022\", // Configuration code defining the priority and channels for sending. Define it in the Mediana panel under Developer -> Omni Configurations\n  \"type\": \"Informational\" // The message type, which determines the line used for sending (Informational, PromotionalToCustomers, PromotionalAll)\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/pattern","description":"<p>Send a message using a predefined pattern code to a recipient via multiple channels (SMS, Messenger, Email) based on user defined priority and configuration.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["omnichannel","v1","send","pattern"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"f6c66b48-f9d3-48ab-8ded-23d8cb924a80","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  },\n  \"recipient\": \"09123456789\",\n  \"configCode\": \"110022\",\n  \"type\": \"Informational\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/pattern"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      \"string\",\n      \"string\"\n    ]\n  },\n  \"data\": {\n    \"omniChannelRequestId\": 5302\n  }\n}"},{"id":"c186241e-71bc-4940-8b4f-aae1505af487","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  },\n  \"recipient\": \"09123456789\",\n  \"configCode\": \"110022\",\n  \"type\": \"Informational\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/pattern"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"a5aee289-169e-43b4-ba25-331523ac5355","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  },\n  \"recipient\": \"09123456789\",\n  \"configCode\": \"110022\",\n  \"type\": \"Informational\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/pattern"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a8a80172-ef07-4913-933c-6aab58612709","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"patternCode\": \"110022\",\n  \"parameters\": {\n    \"name\": \"علی رضایی\",\n    \"code\": \"48213\"\n  },\n  \"recipient\": \"09123456789\",\n  \"configCode\": \"110022\",\n  \"type\": \"Informational\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/omnichannel/v1/send/pattern"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"70c2a4da-feaf-4142-9bd4-fc8914a9712c"},{"name":"Get Delivery Status","id":"cb871669-ef34-47e5-b6f1-2d094e86781c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/omnichannel/v1/status/:omniChannelRequestId","description":"<p>Retrieve the request status and the message status for each communication channel.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["omnichannel","v1","status",":omniChannelRequestId"],"host":["https://api.mediana.ir"],"query":[],"variable":[{"id":"2467a0bb-c78d-4fc1-b248-6ffab17148aa","description":{"content":"<p>(Required) The unique Id of the Request</p>\n","type":"text/plain"},"type":"any","value":"string","key":"omniChannelRequestId"}]}},"response":[{"id":"36ae82da-11cb-4bed-94c2-74a2f9185b21","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/omnichannel/v1/status/:omniChannelRequestId","host":["https://api.mediana.ir"],"path":["omnichannel","v1","status",":omniChannelRequestId"],"variable":[{"key":"omniChannelRequestId","value":"string","description":"(Required) The unique Id of the Request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"InProgress\",\n  \"createDate\": \"2020-01-21T23:27:45.183Z\",\n  \"RequestItems\": [\n    {\n      \"sender\": \"string\",\n      \"channelType\": \"Telegram\",\n      \"scheduledTime\": \"1986-11-19T10:48:54.744Z\",\n      \"messageStatus\": \"string\",\n      \"errorMessage\": \"string\",\n      \"status\": \"Completed\"\n    },\n    {\n      \"sender\": \"string\",\n      \"channelType\": \"Sorush\",\n      \"scheduledTime\": \"1977-04-02T08:52:18.161Z\",\n      \"messageStatus\": \"string\",\n      \"errorMessage\": \"string\",\n      \"status\": \"Completed\"\n    }\n  ]\n}"},{"id":"487e1762-fd59-464e-aa46-1058a857e50f","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/omnichannel/v1/status/:omniChannelRequestId","host":["https://api.mediana.ir"],"path":["omnichannel","v1","status",":omniChannelRequestId"],"variable":[{"key":"omniChannelRequestId","value":"string","description":"(Required) The unique Id of the Request"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"3903f650-c9db-4f3b-afbc-fec8bff64e03","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.mediana.ir/omnichannel/v1/status/:omniChannelRequestId","host":["https://api.mediana.ir"],"path":["omnichannel","v1","status",":omniChannelRequestId"],"variable":[{"key":"omniChannelRequestId","value":"string","description":"(Required) The unique Id of the Request"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a6089321-15d9-4b09-9d12-f8d2844f2efc","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/omnichannel/v1/status/:omniChannelRequestId","host":["https://api.mediana.ir"],"path":["omnichannel","v1","status",":omniChannelRequestId"],"variable":[{"key":"omniChannelRequestId","value":"string","description":"(Required) The unique Id of the Request"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"cb871669-ef34-47e5-b6f1-2d094e86781c"}],"id":"0664304e-8428-4393-879e-62ff30ed4cc1","_postman_id":"0664304e-8428-4393-879e-62ff30ed4cc1","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}}},{"name":"CDP Marketing","item":[{"name":"E-commerce Order","id":"484eb0cb-c4ff-45d8-871c-88d59752eca2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id\": 10241, // The order's ID in your own system\n  \"orderKey\": \"wc_order_aBc123XyZ\", // The unique key of the order\n  \"status\": \"pending\", // Current status of the order, for example pending or completed\n  \"siteAddress\": \"https://shop.example.com\", // The address of the website the data belongs to\n  \"total\": 2450000, // Final payable amount of the order\n  \"subtotal\": 2600000, // Total of the order items before discount and shipping\n  \"discountTotal\": 150000, // Total discount applied to the order\n  \"shippingTotal\": 0, // Total shipping cost of the order\n  \"currency\": \"IRR\", // Currency code of the amounts, for example IRR\n  \"paymentMethod\": \"online\", // The payment method used for the order\n  \"dateCreated\": \"2025-08-18T06:43:51.987Z\", // When the order was created, in ISO 8601 format\n  \"billing\": { // Billing address and contact details\n    \"firstName\": \"علی\", // First name\n    \"lastName\": \"رضایی\", // Last name\n    \"company\": \"فروشگاه نمونه\", // Company name\n    \"address1\": \"تهران، خیابان ولیعصر، پلاک ۱۲۰\", // Street address, first line\n    \"address2\": \"طبقه دوم، واحد ۳\", // Street address, second line\n    \"city\": \"تهران\", // City\n    \"state\": \"تهران\", // State or province\n    \"postcode\": \"1968843561\", // Postal code\n    \"country\": \"IR\", // Country\n    \"email\": \"ali.rezaei@example.com\", // Contact email address\n    \"phone\": \"09123456789\" // The user's contact phone number\n  },\n  \"shipping\": { // Shipping address and contact details\n    \"firstName\": \"علی\", // First name\n    \"lastName\": \"رضایی\", // Last name\n    \"company\": \"فروشگاه نمونه\", // Company name\n    \"address1\": \"تهران، خیابان ولیعصر، پلاک ۱۲۰\", // Street address, first line\n    \"address2\": \"طبقه دوم، واحد ۳\", // Street address, second line\n    \"city\": \"تهران\", // City\n    \"state\": \"تهران\", // State or province\n    \"postcode\": \"1968843561\", // Postal code\n    \"country\": \"IR\", // Country\n    \"email\": \"ali.rezaei@example.com\", // Contact email address\n    \"phone\": \"09123456789\" // The user's contact phone number\n  },\n  \"items\": [ // The line items that make up the order\n    {\n      \"id\": 1, // The line item's ID in your own system\n      \"productId\": 512, // The product's ID in your own system\n      \"variationId\": 1024, // The ID of the selected product variation\n      \"name\": \"کفش ورزشی\", // Name of the product as it appears on the order\n      \"quantity\": 2, // Number of units ordered\n      \"subtotal\": 2600000, // Line total before discount\n      \"total\": 2450000, // Line total after discount\n      \"price\": 1300000, // Unit price of the product\n      \"sku\": \"SHOE-RED-42\", // Stock keeping unit code of the product\n      \"variation\": { // The selected variation attributes, as key-value pairs\n        \"color\": \"red\",\n        \"size\": \"42\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/order","description":"<p>Create a new e-commerce or update existing order in the system</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["journey","v1","e-commerce","order"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"91c69685-04aa-43ac-842a-9a13b5c497ac","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id\": 10241,\n  \"orderKey\": \"wc_order_aBc123XyZ\",\n  \"status\": \"pending\",\n  \"siteAddress\": \"https://shop.example.com\",\n  \"total\": 2450000,\n  \"subtotal\": 2600000,\n  \"discountTotal\": 150000,\n  \"shippingTotal\": 0,\n  \"currency\": \"IRR\",\n  \"paymentMethod\": \"online\",\n  \"dateCreated\": \"2025-08-18T06:43:51.987Z\",\n  \"billing\": {\n    \"firstName\": \"علی\",\n    \"lastName\": \"رضایی\",\n    \"company\": \"فروشگاه نمونه\",\n    \"address1\": \"تهران، خیابان ولیعصر، پلاک ۱۲۰\",\n    \"address2\": \"طبقه دوم، واحد ۳\",\n    \"city\": \"تهران\",\n    \"state\": \"تهران\",\n    \"postcode\": \"1968843561\",\n    \"country\": \"IR\",\n    \"email\": \"ali.rezaei@example.com\",\n    \"phone\": \"09123456789\"\n  },\n  \"shipping\": {\n    \"firstName\": \"علی\",\n    \"lastName\": \"رضایی\",\n    \"company\": \"فروشگاه نمونه\",\n    \"address1\": \"تهران، خیابان ولیعصر، پلاک ۱۲۰\",\n    \"address2\": \"طبقه دوم، واحد ۳\",\n    \"city\": \"تهران\",\n    \"state\": \"تهران\",\n    \"postcode\": \"1968843561\",\n    \"country\": \"IR\",\n    \"email\": \"ali.rezaei@example.com\",\n    \"phone\": \"09123456789\"\n  },\n  \"items\": [\n    {\n      \"id\": 1,\n      \"productId\": 512,\n      \"variationId\": 1024,\n      \"name\": \"کفش ورزشی\",\n      \"quantity\": 2,\n      \"subtotal\": 2600000,\n      \"total\": 2450000,\n      \"price\": 1300000,\n      \"sku\": \"SHOE-RED-42\",\n      \"variation\": {\n        \"color\": \"red\",\n        \"size\": \"42\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/order"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {},\n  \"data\": {}\n}"},{"id":"bc49ad95-40c9-494e-9cdb-37ca6741326f","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id\": 10241,\n  \"orderKey\": \"wc_order_aBc123XyZ\",\n  \"status\": \"pending\",\n  \"siteAddress\": \"https://shop.example.com\",\n  \"total\": 2450000,\n  \"subtotal\": 2600000,\n  \"discountTotal\": 150000,\n  \"shippingTotal\": 0,\n  \"currency\": \"IRR\",\n  \"paymentMethod\": \"online\",\n  \"dateCreated\": \"2025-08-18T06:43:51.987Z\",\n  \"billing\": {\n    \"firstName\": \"علی\",\n    \"lastName\": \"رضایی\",\n    \"company\": \"فروشگاه نمونه\",\n    \"address1\": \"تهران، خیابان ولیعصر، پلاک ۱۲۰\",\n    \"address2\": \"طبقه دوم، واحد ۳\",\n    \"city\": \"تهران\",\n    \"state\": \"تهران\",\n    \"postcode\": \"1968843561\",\n    \"country\": \"IR\",\n    \"email\": \"ali.rezaei@example.com\",\n    \"phone\": \"09123456789\"\n  },\n  \"shipping\": {\n    \"firstName\": \"علی\",\n    \"lastName\": \"رضایی\",\n    \"company\": \"فروشگاه نمونه\",\n    \"address1\": \"تهران، خیابان ولیعصر، پلاک ۱۲۰\",\n    \"address2\": \"طبقه دوم، واحد ۳\",\n    \"city\": \"تهران\",\n    \"state\": \"تهران\",\n    \"postcode\": \"1968843561\",\n    \"country\": \"IR\",\n    \"email\": \"ali.rezaei@example.com\",\n    \"phone\": \"09123456789\"\n  },\n  \"items\": [\n    {\n      \"id\": 1,\n      \"productId\": 512,\n      \"variationId\": 1024,\n      \"name\": \"کفش ورزشی\",\n      \"quantity\": 2,\n      \"subtotal\": 2600000,\n      \"total\": 2450000,\n      \"price\": 1300000,\n      \"sku\": \"SHOE-RED-42\",\n      \"variation\": {\n        \"color\": \"red\",\n        \"size\": \"42\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/order"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"336de3fb-7422-4db2-9d49-954fdd17d76a","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"id\": 10241,\n  \"orderKey\": \"wc_order_aBc123XyZ\",\n  \"status\": \"pending\",\n  \"siteAddress\": \"https://shop.example.com\",\n  \"total\": 2450000,\n  \"subtotal\": 2600000,\n  \"discountTotal\": 150000,\n  \"shippingTotal\": 0,\n  \"currency\": \"IRR\",\n  \"paymentMethod\": \"online\",\n  \"dateCreated\": \"2025-08-18T06:43:51.987Z\",\n  \"billing\": {\n    \"firstName\": \"علی\",\n    \"lastName\": \"رضایی\",\n    \"company\": \"فروشگاه نمونه\",\n    \"address1\": \"تهران، خیابان ولیعصر، پلاک ۱۲۰\",\n    \"address2\": \"طبقه دوم، واحد ۳\",\n    \"city\": \"تهران\",\n    \"state\": \"تهران\",\n    \"postcode\": \"1968843561\",\n    \"country\": \"IR\",\n    \"email\": \"ali.rezaei@example.com\",\n    \"phone\": \"09123456789\"\n  },\n  \"shipping\": {\n    \"firstName\": \"علی\",\n    \"lastName\": \"رضایی\",\n    \"company\": \"فروشگاه نمونه\",\n    \"address1\": \"تهران، خیابان ولیعصر، پلاک ۱۲۰\",\n    \"address2\": \"طبقه دوم، واحد ۳\",\n    \"city\": \"تهران\",\n    \"state\": \"تهران\",\n    \"postcode\": \"1968843561\",\n    \"country\": \"IR\",\n    \"email\": \"ali.rezaei@example.com\",\n    \"phone\": \"09123456789\"\n  },\n  \"items\": [\n    {\n      \"id\": 1,\n      \"productId\": 512,\n      \"variationId\": 1024,\n      \"name\": \"کفش ورزشی\",\n      \"quantity\": 2,\n      \"subtotal\": 2600000,\n      \"total\": 2450000,\n      \"price\": 1300000,\n      \"sku\": \"SHOE-RED-42\",\n      \"variation\": {\n        \"color\": \"red\",\n        \"size\": \"42\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/order"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"1713ff54-3ca7-4934-823a-1a9208552e39","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id\": 10241,\n  \"orderKey\": \"wc_order_aBc123XyZ\",\n  \"status\": \"pending\",\n  \"siteAddress\": \"https://shop.example.com\",\n  \"total\": 2450000,\n  \"subtotal\": 2600000,\n  \"discountTotal\": 150000,\n  \"shippingTotal\": 0,\n  \"currency\": \"IRR\",\n  \"paymentMethod\": \"online\",\n  \"dateCreated\": \"2025-08-18T06:43:51.987Z\",\n  \"billing\": {\n    \"firstName\": \"علی\",\n    \"lastName\": \"رضایی\",\n    \"company\": \"فروشگاه نمونه\",\n    \"address1\": \"تهران، خیابان ولیعصر، پلاک ۱۲۰\",\n    \"address2\": \"طبقه دوم، واحد ۳\",\n    \"city\": \"تهران\",\n    \"state\": \"تهران\",\n    \"postcode\": \"1968843561\",\n    \"country\": \"IR\",\n    \"email\": \"ali.rezaei@example.com\",\n    \"phone\": \"09123456789\"\n  },\n  \"shipping\": {\n    \"firstName\": \"علی\",\n    \"lastName\": \"رضایی\",\n    \"company\": \"فروشگاه نمونه\",\n    \"address1\": \"تهران، خیابان ولیعصر، پلاک ۱۲۰\",\n    \"address2\": \"طبقه دوم، واحد ۳\",\n    \"city\": \"تهران\",\n    \"state\": \"تهران\",\n    \"postcode\": \"1968843561\",\n    \"country\": \"IR\",\n    \"email\": \"ali.rezaei@example.com\",\n    \"phone\": \"09123456789\"\n  },\n  \"items\": [\n    {\n      \"id\": 1,\n      \"productId\": 512,\n      \"variationId\": 1024,\n      \"name\": \"کفش ورزشی\",\n      \"quantity\": 2,\n      \"subtotal\": 2600000,\n      \"total\": 2450000,\n      \"price\": 1300000,\n      \"sku\": \"SHOE-RED-42\",\n      \"variation\": {\n        \"color\": \"red\",\n        \"size\": \"42\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/order"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"484eb0cb-c4ff-45d8-871c-88d59752eca2"},{"name":"E-commerce Signup","id":"50cac221-63f7-493b-b433-70a79fab2c91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"userId\": 1042, // The user's ID in your own system\n  \"userLogin\": \"ali.rezaei\", // The username the user signs in with\n  \"userEmail\": \"ali.rezaei@example.com\", // The user's email address\n  \"userRegistered\": \"2025-08-18T06:48:07.362Z\", // When the user registered, in ISO 8601 format\n  \"displayName\": \"علی رضایی\", // The user's display name\n  \"roles\": [ // The roles assigned to the user\n    \"customer\"\n  ],\n  \"phone\": \"09123456789\", // The user's contact phone number\n  \"siteAddress\": \"https://shop.example.com\" // The address of the website the data belongs to\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/signup","description":"<p>Register a new user in the e-commerce system</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["journey","v1","e-commerce","signup"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"bd18b018-41ed-4c0e-b29e-1e18b7a2571b","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"userId\": 1042,\n  \"userLogin\": \"ali.rezaei\",\n  \"userEmail\": \"ali.rezaei@example.com\",\n  \"userRegistered\": \"2025-08-18T06:48:07.362Z\",\n  \"displayName\": \"علی رضایی\",\n  \"roles\": [\n    \"customer\"\n  ],\n  \"phone\": \"09123456789\",\n  \"siteAddress\": \"https://shop.example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/signup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {},\n  \"data\": {}\n}"},{"id":"4a99cb6e-0a37-4475-aa63-d0812aaba62e","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"userId\": 1042,\n  \"userLogin\": \"ali.rezaei\",\n  \"userEmail\": \"ali.rezaei@example.com\",\n  \"userRegistered\": \"2025-08-18T06:48:07.362Z\",\n  \"displayName\": \"علی رضایی\",\n  \"roles\": [\n    \"customer\"\n  ],\n  \"phone\": \"09123456789\",\n  \"siteAddress\": \"https://shop.example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/signup"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"d1d6e04e-323c-443f-83e0-1ce87c4c1054","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"userId\": 1042,\n  \"userLogin\": \"ali.rezaei\",\n  \"userEmail\": \"ali.rezaei@example.com\",\n  \"userRegistered\": \"2025-08-18T06:48:07.362Z\",\n  \"displayName\": \"علی رضایی\",\n  \"roles\": [\n    \"customer\"\n  ],\n  \"phone\": \"09123456789\",\n  \"siteAddress\": \"https://shop.example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/signup"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"fde6d57a-ba3d-4c12-8091-fff1b2cb4523","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"userId\": 1042,\n  \"userLogin\": \"ali.rezaei\",\n  \"userEmail\": \"ali.rezaei@example.com\",\n  \"userRegistered\": \"2025-08-18T06:48:07.362Z\",\n  \"displayName\": \"علی رضایی\",\n  \"roles\": [\n    \"customer\"\n  ],\n  \"phone\": \"09123456789\",\n  \"siteAddress\": \"https://shop.example.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/signup"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"50cac221-63f7-493b-b433-70a79fab2c91"},{"name":"E-commerce Products","id":"6ed62c72-77f8-45e3-9862-707d0d1c98de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"SiteAddress\": \"https://shop.example.com\", // The address of the website the data belongs to\n  \"Items\": [ // The products to add or update\n    {\n      \"Name\": \"کفش ورزشی\", // Name of the product\n      \"Price\": 1300000, // Unit price of the product\n      \"RegularPrice\": 1500000, // Price before any sale\n      \"SalePrice\": 1300000, // Discounted sale price\n      \"ProductId\": 512, // The product's ID in your own system\n      \"Sku\": \"SHOE-RED-42\", // Stock keeping unit code of the product\n      \"Description\": \"کفش ورزشی سبک با زیره ضد لغزش، مناسب دویدن و پیاده‌روی روزانه.\", // Full description of the product\n      \"ShortDescription\": \"کفش ورزشی سبک و ضد لغزش\", // Short description of the product\n      \"Type\": \"variable\", // Type of the product, for example simple or variable\n      \"ProductType\": \"variable\", // Type of the product, for example simple or variable\n      \"Currency\": \"IRR\", // Currency code of the amounts, for example IRR\n      \"Categories\": [ // Categories the product belongs to\n        {\n          \"Id\": 7, // Category ID in your own system\n          \"Name\": \"کفش\" // Category name\n        }\n      ],\n      \"Tags\": [ // Tags attached to the product\n        {\n          \"Id\": 21, // Tag ID in your own system\n          \"Name\": \"ورزشی\" // Tag name\n        }\n      ],\n      \"Images\": { // Image shown for the product\n        \"Id\": 3, // Image ID in your own system\n        \"Src\": \"http://example.com/image.jpg\", // Publicly reachable URL of the image\n        \"Alt\": \"کفش ورزشی قرمز\" // Alternative text for the image\n      },\n      \"Variations\": [ // The purchasable variations of the product\n        {\n          \"VariationId\": 1024, // Variation ID in your own system\n          \"Sku\": \"SHOE-RED-42\", // Stock keeping unit code of the product\n          \"Attributes\": { // Attributes that define this variation, such as color or size\n            \"color\": \"red\",\n            \"size\": \"42\"\n          },\n          \"Price\": 1300000 // Unit price of the product\n        }\n      ]\n    },\n    {\n      \"Name\": \"کفش ورزشی\", // Name of the product\n      \"Price\": 1300000, // Unit price of the product\n      \"RegularPrice\": 1500000, // Price before any sale\n      \"SalePrice\": 1300000, // Discounted sale price\n      \"ProductId\": 512, // The product's ID in your own system\n      \"Sku\": \"SHOE-RED-42\", // Stock keeping unit code of the product\n      \"Description\": \"کفش ورزشی سبک با زیره ضد لغزش، مناسب دویدن و پیاده‌روی روزانه.\", // Full description of the product\n      \"ShortDescription\": \"کفش ورزشی سبک و ضد لغزش\", // Short description of the product\n      \"Type\": \"variable\", // Type of the product, for example simple or variable\n      \"ProductType\": \"variable\", // Type of the product, for example simple or variable\n      \"Currency\": \"IRR\", // Currency code of the amounts, for example IRR\n      \"Categories\": [ // Categories the product belongs to\n        {\n          \"Id\": 7, // Category ID in your own system\n          \"Name\": \"کفش\" // Category name\n        }\n      ],\n      \"Tags\": [ // Tags attached to the product\n        {\n          \"Id\": 21, // Tag ID in your own system\n          \"Name\": \"ورزشی\" // Tag name\n        }\n      ],\n      \"Images\": { // Image shown for the product\n        \"Id\": 3, // Image ID in your own system\n        \"Src\": \"http://example.com/image.jpg\", // Publicly reachable URL of the image\n        \"Alt\": \"کفش ورزشی قرمز\" // Alternative text for the image\n      },\n      \"Variations\": [ // The purchasable variations of the product\n        {\n          \"VariationId\": 1024, // Variation ID in your own system\n          \"Sku\": \"SHOE-RED-42\", // Stock keeping unit code of the product\n          \"Attributes\": { // Attributes that define this variation, such as color or size\n            \"color\": \"red\",\n            \"size\": \"42\"\n          },\n          \"Price\": 1300000 // Unit price of the product\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/products","description":"<p>Add or update products in the e-commerce system</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["journey","v1","e-commerce","products"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"e13eaf75-a7e9-4a64-89fe-0d325af3debf","name":"Successful response","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"SiteAddress\": \"https://shop.example.com\",\n  \"Items\": [\n    {\n      \"Name\": \"کفش ورزشی\",\n      \"Price\": 1300000,\n      \"RegularPrice\": 1500000,\n      \"SalePrice\": 1300000,\n      \"ProductId\": 512,\n      \"Sku\": \"SHOE-RED-42\",\n      \"Description\": \"کفش ورزشی سبک با زیره ضد لغزش، مناسب دویدن و پیاده‌روی روزانه.\",\n      \"ShortDescription\": \"کفش ورزشی سبک و ضد لغزش\",\n      \"Type\": \"variable\",\n      \"ProductType\": \"variable\",\n      \"Currency\": \"IRR\",\n      \"Categories\": [\n        {\n          \"Id\": 7,\n          \"Name\": \"کفش\"\n        }\n      ],\n      \"Tags\": [\n        {\n          \"Id\": 21,\n          \"Name\": \"ورزشی\"\n        }\n      ],\n      \"Images\": {\n        \"Id\": 3,\n        \"Src\": \"http://example.com/image.jpg\",\n        \"Alt\": \"کفش ورزشی قرمز\"\n      },\n      \"Variations\": [\n        {\n          \"VariationId\": 1024,\n          \"Sku\": \"SHOE-RED-42\",\n          \"Attributes\": {\n            \"color\": \"red\",\n            \"size\": \"42\"\n          },\n          \"Price\": 1300000\n        }\n      ]\n    },\n    {\n      \"Name\": \"کفش ورزشی\",\n      \"Price\": 1300000,\n      \"RegularPrice\": 1500000,\n      \"SalePrice\": 1300000,\n      \"ProductId\": 512,\n      \"Sku\": \"SHOE-RED-42\",\n      \"Description\": \"کفش ورزشی سبک با زیره ضد لغزش، مناسب دویدن و پیاده‌روی روزانه.\",\n      \"ShortDescription\": \"کفش ورزشی سبک و ضد لغزش\",\n      \"Type\": \"variable\",\n      \"ProductType\": \"variable\",\n      \"Currency\": \"IRR\",\n      \"Categories\": [\n        {\n          \"Id\": 7,\n          \"Name\": \"کفش\"\n        }\n      ],\n      \"Tags\": [\n        {\n          \"Id\": 21,\n          \"Name\": \"ورزشی\"\n        }\n      ],\n      \"Images\": {\n        \"Id\": 3,\n        \"Src\": \"http://example.com/image.jpg\",\n        \"Alt\": \"کفش ورزشی قرمز\"\n      },\n      \"Variations\": [\n        {\n          \"VariationId\": 1024,\n          \"Sku\": \"SHOE-RED-42\",\n          \"Attributes\": {\n            \"color\": \"red\",\n            \"size\": \"42\"\n          },\n          \"Price\": 1300000\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/products"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {},\n  \"data\": {}\n}"},{"id":"964bec9e-88ee-4881-b5f1-bed6b01ba1f4","name":"Bad Request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"SiteAddress\": \"https://shop.example.com\",\n  \"Items\": [\n    {\n      \"Name\": \"کفش ورزشی\",\n      \"Price\": 1300000,\n      \"RegularPrice\": 1500000,\n      \"SalePrice\": 1300000,\n      \"ProductId\": 512,\n      \"Sku\": \"SHOE-RED-42\",\n      \"Description\": \"کفش ورزشی سبک با زیره ضد لغزش، مناسب دویدن و پیاده‌روی روزانه.\",\n      \"ShortDescription\": \"کفش ورزشی سبک و ضد لغزش\",\n      \"Type\": \"variable\",\n      \"ProductType\": \"variable\",\n      \"Currency\": \"IRR\",\n      \"Categories\": [\n        {\n          \"Id\": 7,\n          \"Name\": \"کفش\"\n        }\n      ],\n      \"Tags\": [\n        {\n          \"Id\": 21,\n          \"Name\": \"ورزشی\"\n        }\n      ],\n      \"Images\": {\n        \"Id\": 3,\n        \"Src\": \"http://example.com/image.jpg\",\n        \"Alt\": \"کفش ورزشی قرمز\"\n      },\n      \"Variations\": [\n        {\n          \"VariationId\": 1024,\n          \"Sku\": \"SHOE-RED-42\",\n          \"Attributes\": {\n            \"color\": \"red\",\n            \"size\": \"42\"\n          },\n          \"Price\": 1300000\n        }\n      ]\n    },\n    {\n      \"Name\": \"کفش ورزشی\",\n      \"Price\": 1300000,\n      \"RegularPrice\": 1500000,\n      \"SalePrice\": 1300000,\n      \"ProductId\": 512,\n      \"Sku\": \"SHOE-RED-42\",\n      \"Description\": \"کفش ورزشی سبک با زیره ضد لغزش، مناسب دویدن و پیاده‌روی روزانه.\",\n      \"ShortDescription\": \"کفش ورزشی سبک و ضد لغزش\",\n      \"Type\": \"variable\",\n      \"ProductType\": \"variable\",\n      \"Currency\": \"IRR\",\n      \"Categories\": [\n        {\n          \"Id\": 7,\n          \"Name\": \"کفش\"\n        }\n      ],\n      \"Tags\": [\n        {\n          \"Id\": 21,\n          \"Name\": \"ورزشی\"\n        }\n      ],\n      \"Images\": {\n        \"Id\": 3,\n        \"Src\": \"http://example.com/image.jpg\",\n        \"Alt\": \"کفش ورزشی قرمز\"\n      },\n      \"Variations\": [\n        {\n          \"VariationId\": 1024,\n          \"Sku\": \"SHOE-RED-42\",\n          \"Attributes\": {\n            \"color\": \"red\",\n            \"size\": \"42\"\n          },\n          \"Price\": 1300000\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/products"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"2c7dc5b0-c3f1-42f1-b2c9-1256dee7fd9e","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"SiteAddress\": \"https://shop.example.com\",\n  \"Items\": [\n    {\n      \"Name\": \"کفش ورزشی\",\n      \"Price\": 1300000,\n      \"RegularPrice\": 1500000,\n      \"SalePrice\": 1300000,\n      \"ProductId\": 512,\n      \"Sku\": \"SHOE-RED-42\",\n      \"Description\": \"کفش ورزشی سبک با زیره ضد لغزش، مناسب دویدن و پیاده‌روی روزانه.\",\n      \"ShortDescription\": \"کفش ورزشی سبک و ضد لغزش\",\n      \"Type\": \"variable\",\n      \"ProductType\": \"variable\",\n      \"Currency\": \"IRR\",\n      \"Categories\": [\n        {\n          \"Id\": 7,\n          \"Name\": \"کفش\"\n        }\n      ],\n      \"Tags\": [\n        {\n          \"Id\": 21,\n          \"Name\": \"ورزشی\"\n        }\n      ],\n      \"Images\": {\n        \"Id\": 3,\n        \"Src\": \"http://example.com/image.jpg\",\n        \"Alt\": \"کفش ورزشی قرمز\"\n      },\n      \"Variations\": [\n        {\n          \"VariationId\": 1024,\n          \"Sku\": \"SHOE-RED-42\",\n          \"Attributes\": {\n            \"color\": \"red\",\n            \"size\": \"42\"\n          },\n          \"Price\": 1300000\n        }\n      ]\n    },\n    {\n      \"Name\": \"کفش ورزشی\",\n      \"Price\": 1300000,\n      \"RegularPrice\": 1500000,\n      \"SalePrice\": 1300000,\n      \"ProductId\": 512,\n      \"Sku\": \"SHOE-RED-42\",\n      \"Description\": \"کفش ورزشی سبک با زیره ضد لغزش، مناسب دویدن و پیاده‌روی روزانه.\",\n      \"ShortDescription\": \"کفش ورزشی سبک و ضد لغزش\",\n      \"Type\": \"variable\",\n      \"ProductType\": \"variable\",\n      \"Currency\": \"IRR\",\n      \"Categories\": [\n        {\n          \"Id\": 7,\n          \"Name\": \"کفش\"\n        }\n      ],\n      \"Tags\": [\n        {\n          \"Id\": 21,\n          \"Name\": \"ورزشی\"\n        }\n      ],\n      \"Images\": {\n        \"Id\": 3,\n        \"Src\": \"http://example.com/image.jpg\",\n        \"Alt\": \"کفش ورزشی قرمز\"\n      },\n      \"Variations\": [\n        {\n          \"VariationId\": 1024,\n          \"Sku\": \"SHOE-RED-42\",\n          \"Attributes\": {\n            \"color\": \"red\",\n            \"size\": \"42\"\n          },\n          \"Price\": 1300000\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/products"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"d4421215-6908-4dbd-833d-204b87a29baf","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"SiteAddress\": \"https://shop.example.com\",\n  \"Items\": [\n    {\n      \"Name\": \"کفش ورزشی\",\n      \"Price\": 1300000,\n      \"RegularPrice\": 1500000,\n      \"SalePrice\": 1300000,\n      \"ProductId\": 512,\n      \"Sku\": \"SHOE-RED-42\",\n      \"Description\": \"کفش ورزشی سبک با زیره ضد لغزش، مناسب دویدن و پیاده‌روی روزانه.\",\n      \"ShortDescription\": \"کفش ورزشی سبک و ضد لغزش\",\n      \"Type\": \"variable\",\n      \"ProductType\": \"variable\",\n      \"Currency\": \"IRR\",\n      \"Categories\": [\n        {\n          \"Id\": 7,\n          \"Name\": \"کفش\"\n        }\n      ],\n      \"Tags\": [\n        {\n          \"Id\": 21,\n          \"Name\": \"ورزشی\"\n        }\n      ],\n      \"Images\": {\n        \"Id\": 3,\n        \"Src\": \"http://example.com/image.jpg\",\n        \"Alt\": \"کفش ورزشی قرمز\"\n      },\n      \"Variations\": [\n        {\n          \"VariationId\": 1024,\n          \"Sku\": \"SHOE-RED-42\",\n          \"Attributes\": {\n            \"color\": \"red\",\n            \"size\": \"42\"\n          },\n          \"Price\": 1300000\n        }\n      ]\n    },\n    {\n      \"Name\": \"کفش ورزشی\",\n      \"Price\": 1300000,\n      \"RegularPrice\": 1500000,\n      \"SalePrice\": 1300000,\n      \"ProductId\": 512,\n      \"Sku\": \"SHOE-RED-42\",\n      \"Description\": \"کفش ورزشی سبک با زیره ضد لغزش، مناسب دویدن و پیاده‌روی روزانه.\",\n      \"ShortDescription\": \"کفش ورزشی سبک و ضد لغزش\",\n      \"Type\": \"variable\",\n      \"ProductType\": \"variable\",\n      \"Currency\": \"IRR\",\n      \"Categories\": [\n        {\n          \"Id\": 7,\n          \"Name\": \"کفش\"\n        }\n      ],\n      \"Tags\": [\n        {\n          \"Id\": 21,\n          \"Name\": \"ورزشی\"\n        }\n      ],\n      \"Images\": {\n        \"Id\": 3,\n        \"Src\": \"http://example.com/image.jpg\",\n        \"Alt\": \"کفش ورزشی قرمز\"\n      },\n      \"Variations\": [\n        {\n          \"VariationId\": 1024,\n          \"Sku\": \"SHOE-RED-42\",\n          \"Attributes\": {\n            \"color\": \"red\",\n            \"size\": \"42\"\n          },\n          \"Price\": 1300000\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mediana.ir/journey/v1/e-commerce/products"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"6ed62c72-77f8-45e3-9862-707d0d1c98de"},{"name":"Get My Journeys","id":"f9fd2ebe-3807-4f31-a126-3640f7a44243","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/journey/v1/e-commerce/my-journeys","description":"<p>Retrieve a list of your defined customer journeys for current user</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["journey","v1","e-commerce","my-journeys"],"host":["https://api.mediana.ir"],"query":[],"variable":[]}},"response":[{"id":"cc13b432-bbb6-4d17-a220-4e0b7c04e399","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/journey/v1/e-commerce/my-journeys"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": [\n    {\n      \"type\": \"CustomerLearning\",\n      \"url\": \"string\",\n      \"journeys\": [\n        {\n          \"id\": \"string\",\n          \"title\": \"string\"\n        },\n        {\n          \"id\": \"string\",\n          \"title\": \"string\"\n        }\n      ]\n    },\n    {\n      \"type\": \"AbandonedBasket\",\n      \"url\": \"string\",\n      \"journeys\": [\n        {\n          \"id\": \"string\",\n          \"title\": \"string\"\n        },\n        {\n          \"id\": \"string\",\n          \"title\": \"string\"\n        }\n      ]\n    }\n  ]\n}"},{"id":"3870f724-f9d0-4fc2-a945-d3a788161667","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/journey/v1/e-commerce/my-journeys"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"ac96d6f7-2c36-44bb-935b-329d8aef0423","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":"https://api.mediana.ir/journey/v1/e-commerce/my-journeys"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"d389de1b-4431-4a34-bfb5-ac7e44fec88a","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/journey/v1/e-commerce/my-journeys"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"f9fd2ebe-3807-4f31-a126-3640f7a44243"}],"id":"2b2d2ca4-fd41-42a8-81d9-1100dd68eeec","_postman_id":"2b2d2ca4-fd41-42a8-81d9-1100dd68eeec","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}}},{"name":"Web Tracker","item":[{"name":"Get Web Tracker Script","id":"47b3a5b2-0090-4ddf-b4b2-1af9da856f0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/webtracker/v1/webtracker-script?domain=string","description":"<p>Retrieve the JavaScript snippet for web tracking</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["webtracker","v1","webtracker-script"],"host":["https://api.mediana.ir"],"query":[{"description":{"content":"<p>(Required) The domain of your website like example.com</p>\n","type":"text/plain"},"key":"domain","value":"string"}],"variable":[]}},"response":[{"id":"fc668b9f-c086-4494-8026-1d017f133b50","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/webtracker/v1/webtracker-script?domain=string","host":["https://api.mediana.ir"],"path":["webtracker","v1","webtracker-script"],"query":[{"key":"domain","value":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {},\n  \"data\": {\n    \"trackerCode\": \"string\"\n  }\n}"},{"id":"3299b036-2b56-4b78-9a71-f5d2853244bc","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/webtracker/v1/webtracker-script?domain=string","host":["https://api.mediana.ir"],"path":["webtracker","v1","webtracker-script"],"query":[{"key":"domain","value":"string"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"9b044e35-bf0b-41f2-8d73-d67d5387684b","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.mediana.ir/webtracker/v1/webtracker-script?domain=string","host":["https://api.mediana.ir"],"path":["webtracker","v1","webtracker-script"],"query":[{"key":"domain","value":"string"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"d6a50b84-15db-4a58-882b-d36023519f55","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/webtracker/v1/webtracker-script?domain=string","host":["https://api.mediana.ir"],"path":["webtracker","v1","webtracker-script"],"query":[{"key":"domain","value":"string"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 6221\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 3348\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"47b3a5b2-0090-4ddf-b4b2-1af9da856f0d"},{"name":"Get Statistics","id":"9ff6b874-dd57-4fcd-9c90-acc0517b7e92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.mediana.ir/webtracker/v1/stats?domain=string&periodDays=7","description":"<p>Retrieve statistics for tracked website for aspecified time period</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}},"urlObject":{"path":["webtracker","v1","stats"],"host":["https://api.mediana.ir"],"query":[{"description":{"content":"<p>(Required) The domain of your website like example.com</p>\n","type":"text/plain"},"key":"domain","value":"string"},{"description":{"content":"<p>Number of days to look back for statistics</p>\n","type":"text/plain"},"key":"periodDays","value":"7"}],"variable":[]}},"response":[{"id":"3ebc4e66-64e1-41bc-a0d2-386b34a098e5","name":"Successful response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/webtracker/v1/stats?domain=string&periodDays=7","host":["https://api.mediana.ir"],"path":["webtracker","v1","stats"],"query":[{"key":"domain","value":"string"},{"key":"periodDays","value":"7"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"Domain\": \"string\",\n    \"Title\": \"string\",\n    \"Status\": \"string\",\n    \"Visitors\": 3779,\n    \"VisitorsCompare\": 8242.695403577427,\n    \"Visits\": 20,\n    \"VisitsCompare\": 6200.904760327652,\n    \"PageViews\": 4160,\n    \"PageViewsCompare\": 7262.8035903583395,\n    \"BounceRate\": 4846.0249136902785,\n    \"BounceRateCompare\": 3880.0176750640426,\n    \"VisitDuration\": 8526.30446461336,\n    \"VisitDurationCompare\": 96.14324341851832,\n    \"VisitorsData\": {\n      \"TopBrowsers\": [\n        {\n          \"Key\": \"string\",\n          \"Value\": 2005,\n          \"Percent\": 7902\n        },\n        {\n          \"Key\": \"string\",\n          \"Value\": 1780,\n          \"Percent\": 701\n        }\n      ],\n      \"TopDevices\": [\n        {\n          \"Key\": \"string\",\n          \"Value\": 484,\n          \"Percent\": 8384\n        },\n        {\n          \"Key\": \"string\",\n          \"Value\": 5515,\n          \"Percent\": 8626\n        }\n      ],\n      \"TopOperatingSystem\": [\n        {\n          \"Key\": \"string\",\n          \"Value\": 696,\n          \"Percent\": 6183\n        },\n        {\n          \"Key\": \"string\",\n          \"Value\": 1524,\n          \"Percent\": 4852\n        }\n      ],\n      \"TopCountries\": [\n        {\n          \"Key\": \"string\",\n          \"Value\": 8986,\n          \"Percent\": 9716\n        },\n        {\n          \"Key\": \"string\",\n          \"Value\": 7390,\n          \"Percent\": 2686\n        }\n      ]\n    },\n    \"InputChannelsData\": {\n      \"TopInputChannels\": [\n        {\n          \"Key\": \"string\",\n          \"Value\": 4891,\n          \"Percent\": 1765\n        },\n        {\n          \"Key\": \"string\",\n          \"Value\": 4797,\n          \"Percent\": 2025\n        }\n      ],\n      \"TopSources\": [\n        {\n          \"Key\": \"string\",\n          \"Value\": 71,\n          \"Percent\": 258\n        },\n        {\n          \"Key\": \"string\",\n          \"Value\": 7326,\n          \"Percent\": 9230\n        }\n      ],\n      \"TopCampaigns\": [\n        {\n          \"Key\": \"string\",\n          \"Value\": 1727,\n          \"Percent\": 6720\n        },\n        {\n          \"Key\": \"string\",\n          \"Value\": 7796,\n          \"Percent\": 6830\n        }\n      ]\n    },\n    \"PagesData\": {\n      \"MostViewedPages\": [\n        {\n          \"Key\": \"string\",\n          \"Value\": 3543,\n          \"Percent\": 92\n        },\n        {\n          \"Key\": \"string\",\n          \"Value\": 5439,\n          \"Percent\": 5553\n        }\n      ],\n      \"MostEntryPages\": [\n        {\n          \"Key\": \"string\",\n          \"Value\": 4108,\n          \"Percent\": 5673\n        },\n        {\n          \"Key\": \"string\",\n          \"Value\": 6950,\n          \"Percent\": 420\n        }\n      ],\n      \"MostExitPages\": [\n        {\n          \"Key\": \"string\",\n          \"Value\": 8175,\n          \"Percent\": 9576\n        },\n        {\n          \"Key\": \"string\",\n          \"Value\": 9353,\n          \"Percent\": 6278\n        }\n      ]\n    },\n    \"VisitorsFeedback\": {\n      \"MostViewedDuration\": [\n        {\n          \"Key\": \"string\",\n          \"Value\": 8532,\n          \"Percent\": 6876\n        },\n        {\n          \"Key\": \"string\",\n          \"Value\": 4945,\n          \"Percent\": 830\n        }\n      ],\n      \"MostBounceRate\": [\n        {\n          \"Key\": \"string\",\n          \"Value\": 6784,\n          \"Percent\": 5005\n        },\n        {\n          \"Key\": \"string\",\n          \"Value\": 923,\n          \"Percent\": 2173\n        }\n      ]\n    }\n  }\n}"},{"id":"066dbba0-2e5f-4988-9999-6488481ce62a","name":"Bad Request","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/webtracker/v1/stats?domain=string&periodDays=7","host":["https://api.mediana.ir"],"path":["webtracker","v1","stats"],"query":[{"key":"domain","value":"string"},{"key":"periodDays","value":"7"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"requestId\": \"c3d5972e-8112-4281-89f2-226d4bdb5c52\",\n    \"code\": \"BadRequest\",\n    \"errorMessage\": \"پترن مورد نظر یافت نشد\",\n    \"errors\": [\n      {\n        \"key\": \"error\",\n        \"errors\": [\n          \"پترن مورد نظر یافت نشد\"\n        ],\n        \"errorCode\": 0\n      }\n    ]\n  },\n  \"data\": null,\n  \"pagination\": null\n}"},{"id":"4e31a657-993f-4a81-83ad-a17850b57e25","name":"Unauthorized – API key missing or invalid","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.mediana.ir/webtracker/v1/stats?domain=string&periodDays=7","host":["https://api.mediana.ir"],"path":["webtracker","v1","stats"],"query":[{"key":"domain","value":"string"},{"key":"periodDays","value":"7"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"5d8d1362-3fba-4fd7-bff0-954bd51ac44f","name":"Internal Server Error (Contact support!)","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"},{"key":"Accept","value":"application/json"}],"url":{"raw":"https://api.mediana.ir/webtracker/v1/stats?domain=string&periodDays=7","host":["https://api.mediana.ir"],"path":["webtracker","v1","stats"],"query":[{"key":"domain","value":"string"},{"key":"periodDays","value":"7"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"meta\": {\n    \"code\": \"string\",\n    \"errorMessage\": \"string\",\n    \"errors\": [\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 4115\n      },\n      {\n        \"key\": \"string\",\n        \"errors\": [\n          \"string\",\n          \"string\"\n        ],\n        \"errorCode\": 9034\n      }\n    ]\n  },\n  \"data\": {}\n}"}],"_postman_id":"9ff6b874-dd57-4fcd-9c90-acc0517b7e92"}],"id":"812dc54f-343c-415a-a5ec-ec6928d1279f","_postman_id":"812dc54f-343c-415a-a5ec-ec6928d1279f","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","id":"46fcce35-5c7a-4e47-9c6c-17dbf348c34c","name":"Mediana API Documentation","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-KEY"},{"key":"value","value":"{{apiKey}}"}]}},"variable":[{"key":"baseUrl","value":"https://api.mediana.ir","type":"string"}]}