{"info":{"_postman_id":"7bdfcb34-1d5d-4c6c-8172-d50c32243e51","name":"MFT Gateway REST API","description":"<html><head></head><body><p>This is the official documentation for <a href=\"https://mftgateway.com/\">MFT Gateway</a> REST API</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"12285357","collectionId":"7bdfcb34-1d5d-4c6c-8172-d50c32243e51","publishedId":"UV5WEe66","public":true,"customColor":{"top-bar":"F0F8FF","right-sidebar":"303030","highlight":"1E90FF"},"publishDate":"2026-04-09T08:23:15.000Z"},"item":[{"name":"Authorization","item":[{"name":"Authorize","id":"6e4f18bc-2566-4108-8a32-77d60c661ac2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tokenID\": \"<Token_ID>\",\n    \"tokenSecret\": \"<Token_Secret>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/authorize","description":"<p>MFT Gateway authorization end-point.</p>\n<p>You can use one of the 2 authorization methods.</p>\n<ol>\n<li><p>Authorization with API token and secret</p>\n</li>\n<li><p>Authorization with username and password (legacy)</p>\n</li>\n</ol>\n<p>After successfully authorized, you will receive two tokens <strong>apiToken</strong> and <strong>refreshToken</strong>. When using API token based authorization, the apiToken is valid for 2 hours, while for username and password based authorization it is valid for 1 hour. In both cases, the refreshToken is valid for 30 days. The response includes an <strong>apiTokenExpiry</strong> field that indicates when the apiToken expires (deprecated soon) and an <strong>apiTokenExpiryIn</strong> field that indicates the apiToken lifetime in seconds. The <strong>apiToken</strong> must be included in the <strong>Authorization</strong> header of every protected API request. The <strong>refreshToken</strong> can be used for re-authorization process without user password/API secret by using \"Refresh Auth Token\" end-point.</p>\n","urlObject":{"protocol":"https","path":["authorize"],"host":["api","mftgateway","com"],"query":[],"variable":[]}},"response":[{"id":"dd831b11-69ef-42c7-b056-b26ccce87e79","name":"Failed Authorization","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"tokenID\": \"<Token_ID>\",\n    \"tokenSecret\": \"<Token_Secret>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/authorize"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"42"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 17 Jul 2020 06:07:19 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Authentication Failed: Bad credentials\"\n}"},{"id":"60f333ea-35bd-43ea-8d95-2085ac229b31","name":"Successful Authorization with Username and Password","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"myemail@mydomain.com\",\n    \"password\": \"Abc@1234\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/authorize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3343"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 17 Jul 2020 06:00:32 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"apiToken\": \"<JWT_token>\",\n    \"apiTokenExpiry\": \"<Expiration_time> (⚠️ This field will be deprecated soon - use apiTokenExpiryIn)\",\n    \"apiTokenExpiryIn\": \"<Expiration_time_in_seconds>\",\n    \"refreshToken\": \"<JWT_token>\"\n}"},{"id":"d30b7f5e-9158-4cf3-a77a-a03c0ff898bd","name":"Successful Authorization with Token and Secret","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"tokenID\": \"<Token_ID>\",\n    \"tokenSecret\": \"<Token_Secret>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/authorize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3343"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 17 Jul 2020 06:00:32 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"apiToken\": \"<JWT_token>\",\n    \"apiTokenExpiry\": \"<Expiration_time> (⚠️ This field will be deprecated soon - use apiTokenExpiryIn)\",\n    \"apiTokenExpiryIn\": \"<Expiration_time_in_seconds>\",\n    \"refreshToken\": \"<JWT_token>\"\n}"}],"_postman_id":"6e4f18bc-2566-4108-8a32-77d60c661ac2"},{"name":"Refresh Auth Token","id":"eeeb963a-d540-4f1b-85e9-2bcdd9d54de1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"tokenID\": \"<Token_ID>\",\n    \"refreshToken\": \"refreshToken\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/refresh-session","description":"<p>This end-point can be used to re-authorize without entering user password/API secret, by using <strong>refreshToken</strong> received from initial authentication.</p>\n<p>Based on the type of credentials (API token or username) used during the initial authorization method, the same type of credentials should be used with the token refresh method as well.</p>\n<p>When API token based authorization is used, the <strong>apiToken</strong> is valid for 2 hours, while for username based authorization it is valid for 1 hour. The response includes an <strong>apiTokenExpiry</strong> field (deprecated soon), which indicates when the apiToken expires, and an <strong>apiTokenExpiryIn</strong> field, which specifies the apiToken lifetime in seconds</p>\n","urlObject":{"protocol":"https","path":["refresh-session"],"host":["api","mftgateway","com"],"query":[],"variable":[]}},"response":[{"id":"3531ae00-89e4-4a92-83bf-0e0cac8b3a81","name":"Failed Session Refresh","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"tokenID\": \"<Token_ID>\",\n    \"refreshToken\": \"<JWT_token>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/refresh-session"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"62"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 17 Jul 2020 06:11:58 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Error occurred while refreshing the user session\"\n}"},{"id":"4ce993d7-7905-464a-94d3-bb33639da9c7","name":"Successful Session Refresh with Username","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"myemail@mydomain.com\",\n    \"refreshToken\": \"<JWT_token>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/refresh-session"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3343"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 17 Jul 2020 06:10:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"apiToken\": \"<JWT_token>\",\n    \"apiTokenExpiry\": \"<Expiration_time>(⚠️ This field will be deprecated soon - use apiTokenExpiryIn)\",\n    \"apiTokenExpiryIn\": \"<Expiry_in_seconds>\",\n    \"refreshToken\": \"<JWT_token>\"\n}"},{"id":"4ee5331f-d2d8-4ac3-874f-334b5a9ae978","name":"Successful Session Refresh with Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"tokenID\": \"<Token_ID>\",\n    \"refreshToken\": \"<JWT_token>\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/refresh-session"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"3343"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 17 Jul 2020 06:10:33 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"apiToken\": \"<JWT_token>\",\n    \"apiTokenExpiry\": \"<Expiration_time>(⚠️ This field will be deprecated soon - use apiTokenExpiryIn)\",\n    \"apiTokenExpiryIn\": \"<Expiration_time_in_seconds>\",\n    \"refreshToken\": \"<JWT_token>\"\n}"}],"_postman_id":"eeeb963a-d540-4f1b-85e9-2bcdd9d54de1"}],"id":"548e9eb6-f284-443b-a863-d30f6377b5c8","_postman_id":"548e9eb6-f284-443b-a863-d30f6377b5c8","description":""},{"name":"Certificate","item":[{"name":"Download Certificate","id":"29e7017e-290e-4303-b787-0060f1b88587","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"url":"https://api.mftgateway.com/certificate/:alias/download","description":"<p>This API endpoint can be used to download the public certificate of a given certificate alias.</p>\n","urlObject":{"protocol":"https","path":["certificate",":alias","download"],"host":["api","mftgateway","com"],"query":[],"variable":[{"type":"any","value":"","key":"alias"}]}},"response":[{"id":"601579d2-894a-4867-b33e-af78dd81528e","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth-token"}],"url":{"raw":"https://api.mftgateway.com/certificate/:alias/download","protocol":"https","host":["api","mftgateway","com"],"path":["certificate",":alias","download"],"query":[{"key":"","value":"","disabled":true}],"variable":[{"key":"alias","value":"f54967f4-23fb-4b1a-9759-ba6b94cd7922"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"alias\": \"f54967f4-23fb-4b1a-9759-ba6b94cd7922\",\r\n    \"type\": \"STATION\",\r\n    \"certificate\": \"-----BEGIN CERTIFICATE-----MIIDnDCCAoSgPBgNVBAMMCFdlYmhvb2syMQ0wCwYDVQQLDAROb25lMQ0wCwYDVQQKDAROb25lMQ0wYDVQQH DARObsyMQ0wCwYDVQQLPMZ4i/tWDYjzZaLv9kBtOA== -----END CERTIFICATE-----\"\r\n}"},{"id":"845d935b-5f25-4dee-a684-f0e65234e3a5","name":"Not Found Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth-token"}],"url":{"raw":"https://api.mftgateway.com/certificate/:alias/download","protocol":"https","host":["api","mftgateway","com"],"path":["certificate",":alias","download"],"variable":[{"key":"alias","value":"f54967f4-23fb-4b1a-9759-ba6b94cd79222"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Unable to find certificate with alias: f54967f4-23fb-4b1a-9759-ba6b94cd79222\"\r\n}"}],"_postman_id":"29e7017e-290e-4303-b787-0060f1b88587"},{"name":"List Certificates","id":"6dfa455a-3408-4c43-8c22-e774911b7dae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/certificate","description":"<p>This API endpoint can be used to list <strong>available certificates</strong> on the MFT Gateway account.</p>\n<hr />\n<p><strong>Optional Filters:</strong></p>\n<ul>\n<li><p><strong>certType</strong>​ - Certificate type to filter. Allowed values: 'STATION', 'PARTNER', 'HTTPS', 'PARTNER_CHAIN', 'HTTPS_CHAIN' and 'HTTPS_IDENTITY' Defaults to null (all certificates).</p>\n</li>\n<li><p><strong>sortDir</strong>​ - Sort direction. Allowed values are <strong>​asc​</strong> and <strong>​desc​</strong>. Defaults to ​desc​.</p>\n</li>\n<li><p><strong>pageLength​</strong> - Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n</li>\n<li><p><strong>pageOffset</strong>​ - Page number. An integer value greater than or equal to zero is accepted. Default is zero.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["certificate"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Certificate Type</p>\n","type":"text/plain"},"key":"certType","value":"STATION"},{"disabled":true,"description":{"content":"<p>Sort direction of certificates. supports asc, desc. default desc</p>\n","type":"text/plain"},"key":"sortDir","value":"asc"},{"disabled":true,"description":{"content":"<p>Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n","type":"text/plain"},"key":"pageLength","value":"10"},{"disabled":true,"description":{"content":"<p>Page offset, supports non negative integer values, default 0</p>\n","type":"text/plain"},"key":"pageOffset","value":"0"}],"variable":[]}},"response":[{"id":"2a3a4b18-fd2e-488d-87ed-f7bc0ae466dd","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth-token"}],"url":{"raw":"https://api.mftgateway.com/certificate?certType=Certificate Type","protocol":"https","host":["api","mftgateway","com"],"path":["certificate"],"query":[{"key":"certType","value":"Certificate Type","description":"Certificate Type to list. Allowed values: 'STATION', 'PARTNER', 'HTTPS', 'PARTNER_CHAIN' and 'HTTPS_CHAIN' "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"455"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 10:03:08 GMT"},{"key":"x-amzn-RequestId","value":"21f054b3-6951-4e6f-be12-3ce547ba6f71"},{"key":"x-amzn-Remapped-content-length","value":"455"},{"key":"x-amz-apigw-id","value":"GrWmCEA_IAMFssA="},{"key":"etag","value":"W/\"1c7-kegp9g7mgLnN+jcYWjE8O9GBgDI\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615ad159-6c170514211a9e0c654d0f5a;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 7950d01de2e02c18305e7cb8933f52f4.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1"},{"key":"X-Amz-Cf-Id","value":"vg2uPjLZOP9GnfOyGNLOyql7ygtepSsaF20Ep6WgBPLcEezVsE_iUw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"certificateCount\": 4,\n    \"certificates\": [\n        {\n            \"alias\": \"f54967f4-23fb-4b1a-9759-ba6b94cd7922\",\n            \"belongsTo\": [\n                \"Partner-01\"\n            ],\n            \"serialNumberDecimal\": \"143266978916655856878034712317230054538369994\",\n            \"serialNumberHex\": \"66c9fcf99bf8c0a39e2f0788a43e696365\",\n            \"type\": \"HTTPS\"\n        },\n        {\n            \"alias\": \"5208e1af-cd9e-4106-8cd0-04b1be74db1d\",\n            \"belongsTo\": [\n                \"Partner-01\"\n            ],\n            \"serialNumberDecimal\": \"335167510869732210324898992654240930287204834\",\n            \"serialNumberHex\": \"f0788c9fcf9a43e696365bca669bf8c0a39e2\",\n            \"type\": \"PARTNER\"\n        },\n        {\n            \"alias\": \"d710c1e7-9fe3-44fe-b68c-f5823668b698\",\n            \"belongsTo\": [\n                \"Partner-01\"\n            ],\n            \"serialNumberDecimal\": \"280970958708242278467999117412861316249106914\",\n            \"serialNumberHex\": \"c99636fcff07889a43e65bcaf8c0a669b39e2\",\n            \"type\": \"PARTNER\"\n        },\n        {\n            \"alias\": \"48f358bb-f815-45ad-a5b8-11916ece0d88\",\n            \"belongsTo\": [\n                \"Station-01\"\n            ],\n            \"serialNumberDecimal\": \"14948310381089518697233354094947\",\n            \"serialNumberHex\": \"bcac9889a43e65f86fcff07963\",\n            \"type\": \"STATION\"\n        }\n    ],\n    \"hasMoreCertificates\": false,\n    \"message\": \"Certificates retrieved successfully\"\n}"},{"id":"c61387a1-8b69-4e48-b77d-3275c49a1bd7","name":"Success Responce - With Certificate Type Filter ","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth-token"}],"url":{"raw":"https://api.mftgateway.com/certificate?certType=STATION","protocol":"https","host":["api","mftgateway","com"],"path":["certificate"],"query":[{"key":"certType","value":"STATION","description":"Certificate Type to list. Allowed values: 'STATION', 'PARTNER', 'HTTPS', 'PARTNER_CHAIN' and 'HTTPS_CHAIN' "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"135"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 10:04:48 GMT"},{"key":"x-amzn-RequestId","value":"dc73b1e4-aa01-49b1-99a4-23105ba4b3cf"},{"key":"x-amzn-Remapped-content-length","value":"135"},{"key":"x-amz-apigw-id","value":"GrW2EFXXoAMFauA="},{"key":"etag","value":"W/\"87-Qzoa54NBBUePY+kl9YusvNMmGiA\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615ad1c0-001396930f7d214d35b9a210;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 7950d01de2e02c18305e7cb8933f52f4.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1"},{"key":"X-Amz-Cf-Id","value":"ioNRIGI2PQft9yGJxlj-uQQFcd3g22AYuJKVhQMsxiqJE0U5SOYNaA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"certificateCount\": 2,\n    \"certificates\": [\n        {\n        \"alias\": \"48f358bb-f815-45ad-a5b8-11916ece0d88\",\n        \"belongsTo\": [\n            \"Station-01\"\n        ],\n        \"serialNumberDecimal\": \"15330791385926057337800191701324691811\",\n        \"serialNumberHex\": \"b889a5f86fcff079665f86fcff07963\",\n        \"type\": \"STATION\"\n        },\n        {\n            \"alias\": \"48f358bb-f815-45ad-a5b8-11916ece0d88\",\n            \"belongsTo\": [\n                \"Station-02\"\n            ],\n            \"serialNumberDecimal\": \"14948310381089518697233354094947\",\n            \"serialNumberHex\": \"bcac9889a43e65f86fcff07963\",\n            \"type\": \"STATION\"\n        }\n    ],\n    \"hasMoreCertificates\": false,\n    \"message\": \"Certificates retrieved successfully\"\n}"}],"_postman_id":"6dfa455a-3408-4c43-8c22-e774911b7dae"},{"name":"Retrieve Certificate Metadata","id":"d32c5c50-e7a7-4cdc-bbd4-4ddd73605a2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/certificate/:alias","description":"<p>This API endpoint can be used to retrieve the <strong>metadata</strong> of a certificate with the given certificate alias.</p>\n<hr />\n","urlObject":{"protocol":"https","path":["certificate",":alias"],"host":["api","mftgateway","com"],"query":[],"variable":[{"type":"any","value":"f54967f4-23fb-4b1a-9759-ba6b94cd79222","key":"alias"}]}},"response":[{"id":"dc6d93e1-6f3c-4658-94ad-0d466e687162","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth-token"}],"url":{"raw":"https://api.mftgateway.com/certificate/:alias","protocol":"https","host":["api","mftgateway","com"],"path":["certificate",":alias"],"query":[{"key":"markAsRead","value":"false","disabled":true}],"variable":[{"key":"alias","value":"f54967f4-23fb-4b1a-9759-ba6b94cd7922"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"448"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 10:14:48 GMT"},{"key":"x-amzn-RequestId","value":"8a1d5075-fd35-42b8-9319-ba21bed46cbf"},{"key":"x-amzn-Remapped-content-length","value":"448"},{"key":"x-amz-apigw-id","value":"GrYT2FHfoAMFaKg="},{"key":"etag","value":"W/\"1c0-NRYAauPVjgMJaq4S/ueY9PqIc0o\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615ad418-35b3de2838ce35102437d052;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 1098c68725f26a6e79b4565dded7de39.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN52-C2"},{"key":"X-Amz-Cf-Id","value":"StqM6HHSOpfL6V6HSuqEqXHXYg7BxFTpQ8ZlpNcPwfy_21Ue5CYUHA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"alias\": \"f54967f4-23fb-4b1a-9759-ba6b94cd7922\",\n    \"belongsTo\": [\n        \"Partner-01\",\n        \"Station_02\"\n    ],\n    \"expiry\": \"Sun Jan 17 00:00:00 UTC 2025\",\n    \"expiryTimestamp\": 1737072000000,\n    \"issuerCommonName\": \"Amazon Root CA 1\",\n    \"serialNumberDecimal\":\"143266978916655856878034712317230054538369994\",\n    \"serialNumberHex\": \"66c9fcf99bf8c0a39e2f0788a43e696365bca\",\n    \"subjectCommonName\": \"Amazon Root CA 1\",\n    \"subjectDistinguishName\": \"CN=Amazon Root CA 1, O=Amazon, C=US\",\n    \"issuerDistinguishName\": \"CN=Amazon Root CA 1, O=Amazon, C=US\",\n    \"type\": \"HTTPS\",\n    \"validFrom\": \"Tue May 26 00:00:00 UTC 2015\",\n    \"validFromTimestamp\": 1432598400000\n}"},{"id":"824daea3-29df-4a36-af81-079cc2096c74","name":"Not Found Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"auth-token"}],"url":{"raw":"https://api.mftgateway.com/certificate/:alias","protocol":"https","host":["api","mftgateway","com"],"path":["certificate",":alias"],"query":[{"key":"markAsRead","value":"false","disabled":true}],"variable":[{"key":"alias","value":"f54967f4-23fb-4b1a-9759-ba6b94cd79222"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"40"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 10:16:14 GMT"},{"key":"x-amzn-RequestId","value":"0930d2d3-8799-4ef0-8bdd-4072d4f28b8f"},{"key":"x-amzn-Remapped-content-length","value":"40"},{"key":"x-amz-apigw-id","value":"GrYhRFaiIAMFyQA="},{"key":"etag","value":"W/\"28-jiMQLcWIAlCRMRW9AJ/qXbsmoM0\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615ad46e-72db062f760791b57af5952b;Sampled=0"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 1098c68725f26a6e79b4565dded7de39.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN52-C2"},{"key":"X-Amz-Cf-Id","value":"0St1uXbVhV0sNTIsjPw8uBW6e__osbvc5HlDq_mnAA5DyRbiqmdggg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unable to find certificate with alias: f54967f4-23fb-4b1a-9759-ba6b94cd79222\"\n}"}],"_postman_id":"d32c5c50-e7a7-4cdc-bbd4-4ddd73605a2b"},{"name":"Generate Keypair","id":"2aeba1ab-c313-4c46-bafe-6dd9fecce799","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"apiToken"}],"body":{"mode":"raw","raw":"{\r\n    \"commonName\": \"Certificate CN\",\r\n    \"password\": \"private-key-password\",\r\n    \"keyLength\": 2048,\r\n    \"validity\": 5,\r\n    \"orgUnit\": \"Organization Unit\",\r\n    \"orgName\": \"Organization Name\",\r\n    \"city\": \"City\",\r\n    \"state\": \"State\",\r\n    \"country\": \"US\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/certificate/keypair/generate?certType=STATION","description":"<p>This endpoint can be used to <strong>generate</strong> a new <strong>Station</strong> or <strong>HTTPS Identity</strong> keypair.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>certType</strong>- Certificate Type. Allowed values: 'STATION', 'HTTPS_IDENTITY' (String | Required)</li>\n</ul>\n<p><strong>Request Headers</strong></p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<p><strong>Request Body</strong></p>\n<p>Should be a valid JSON with following fields.</p>\n<p>Mandatory fields</p>\n<ul>\n<li><p><strong>commonName</strong> - Certificate Common Name (String | Required)</p>\n</li>\n<li><p><strong>password</strong> - Private key password (String | Required)</p>\n</li>\n</ul>\n<p>Optional fields</p>\n<ul>\n<li><p><strong>keyLength</strong> - Certificate key length (Number | Default: 2048) Allowed values: 1024, 2048, 4096 (If not specified, the default key length will be applied)</p>\n</li>\n<li><p><strong>validity</strong> - Certificate validity in years (Number | Default: 5 years) Allowed values: 1, 2, 5, 8, 10</p>\n</li>\n<li><p><strong>orgUnit</strong> - Organization unit (String | Optional)</p>\n</li>\n<li><p><strong>orgName</strong> - Organization name (String | Optional)</p>\n</li>\n<li><p><strong>city</strong> - City (String | Optional)</p>\n</li>\n<li><p><strong>state</strong> - State code ISO 3166-1 alpha-2 (String | Optional)</p>\n</li>\n<li><p><strong>country</strong> - Country code ISO 3166-1 alpha-2 (String | Optional)</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["certificate","keypair","generate"],"host":["api","mftgateway","com"],"query":[{"description":{"content":"<p>STATION or HTTPS_IDENTITY</p>\n","type":"text/plain"},"key":"certType","value":"STATION"}],"variable":[]}},"response":[{"id":"c4c9a8f1-4013-4eed-999b-eb3b833f9c91","name":"Success Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\r\n    \"commonName\": \"Certificate CN\",\r\n    \"password\": \"private-key-password\",\r\n    \"keyLength\": 2048,\r\n    \"validity\": 5,\r\n    \"orgUnit\": \"Organization Unit\",\r\n    \"orgName\": \"Organization Name\",\r\n    \"city\": \"City\",\r\n    \"state\": \"State\",\r\n    \"country\": \"US\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/certificate/keypair/generate?certType=STATION","protocol":"https","host":["api","mftgateway","com"],"path":["certificate","keypair","generate"],"query":[{"key":"certType","value":"STATION","description":"STATION or HTTPS_IDENTITY"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"certificate\": {\n        \"alias\": \"7b3ed1dd-c81a-4d67-8a69-b574053e8b44\",\n        \"type\": \"STATION\",\n        \"serialNumberHex\": \"19A25209B3F\",\n        \"serialNumberDecimal\": \"1761559485247\"\n    },\n    \"message\": \"STATION keypair generated successfully\"\n}"}],"_postman_id":"2aeba1ab-c313-4c46-bafe-6dd9fecce799"},{"name":"Import HTTPS Certificate","id":"e9bcd161-10d8-4579-87ca-7922158e3691","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"}],"body":{"mode":"raw","raw":"{\r\n    \"base64Certs\": [\r\n        \"MIID3jCCAsagAwIBAgIJAK3cQUa/KshSMA0GCSqGSIb3DQEBCwUAMGwxEDAOBgNVBAYTB1Vua25vd24xEDAOBgNVBAgTB1Vua25vd24xEDAOBgNVBAcTB1Vua25vd24xDTALBgNVBAoTBEFBeXUxEDAOBgNVBAsTB1Vua25vd24xEzARBgNVBAMTClNhbXBhdmktQ0EwHhcNMjQwOTEyMDk0MTIzWhcNMjQxMjExMDk0MTIzWjBgMRUwEwYDVQQDDAxUZXN0IFN0YXRpb24xDTALBgNVBAsMBE5vbmUxDTALBgNVBAoMBE5vbmUxDTALBgNVBAcMBE5vbmUxDTALBgNVBAgMBE5vbmUxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnfjOTkg8rFoFScZRls2w3lFJNkPgPhpoRhhxAi0eiV1uTgmcW1KbMJmXdNDX9QQ0T+QruPJfThTLyzIR/AeJCHQMnyaGDS82TQFWVMEmPJkHK1dt4UL5XDcjXrzni4tHpav0iG5OpDjZp20jXxm5KlPLFHWDbm/LH87UMr65HnRhC7KMUwiOyMv3tDDYJSQQLt3Us0vg6ObQG2L65Ofrs6T0Pg1xlsH3UQ67LaYpbG2KHpNGBSb3bL8Rbq99450hVhI/9pTxeUYWfGSSlbQzcQbJIxRAR/4UYtUgkz7rXFUCWBOA13B7qBg3IIUaDNYEZeT8+vVHAi3KNG/eJGt0nQIDAQABo4GOMIGLMB0GA1UdDgQWBBRtGcI5660bWgENirCSONsYbBCFLjALBgNVHQ8EBAMCA7gwHQYDVR0RAQH/BBMwEYIJbG9jYWxob3N0hwR/AAABMB8GA1UdIwQYMBaAFEKLEOQ6ln1mq7a2zh2ZA5eJgYnUMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjANBgkqhkiG9w0BAQsFAAOCAQEAXaw8vc4dK2UH+u/gpx9u3MlI3NfNyFVg/qKF/uxtJnf5uRIo0L5pr0r9ksI3b52zBqAqVudUNTk0YVldcgkLkV9rWXEKCxY8hBpZkqhj5tQst4XM/7k6kmtT2fCOc9vQ+Swby+qdVAvcdyB/8PRsucFJljLojynTjk8+TzbGNU8cfomQiOfgRp5d9l0H9QyGgvn4DmtaNvjrj/m/C1Wxfnj+mrfuBM8aISLgplPWjRaYlmjt3tGU7zjaNE+2v2nQnMsXKEvzmfEybKwTcp3z3LpWqjBe5MQnmbK9jJ6b2ZU4ue+zAqE4GIJSwqs7NrY3HQtMNI1ZRXwykHSAy2SE3A==\",\r\n        \"MIIDrDCCApSgAwIBAgIGAZChGHo+MA0GCSqGSIb3DQEBCwUAMGQxGTAXBgNVBAMMEFNhbXBhdmkgTWZ0ZyBEZXYxDTALBgNVBAsMBE5vbmUxDTALBgNVBAoMBE5vbmUxDTALBgNVBAcMBE5vbmUxDTALBgNVBAgMBE5vbmUxCzAJBgNVBAYTAlVTMB4XDTI0MDcxMTA5MjA1NFoXDTI5MDcxMDA5MjA1NFowZDEZMBcGA1UEAwwQU2FtcGF2aSBNZnRnIERldjENMAsGA1UECwwETm9uZTENMAsGA1UECgwETm9uZTENMAsGA1UEBwwETm9uZTENMAsGA1UECAwETm9uZTELMAkGA1UEBhMCVVMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCwoWsh1n1ipTVZu/CN0T/OL/kWOA55B4H6j1g/nMJkyutUurygqCESJohpQMjo2A4cw8tQTl4c5BL3GuG7Y8o9OCcQxoKdUrf34OqHKaD0CF2NGDbjZAKDQxYM1ys6XeDI5lURVCjLI/fIVDktUoiWD9/VGeIJ4y32v60Cy5KWFpqz55H9nJmugoXta98dJIRGJgHEJk5ymoGpKudObx/6tqOZkrRiWcXf0bdK2zPmqZMbPhj4AX6/C0COyfak2bJiaflTcZILWfBtHVJth0la/3ZkA5+HC0Hp2bHNhOJzcR6085ESaUyzBbKXau7csPBGS5cfix/+1hN6byQXri6VAgMBAAGjZDBiMB0GA1UdDgQWBBRxSB8iVibjn1qN0MjuxR08afEDijAPBgNVHRMBAf8EBTADAQH/MAsGA1UdDwQEAwIBtjAjBgNVHSUEHDAaBggrBgEFBQcDAQYIKwYBBQUHAwIGBFUdJQAwDQYJKoZIhvcNAQELBQADggEBAJoU37jzW62DaIpVk6VsbUh95TlR354851H4n+7Ub4h82+VLXA8+KdTDGd6Eyu6IcUPveJlHQTk0V8tghbz5s4/IX7DiLxrTrWOIb7jx3C6b6hPo3dvfyDZYyHjoHTed1t7eO9CmWVGyfc2YdfviDKrzdk//aohzxOLXaszuVe3/6Tqq+g0s/rEdhF2BsmBHMtkr38a0PelaxPuIjJ6fLxAi/CFYcP+nvSp8vFwnKxCHrUz8XADZW+4ykvpTywtD1NKcs6enWEOnXrPgQZz2tdfCWNv4ko4oizf26JqYQdypw2ulhWi9/liUwst3gvMw2BNdOJWRoc16nI/BSs9z/HQ=\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/certificate/https?isChain=true","description":"<p>This endpoint can be used to import <strong>HTTPS</strong> or <strong>HTTPS Chain</strong> certificate.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>isChain</strong> - HTTPS Chain or HTTPS Certificate. Allowed values: 'true', 'false' (Boolean | Default: false)</li>\n</ul>\n<p><strong>Request Headers</strong></p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<p><strong>Request Body</strong></p>\n<p>Should be a valid JSON with following fields.</p>\n<p>Mandatory fields</p>\n<ul>\n<li><strong>base64Certs</strong>- Base64 Certificates (Array | Required)</li>\n</ul>\n<p>Only one certificate allowed when isChain is false.</p>\n","urlObject":{"protocol":"https","path":["certificate","https"],"host":["api","mftgateway","com"],"query":[{"description":{"content":"<p>true or false</p>\n","type":"text/plain"},"key":"isChain","value":"true"}],"variable":[]}},"response":[{"id":"fad9f016-5c73-462f-895f-393ebc894470","name":"Success Response-HTTPS","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\r\n    \"base64Certs\": [\r\n        \"Base64cert\"       \r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/certificate/https?isChain=false","protocol":"https","host":["api","mftgateway","com"],"path":["certificate","https"],"query":[{"key":"isChain","value":"false","description":"true or false"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"certificate\": {\n        \"alias\": \"b1fe48d5-2e49-4336-b451-5351d5cd17d4\",\n        \"type\": \"HTTPS\",\n        \"serialNumberHex\": \"82076AEF563D888D90E75D84A0501C4D\",\n        \"serialNumberDecimal\": \"172838154427687735430042424616462326861\"\n    },\n    \"message\": \"HTTPS certificate imported successfully\"\n}"},{"id":"223ce452-3546-4184-816a-fa55d7b7d849","name":"Success Response-HTTPS Chain","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\r\n    \"base64Certs\": [\r\n        \"Base64cert1\",\r\n        \"Base64cert2\",\r\n        \"Base64cert3\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/certificate/https?isChain=true","protocol":"https","host":["api","mftgateway","com"],"path":["certificate","https"],"query":[{"key":"isChain","value":"true","description":"true or false"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"certificates\": [\n        {\n            \"alias\": \"4746184a-6972-44de-bbb2-d719ad151aa6\",\n            \"type\": \"HTTPS_CHAIN\",\n            \"serialNumberHex\": \"190A1187A3E\",\n            \"serialNumberDecimal\": \"1720689654334\"\n        }\n    ],\n    \"message\": \"HTTPS_CHAIN certificate imported successfully\"\n}"}],"_postman_id":"e9bcd161-10d8-4579-87ca-7922158e3691"},{"name":"Import HTTPS Certificate From Existing Keystore","id":"9af4e4bb-032b-4bd1-84c1-699c47974217","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"}],"body":{"mode":"raw","raw":"{\r\n    \"keystore\": \"Base64 keystore\",\r\n    \"alias\": \"Cert-alias\",\r\n    \"keystorePassword\": \"Keystore-password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/certificate/https/fromKeystore","description":"<p>This endpoint can be used to import an <strong>HTTPS</strong> certificate from an <strong>existing keystore</strong>.</p>\n<p><strong>Request Headers</strong></p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<p><strong>Request Body</strong></p>\n<p>Should be a valid JSON with following fields.</p>\n<p>Mandatory fields</p>\n<ul>\n<li><p><strong>keystore</strong> - Base64 encoded keystore (String | Required)</p>\n</li>\n<li><p><strong>alias</strong> - Certificate alias (String | Required)</p>\n</li>\n<li><p><strong>keystorePassword</strong> - Keystore password (String | Required)</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["certificate","https","fromKeystore"],"host":["api","mftgateway","com"],"query":[],"variable":[]}},"response":[{"id":"4f617e79-de7f-4259-b807-bc49daa8ee5a","name":"Success Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\r\n    \"keystore\": \"base64Keystore\",\r\n    \"alias\": \"keystore-cert\",\r\n    \"keystorePassword\": \"keystore-password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/certificate/https/fromKeystore"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"certificate\": {\n        \"alias\": \"4e3f6627-61bf-4e11-b573-8b56103b82a8\",\n        \"type\": \"HTTPS\",\n        \"serialNumberHex\": \"18832FA5550\",\n        \"serialNumberDecimal\": \"1684482446672\"\n    },\n    \"message\": \"HTTPS certificate imported successfully from existing keystore\"\n}"},{"id":"a6f48c57-05f8-4a04-906d-99eeaf3e1c2b","name":"Not Found Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\r\n    \"keystore\": \"Base64 Keystore\",\r\n    \"alias\": \"Cert-alias\",\r\n    \"keystorePassword\": \"Keystore-password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/certificate/https/fromKeystore"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unable to find certificate with alias: Cert-alias\"\n}"}],"_postman_id":"9af4e4bb-032b-4bd1-84c1-699c47974217"},{"name":"Import Keypair From Existing Keystore","id":"d08c2ee6-bbd9-4350-829f-9028b3fad8bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"}],"body":{"mode":"raw","raw":"{\r\n    \"keystore\": \"Base64 keystore\",\r\n    \"alias\": \"Keypair-alias\",\r\n    \"keystorePassword\": \"Keystore-password\",\r\n    \"privateKeyPassword\": \"Private-key-password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/certificate/keypair/fromKeystore?certType=STATION","description":"<p>This endpoint can be used to import a <strong>Station</strong> or <strong>HTTPS Identity</strong> keypair from an <strong>existing keystore</strong>.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>certType</strong>- Certificate Type. Allowed values: 'STATION', 'HTTPS_IDENTITY' (String | Required)</li>\n</ul>\n<p><strong>Request Headers</strong></p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<p><strong>Request Body</strong></p>\n<p>Should be a valid JSON with following fields.</p>\n<p>Mandatory fields</p>\n<ul>\n<li><p><strong>keystore</strong> - Base64 encoded keystore (String | Required)</p>\n</li>\n<li><p><strong>alias</strong> - Certificate alias (String | Required)</p>\n</li>\n<li><p><strong>keystorePassword</strong> - Keystore password (String | Required)</p>\n</li>\n<li><p><strong>privateKeyPassword</strong> - Private key password (String | Required)</p>\n</li>\n</ul>\n<p>Optional fields</p>\n<ul>\n<li><strong>newPrivateKeyPassword</strong> - New password for private key (String | Optional)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["certificate","keypair","fromKeystore"],"host":["api","mftgateway","com"],"query":[{"description":{"content":"<p>STATION or HTTPS_IDENTITY</p>\n","type":"text/plain"},"key":"certType","value":"STATION"}],"variable":[]}},"response":[{"id":"4b8ffe03-087d-4ad8-8c67-f2b0f832e77e","name":"Success Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\r\n    \"keystore\": \"Base64 keystore\",\r\n    \"alias\": \"Keypair-alias\",\r\n    \"keystorePassword\": \"keystore-password\",\r\n    \"privateKeyPassword\": \"Private-key-password\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/certificate/keypair/fromKeystore?certType=STATION","protocol":"https","host":["api","mftgateway","com"],"path":["certificate","keypair","fromKeystore"],"query":[{"key":"certType","value":"STATION","description":"STATION or HTTPS_IDENTITY"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"certificate\": {\n        \"alias\": \"3a1dceaf-9623-4d29-9bc4-dda0e45558d3\",\n        \"type\": \"STATION\",\n        \"serialNumberHex\": \"670DEAB3\",\n        \"serialNumberDecimal\": \"1728965299\"\n    },\n    \"message\": \"STATION keypair imported successfully from existing keystore\"\n}"},{"id":"3c38be22-219a-4876-8ff9-06742e76f5d3","name":"Not Found Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\r\n    \"keystore\": \"Base64 keystore\",\r\n    \"alias\": \"Keypair-alias\",\r\n    \"keystorePassword\": \"keystore-password\",\r\n    \"privateKeyPassword\": \"Private-key-password\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/certificate/keypair/fromKeystore?certType=STATION","protocol":"https","host":["api","mftgateway","com"],"path":["certificate","keypair","fromKeystore"],"query":[{"key":"certType","value":"STATION","description":"STATION or HTTPS_IDENTITY"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unable to find private key with alias: Keypair-alias\"\n}"}],"_postman_id":"d08c2ee6-bbd9-4350-829f-9028b3fad8bc"},{"name":"Import Partner Certificate","id":"1bb64cc8-3984-4353-a472-4e5b91f4a238","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"}],"body":{"mode":"raw","raw":"{\r\n    \"base64Certs\": [\r\n        \"MIID3jCCAsagAwIBAgIJAK3cQUa/KshSMA0GCSqGSIb3DQEBCwUAMGwxEDAOBgNVBAYTB1Vua25vd24xEDAOBgNVBAgTB1Vua25vd24xEDAOBgNVBAcTB1Vua25vd24xDTALBgNVBAoTBEFBeXUxEDAOBgNVBAsTB1Vua25vd24xEzARBgNVBAMTClNhbXBhdmktQ0EwHhcNMjQwOTEyMDk0MTIzWhcNMjQxMjExMDk0MTIzWjBgMRUwEwYDVQQDDAxUZXN0IFN0YXRpb24xDTALBgNVBAsMBE5vbmUxDTALBgNVBAoMBE5vbmUxDTALBgNVBAcMBE5vbmUxDTALBgNVBAgMBE5vbmUxCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnfjOTkg8rFoFScZRls2w3lFJNkPgPhpoRhhxAi0eiV1uTgmcW1KbMJmXdNDX9QQ0T+QruPJfThTLyzIR/AeJCHQMnyaGDS82TQFWVMEmPJkHK1dt4UL5XDcjXrzni4tHpav0iG5OpDjZp20jXxm5KlPLFHWDbm/LH87UMr65HnRhC7KMUwiOyMv3tDDYJSQQLt3Us0vg6ObQG2L65Ofrs6T0Pg1xlsH3UQ67LaYpbG2KHpNGBSb3bL8Rbq99450hVhI/9pTxeUYWfGSSlbQzcQbJIxRAR/4UYtUgkz7rXFUCWBOA13B7qBg3IIUaDNYEZeT8+vVHAi3KNG/eJGt0nQIDAQABo4GOMIGLMB0GA1UdDgQWBBRtGcI5660bWgENirCSONsYbBCFLjALBgNVHQ8EBAMCA7gwHQYDVR0RAQH/BBMwEYIJbG9jYWxob3N0hwR/AAABMB8GA1UdIwQYMBaAFEKLEOQ6ln1mq7a2zh2ZA5eJgYnUMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjANBgkqhkiG9w0BAQsFAAOCAQEAXaw8vc4dK2UH+u/gpx9u3MlI3NfNyFVg/qKF/uxtJnf5uRIo0L5pr0r9ksI3b52zBqAqVudUNTk0YVldcgkLkV9rWXEKCxY8hBpZkqhj5tQst4XM/7k6kmtT2fCOc9vQ+Swby+qdVAvcdyB/8PRsucFJljLojynTjk8+TzbGNU8cfomQiOfgRp5d9l0H9QyGgvn4DmtaNvjrj/m/C1Wxfnj+mrfuBM8aISLgplPWjRaYlmjt3tGU7zjaNE+2v2nQnMsXKEvzmfEybKwTcp3z3LpWqjBe5MQnmbK9jJ6b2ZU4ue+zAqE4GIJSwqs7NrY3HQtMNI1ZRXwykHSAy2SE3A==\",\r\n        \"MIIDrDCCApSgAwIBAgIGAZChGHo+MA0GCSqGSIb3DQEBCwUAMGQxGTAXBgNVBAMMEFNhbXBhdmkgTWZ0ZyBEZXYxDTALBgNVBAsMBE5vbmUxDTALBgNVBAoMBE5vbmUxDTALBgNVBAcMBE5vbmUxDTALBgNVBAgMBE5vbmUxCzAJBgNVBAYTAlVTMB4XDTI0MDcxMTA5MjA1NFoXDTI5MDcxMDA5MjA1NFowZDEZMBcGA1UEAwwQU2FtcGF2aSBNZnRnIERldjENMAsGA1UECwwETm9uZTENMAsGA1UECgwETm9uZTENMAsGA1UEBwwETm9uZTENMAsGA1UECAwETm9uZTELMAkGA1UEBhMCVVMwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCwoWsh1n1ipTVZu/CN0T/OL/kWOA55B4H6j1g/nMJkyutUurygqCESJohpQMjo2A4cw8tQTl4c5BL3GuG7Y8o9OCcQxoKdUrf34OqHKaD0CF2NGDbjZAKDQxYM1ys6XeDI5lURVCjLI/fIVDktUoiWD9/VGeIJ4y32v60Cy5KWFpqz55H9nJmugoXta98dJIRGJgHEJk5ymoGpKudObx/6tqOZkrRiWcXf0bdK2zPmqZMbPhj4AX6/C0COyfak2bJiaflTcZILWfBtHVJth0la/3ZkA5+HC0Hp2bHNhOJzcR6085ESaUyzBbKXau7csPBGS5cfix/+1hN6byQXri6VAgMBAAGjZDBiMB0GA1UdDgQWBBRxSB8iVibjn1qN0MjuxR08afEDijAPBgNVHRMBAf8EBTADAQH/MAsGA1UdDwQEAwIBtjAjBgNVHSUEHDAaBggrBgEFBQcDAQYIKwYBBQUHAwIGBFUdJQAwDQYJKoZIhvcNAQELBQADggEBAJoU37jzW62DaIpVk6VsbUh95TlR354851H4n+7Ub4h82+VLXA8+KdTDGd6Eyu6IcUPveJlHQTk0V8tghbz5s4/IX7DiLxrTrWOIb7jx3C6b6hPo3dvfyDZYyHjoHTed1t7eO9CmWVGyfc2YdfviDKrzdk//aohzxOLXaszuVe3/6Tqq+g0s/rEdhF2BsmBHMtkr38a0PelaxPuIjJ6fLxAi/CFYcP+nvSp8vFwnKxCHrUz8XADZW+4ykvpTywtD1NKcs6enWEOnXrPgQZz2tdfCWNv4ko4oizf26JqYQdypw2ulhWi9/liUwst3gvMw2BNdOJWRoc16nI/BSs9z/HQ=\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/certificate/partner?isChain=true","description":"<p>This endpoint can be used to import <strong>Partner</strong> or <strong>Partner Chain</strong> certificate.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>isChain</strong> - Parner Chain or Partner Certificate. Allowed values: 'true', 'false' (Boolean | Default: false)</li>\n</ul>\n<p><strong>Request Headers</strong></p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<p><strong>Request Body</strong></p>\n<p>Should be a valid JSON with following fields.</p>\n<p>Mandatory fields</p>\n<ul>\n<li><strong>base64Certs</strong>- Base64 Certificates (Array | Required)</li>\n</ul>\n<p>Only one certificate allowed when isChain is false.</p>\n","urlObject":{"protocol":"https","path":["certificate","partner"],"host":["api","mftgateway","com"],"query":[{"description":{"content":"<p>true or false</p>\n","type":"text/plain"},"key":"isChain","value":"true"}],"variable":[]}},"response":[{"id":"5bc955dc-166f-4d92-b8b8-2b0c6093b182","name":"Success Response-Partner","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\r\n    \"base64Certs\": [\r\n        \"Base64cert\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/certificate/partner?isChain=false","protocol":"https","host":["api","mftgateway","com"],"path":["certificate","partner"],"query":[{"key":"isChain","value":"false","description":"true or false"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"certificate\": {\n        \"alias\": \"b1fe48d5-2e49-4336-b451-5351d5cd17d4\",\n        \"type\": \"PARTNER\",\n        \"serialNumberHex\": \"82076AEF563D888D90E75D84A0501C4D\",\n        \"serialNumberDecimal\": \"172838154427687735430042424616462326861\"\n    },\n    \"message\": \"PARTNER certificate imported successfully\"\n}"},{"id":"ad4d732f-8334-4c2a-b263-8aa16d0c9e4f","name":"Success Response-Partner Chain","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\r\n    \"base64Certs\": [\r\n        \"Base64cert1\",\r\n        \"Base64cert2\",\r\n        \"Base64cert3\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/certificate/partner?isChain=true","protocol":"https","host":["api","mftgateway","com"],"path":["certificate","partner"],"query":[{"key":"isChain","value":"true","description":"true or false"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"certificates\": [\n        {\n            \"alias\": \"4746184a-6972-44de-bbb2-d719ad151aa6\",\n            \"type\": \"PARTNER_CHAIN\",\n            \"serialNumberHex\": \"190A1187A3E\",\n            \"serialNumberDecimal\": \"1720689654334\"\n        }\n    ],\n    \"message\": \"PARTNER_CHAIN certificate imported successfully\"\n}"}],"_postman_id":"1bb64cc8-3984-4353-a472-4e5b91f4a238"},{"name":"Import Partner Certificate From Existing Keystore","id":"2a87d239-65fb-439f-957c-823e90265f1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"}],"body":{"mode":"raw","raw":"{\r\n    \"keystore\": \"Base64 keystore\",\r\n    \"alias\": \"Cert-alias\",\r\n    \"keystorePassword\": \"Keystore-password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/certificate/partner/fromKeystore","description":"<p>This endpoint can be used to import a <strong>Partner</strong> certificate from an <strong>existing keystore</strong>.</p>\n<p><strong>Request Headers</strong></p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<p><strong>Request Body</strong></p>\n<p>Should be a valid JSON with following fields.</p>\n<p>Mandatory fields</p>\n<ul>\n<li><p><strong>keystore</strong> - Base64 encoded keystore (String | Required)</p>\n</li>\n<li><p><strong>alias</strong> - Certificate alias (String | Required)</p>\n</li>\n<li><p><strong>keystorePassword</strong> - Keystore password (String | Required)</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["certificate","partner","fromKeystore"],"host":["api","mftgateway","com"],"query":[],"variable":[]}},"response":[{"id":"eb088eff-f63b-4a94-b388-7cb93f83f346","name":"Success Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\r\n    \"keystore\": \"Base64 Keystore\",\r\n    \"alias\": \"Cert-alias\",\r\n    \"keystorePassword\": \"Keystore-password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/certificate/partner/fromKeystore"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"certificate\": {\n        \"alias\": \"4e3f6627-61bf-4e11-b573-8b56103b82a8\",\n        \"type\": \"PARTNER\",\n        \"serialNumberHex\": \"18832FA5550\",\n        \"serialNumberDecimal\": \"1684482446672\"\n    },\n    \"message\": \"PARTNER certificate imported successfully from existing keystore\"\n}"},{"id":"6159c4ba-bd8b-45f5-b3cd-946e3f665cb6","name":"Not Found Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\r\n    \"keystore\": \"Base64 Keystore\",\r\n    \"alias\": \"Cert-alias\",\r\n    \"keystorePassword\": \"Keystore-password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/certificate/partner/fromKeystore"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unable to find certificate with alias: keystore-cert\"\n}"}],"_postman_id":"2a87d239-65fb-439f-957c-823e90265f1a"},{"name":"Renew Keypair","id":"266c4e9b-56f5-4d7a-9a45-32a1c48b68a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"apiToken"}],"body":{"mode":"raw","raw":"{\r\n    \"alias\": \"Keypair-alias\",\r\n    \"extendValidityByYears\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/certificate/keypair/renew?certType=STATION","description":"<p>This endpoint can be used to renew a <strong>Station</strong> or <strong>HTTPS Identity</strong> keypair.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>certType</strong>- Certificate Type. Allowed values: 'STATION', 'HTTPS_IDENTITY' (String | Required)</li>\n</ul>\n<p><strong>Request Headers</strong></p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<p><strong>Request Body</strong></p>\n<p>Should be a valid JSON with following fields.</p>\n<p>Mandatory fields</p>\n<ul>\n<li><p><strong>alias</strong> - Certificate Alias (String | Required)</p>\n</li>\n<li><p><strong>extendValidityByYears</strong> - Certificate extend validity in years (Number | Required) Allowed values: 1, 2, 3, 5, 8, 10</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["certificate","keypair","renew"],"host":["api","mftgateway","com"],"query":[{"description":{"content":"<p>STATION or HTTPS_IDENTITY</p>\n","type":"text/plain"},"key":"certType","value":"STATION"}],"variable":[]}},"response":[{"id":"bed6b559-1ebc-412f-9f0e-a1d7cfa298ac","name":"Success Response","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\r\n    \"alias\": \"Keypair-alias\",\r\n    \"extendValidityByYears\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/certificate/keypair/renew?certType=STATION","protocol":"https","host":["api","mftgateway","com"],"path":["certificate","keypair","renew"],"query":[{"key":"certType","value":"STATION","description":"STATION or HTTPS_IDENTITY"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"certificate\": {\n        \"alias\": \"Keypair-alias\",\n        \"type\": \"STATION\",\n        \"serialNumberHex\": \"19A30CAA910\",\n        \"serialNumberDecimal\": \"1761755179280\"\n    },\n    \"message\": \"STATION keypair renewed successfully\"\n}"},{"id":"dd359da2-0610-451c-8704-1b57223a7609","name":"Not Found Response","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\r\n    \"alias\": \"Keypair-alias\",\r\n    \"extendValidityByYears\": 1\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/certificate/keypair/renew?certType=STATION","protocol":"https","host":["api","mftgateway","com"],"path":["certificate","keypair","renew"],"query":[{"key":"certType","value":"STATION","description":"STATION or HTTPS_IDENTITY"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unable to find certificate with alias: Keypair-alias\"\n}"}],"_postman_id":"266c4e9b-56f5-4d7a-9a45-32a1c48b68a3"}],"id":"dc260856-8fa0-4e26-9f77-9a2cbfd3c1c2","_postman_id":"dc260856-8fa0-4e26-9f77-9a2cbfd3c1c2","description":""},{"name":"Message","item":[{"name":"List Inbox (Received) Messages","id":"a6b25b5d-cfa6-4e06-af05-e38f8ccf0674","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"url":"https://api.mftgateway.com/message/inbox","description":"<p>This API endpoint can be used to list <strong>received</strong> messages with <strong>optional</strong> filters as <strong>query</strong> parametes.</p>\n<hr />\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n<p><strong>General filters:</strong> Can be applied along with other filters(primary/secondary) without any restriction</p>\n<ul>\n<li><p><strong>detailed</strong> - show detailed information of messages</p>\n</li>\n<li><p><strong>fetchAll</strong> - Fetch all messages including messages already been \"marked as read\" within the <strong>API scope</strong>. Defaults to false.</p>\n</li>\n<li><p><strong>from -</strong> Filter messages from a specified date</p>\n</li>\n<li><p><strong>pageLength​</strong> - Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n</li>\n<li><p><strong>pageOffset</strong>​ - Page number. An integer value greater than or equal to zero is accepted. Default is zero.</p>\n</li>\n<li><p><strong>sortDir</strong>​ - Sort direction. Allowed values are <strong>​asc​</strong> and <strong>​desc​</strong>. Defaults to ​desc​.</p>\n</li>\n<li><p><strong>to -</strong> Filter messages upto a specified date (dependent upon 'from' filter)</p>\n</li>\n</ul>\n<p><strong>Primary filters:</strong> Have higher precedence over secondary files. If apply both primary and secondary filters in a single API request, <strong>secondary filters</strong> will be <strong>ignored</strong>.</p>\n<ul>\n<li><p><strong>partnerIdentifier​</strong> - Identifier of the Partner that sent/received these messages</p>\n</li>\n<li><p><strong>stationIdentifier​​</strong> - Identifier of the Station that received/sent these messages</p>\n</li>\n</ul>\n<p><strong>Secondary filters:</strong> Can apply <strong>single secondary filter per API request</strong>. Secondary filters will be applied in the listed precedence. If apply more than one secondary filter in a single API request, <strong>the highest precedence</strong> secondary filter will be applied and the rest will be ignored.</p>\n<ul>\n<li><p><strong>identifier​</strong>​​ - Identifier of the required message</p>\n</li>\n<li><p><strong>subject​</strong> - Any subject string, to filter messages against</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","inbox"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Sort direction of messages. supports asc, desc. default desc</p>\n","type":"text/plain"},"key":"sortDir","value":"asc"},{"disabled":true,"description":{"content":"<p>Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n","type":"text/plain"},"key":"pageLength","value":"10"},{"disabled":true,"description":{"content":"<p>Page offset, supports non negative integer values, default 0</p>\n","type":"text/plain"},"key":"pageOffset","value":"0"},{"disabled":true,"description":{"content":"<p>AS2 identifier of the AS2 Station that received these messages</p>\n","type":"text/plain"},"key":"stationIdentifier","value":"test-station"},{"disabled":true,"description":{"content":"<p>AS2 identifier of the AS2 Partner that sent these messages</p>\n","type":"text/plain"},"key":"partnerIdentifier","value":"test-partner"},{"disabled":true,"description":{"content":"<p>Any subject string, to filter messages against</p>\n","type":"text/plain"},"key":"subject","value":"message subject"},{"disabled":true,"description":{"content":"<p>AS2 message identifier of the required AS2 message(s)</p>\n","type":"text/plain"},"key":"identifier","value":"<1595831212322@mftgateway.com>"},{"disabled":true,"description":{"content":"<p>Fetch all messages including already been \"marked as read\" within the API scope. default false</p>\n","type":"text/plain"},"key":"fetchAll","value":"false"},{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"},{"disabled":true,"description":{"content":"<p>Filter messages from a specified date</p>\n","type":"text/plain"},"key":"from","value":"YYYY-MM-DD"},{"disabled":true,"description":{"content":"<p>Filter messages upto a specified date (dependent upon 'from' filter)</p>\n","type":"text/plain"},"key":"to","value":"YYYY-MM-DD"}],"variable":[]}},"response":[{"id":"31e68f98-64c0-4209-8e3f-582016e6d26b","name":"Success Response - AS2","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"url":{"raw":"https://api.mftgateway.com/message/inbox","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages. supports asc, desc. default desc","disabled":true},{"key":"pageLength","value":"10","description":"Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.","disabled":true},{"key":"pageOffset","value":"0","description":"Page offset, supports non negative integer values, default 0","disabled":true},{"key":"stationIdentifier","value":"test-station","description":"AS2 identifier of the AS2 Station that received these messages","disabled":true},{"key":"partnerIdentifier","value":"test-partner","description":"AS2 identifier of the AS2 Partner that sent these messages","disabled":true},{"key":"subject","value":"message subject","description":"Any subject string, to filter messages against","disabled":true},{"key":"identifier","value":"<1595831212322@mftgateway.com>","description":"AS2 message identifier of the required AS2 message(s)","disabled":true},{"key":"fetchAll","value":"true","description":"Fetch all messages including messages already been \"marked as read\" within the API scope. default false","disabled":true},{"key":"from","value":"YYYY-MM-DD","description":"Filter messages from a specified date","disabled":true},{"key":"to","value":"YYYY-MM-DD","description":"Filter messages upto a specified date (dependent upon 'from' filter)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"344"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 05:16:12 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [\n        \"<1362982210074155.as2@mftgateway.com>\",\n        \"<1362976992939096.as2@mftgateway.com>\",\n        \"<1361139554901346.as2@mftgateway.com>\",\n        \"<1361138810669272.as2@mftgateway.com>\",\n        \"<1361137555345554.as2@mftgateway.com>\",\n        \"<1356732340325205.as2@mftgateway.com>\",\n        \"<1356690566716437.as2@mftgateway.com>\",\n        \"<1356689015119625.as2@mftgateway.com>\",\n        \"<1356669811321404.as2@mftgateway.com>\",\n        \"<1356661225891764.as2@mftgateway.com>\"\n    ],\n    \"hasMoreMessages\": true\n}"},{"id":"947adb1e-27cc-434c-b1db-151230201da6","name":"Success Response - No messages","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"url":{"raw":"https://api.mftgateway.com/message/inbox","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages","disabled":true},{"key":"pageLength","value":"10","description":"Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.","disabled":true},{"key":"pageOffset","value":"0","description":"Page offset, supports non negative integer values, default 0","disabled":true},{"key":"stationIdentifier","value":"test-station","description":"AS2 identifier of the AS2 Station that sent these messages","disabled":true},{"key":"partnerIdentifier","value":"test-partner","description":"AS2 identifier of the AS2 Partner that received these messages","disabled":true},{"key":"subject","value":"message subject","description":"Any subject string, to filter messages against","disabled":true},{"key":"identifier","value":"<1595831212322@mftgateway.com>","description":"AS2 message identifier of the required AS2 message(s)","disabled":true},{"key":"fetchAll","value":"true","description":"Fetch all messages including messages already been \"marked as read\" within the API scope. default false","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"15"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 17 Jul 2020 06:19:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [],\n    \"hasMoreMessages\": false\n}"},{"id":"f9c65da5-cb40-43c8-81c8-1413d45fc516","name":"Success Response - SFTP","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"byAttachment"}],"url":{"raw":"https://api.mftgateway.com/message/inbox?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages. supports asc, desc. default desc","disabled":true},{"key":"pageLength","value":"10","description":"Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.","disabled":true},{"key":"pageOffset","value":"0","description":"Page offset, supports non negative integer values, default 0","disabled":true},{"key":"partnerIdentifier","value":"MyPartner","description":"Identifier of the SFTP Partner that sent these messages","disabled":true},{"key":"fetchAll","value":"false","description":"Fetch all messages including already been \"marked as read\" within the API scope. default false","disabled":true},{"key":"service","value":"sftp"},{"key":"from","value":"YYYY-MM-DD","description":"Filter messages from a specified date","disabled":true},{"key":"to","value":"YYYY-MM-DD","description":"Filter messages upto a specified date (dependent upon 'from' filter)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 05:19:30 GMT"},{"key":"x-amzn-RequestId","value":"eb6d7d91-728c-4a5f-b1be-0b17598d6740"},{"key":"x-amzn-Remapped-content-length","value":"55"},{"key":"x-amz-apigw-id","value":"WtxvfElPIAMEE8A="},{"key":"etag","value":"W/\"37-cdb1r7BDDHKw9T+5mYQ0VLwOPZk\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66289662-072e03fb12bebc9b02a7bbdf;Parent=2ad8384a48f69a23;Sampled=0;lineage=c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b9e3ae23b2e5d7b2e1c159467ba23f34.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"K4DeaPk3rUGhZd78xv0sdJQ1ZRhmrLk7KW3HDqfWLEa-MUd6gzZksA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [\n        \"<1360989105156099.sftp@mftgateway.com>\",\n        \"<1360989105156234.sftp@mftgateway.com>\",\n        \"<1360989105156642.sftp@mftgateway.com>\",\n        \"<1360989105156890.sftp@mftgateway.com>\"\n    ],\n    \"hasMoreMessages\": true\n}"}],"_postman_id":"a6b25b5d-cfa6-4e06-af05-e38f8ccf0674"},{"name":"List Inbox (Received) Failed Messages","id":"0ccce633-7ecb-43e2-b87a-8a1914df3b4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/message/inbox/failed","description":"<p>This API endpoint can be used to list <strong>receive failed</strong> messages with <strong>optional</strong> filters as <strong>query</strong> parametes.</p>\n<hr />\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2' (String | Default: as2)</li>\n</ul>\n<p><strong>General filters:</strong> Can be applied along with other filters(primary/secondary) without any restriction</p>\n<ul>\n<li><p><strong>detailed</strong> - show detailed information of messages</p>\n</li>\n<li><p><strong>fetchAll</strong> - Fetch all messages including messages already been \"marked as read\" within the <strong>API scope</strong>. Defaults to false.</p>\n</li>\n<li><p><strong>pageLength​</strong> - Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n</li>\n<li><p><strong>pageOffset</strong>​ - Page number. An integer value greater than or equal to zero is accepted. Default is zero.</p>\n</li>\n<li><p><strong>sortDir</strong>​ - Sort direction. Allowed values are <strong>​asc​</strong> and <strong>​desc​</strong>. Defaults to ​desc​.</p>\n</li>\n</ul>\n<p><strong>Primary filters:</strong> Have higher precedence over secondary files. If apply both primary and secondary filters in a single API request, <strong>secondary filters</strong> will be <strong>ignored</strong>.</p>\n<ul>\n<li><p><strong>partnerIdentifier</strong> - Identifier of the Partner that sent these messages</p>\n</li>\n<li><p><strong>stationIdentifier​</strong> - Identifier of the Station that received these messages</p>\n</li>\n</ul>\n<p><strong>Secondary filters:</strong> Can apply <strong>single secondary filter per API request</strong>. Secondary filters will be applied in the listed precedence. If apply more than one secondary filter in a single API request, <strong>the highest precedence</strong> secondary filter will be applied and the rest will be ignored.</p>\n<ul>\n<li><p><strong>identifier</strong>​​ - Identifier of the required message</p>\n</li>\n<li><p><strong>subject​</strong> - Any subject string, to filter messages against</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","inbox","failed"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Sort direction of messages. supports asc, desc. default desc</p>\n","type":"text/plain"},"key":"sortDir","value":"asc"},{"disabled":true,"description":{"content":"<p>Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n","type":"text/plain"},"key":"pageLength","value":"10"},{"disabled":true,"description":{"content":"<p>Page offset, supports non negative integer values, default 0</p>\n","type":"text/plain"},"key":"pageOffset","value":"0"},{"disabled":true,"description":{"content":"<p>AS2 identifier of the AS2 Station that received these messages</p>\n","type":"text/plain"},"key":"stationIdentifier","value":"test-station"},{"disabled":true,"description":{"content":"<p>AS2 identifier of the AS2 Partner that sent these messages</p>\n","type":"text/plain"},"key":"partnerIdentifier","value":"test-partner"},{"disabled":true,"description":{"content":"<p>Any subject string, to filter messages against</p>\n","type":"text/plain"},"key":"subject","value":"message subject"},{"disabled":true,"description":{"content":"<p>AS2 message identifier of the required AS2 message(s)</p>\n","type":"text/plain"},"key":"identifier","value":"<1595831212322@mftgateway.com>"},{"disabled":true,"description":{"content":"<p>Show detailed information of messages</p>\n","type":"text/plain"},"key":"detailed","value":"false"},{"disabled":true,"description":{"content":"<p>Fetch all messages including already been \"marked as read\" within the API scope. default false</p>\n","type":"text/plain"},"key":"fetchAll","value":"false"},{"disabled":true,"description":{"content":"<p>Allowed values: 'as2' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[]}},"response":[{"id":"64a17b9e-ab9e-4b54-b278-e44446492f70","name":"Success Response - AS2","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJraWQiOiJPMzVQNmVVTUU1YkR5R3NEVGdVZG1Dcm80cW95MWoxdlBGc2NRQ0pGdGZFPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI1NjJkOWI5ZS0yYzQzLTRhOWUtODNkZi1jMzY5MmQ2ZGMxNzQiLCJjb2duaXRvOmdyb3VwcyI6WyJvcmctYWRtaW4iXSwicHJvZmlsZSI6InRlbmFudCIsImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC51cy1lYXN0LTEuYW1hem9uYXdzLmNvbVwvdXMtZWFzdC0xX2JUM1dKcUZ3eCIsImNvZ25pdG86dXNlcm5hbWUiOiJsYWhpcnVAYWRyb2l0bG9naWMuY29tIiwiZ2l2ZW5fbmFtZSI6IjEwMDUyMDI3NjM1MTMxIiwiY3VzdG9tOmZ1bGxfbmFtZSI6IkxhaGlydSBLYXVzaGFseWEiLCJhdWQiOiI3MnB0ODZkbGVvazExdThnN2tsMmZ0YmdjdCIsImV2ZW50X2lkIjoiODYyNTE5NmItODY1YS00MDZkLWE5YmQtZWJiYzljY2RmMTYzIiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE1OTU5MTg1MDksIm5hbWUiOiJsYWhpcnUiLCJuaWNrbmFtZSI6IjAiLCJleHAiOjE1OTU5MjIxMDksImN1c3RvbTpyb2xlIjoib3JnLWFkbWluIiwiaWF0IjoxNTk1OTE4NTA5LCJmYW1pbHlfbmFtZSI6Im1mdGctc3RhZ2luZy1sYWhpcnUiLCJlbWFpbCI6ImxhaGlydUBhZHJvaXRsb2dpYy5jb20ifQ.JvrNarBVng_rSIARJ13G4tAs8tsk8wBGuFWXTtjFdXh_pB5uHlLvGahkM43aAsXwugIiEcOq7zoL1RrwseFc2ilbHJxpGQmyGuA_t2QCzkcZza2RQUqVdGnxetexp93vDBeKV3HdY57ajf8cLiNDlm-qmW3_2WFDn1iiwgUn2pwK6_aocML7ups_IEr4nXz4YtuyzYeFh82taKKwiRQB7qr0nzNDzdfDDNmHrCVCqU1PyTRg23REr3_-g5KjvG1e2_Hr7mCp9TEbodZ3kR-CMRaois23ELfa1dNpJobn8QQ9g-d8ZOYDqvYmpQaZ8wosQi91agWEQrgN-CYq3rTvig"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/failed","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox","failed"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages. supports asc, desc. default desc","disabled":true},{"key":"pageLength","value":"10","description":"Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.","disabled":true},{"key":"pageOffset","value":"0","description":"Page offset, supports non negative integer values, default 0","disabled":true},{"key":"stationIdentifier","value":"test-station","description":"AS2 identifier of the AS2 Station that sent these messages","disabled":true},{"key":"partnerIdentifier","value":"test-partner","description":"AS2 identifier of the AS2 Partner that received these messages","disabled":true},{"key":"subject","value":"message subject","description":"Any subject string, to filter messages against","disabled":true},{"key":"identifier","value":"<1595831212322@mftgateway.com>","description":"AS2 message identifier of the required AS2 message(s)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"344"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 06:43:15 GMT"},{"key":"x-amzn-RequestId","value":"306d26a7-4af5-44a7-9c18-bbc6e66fff65"},{"key":"x-amzn-Remapped-content-length","value":"344"},{"key":"x-amz-apigw-id","value":"QXxYjHXwoAMFkvA="},{"key":"etag","value":"W/\"158-psUW0sy0NIQ/Z4iRVNxwE9Axkx8\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5f1fc903-cd5d7fa2370db0d9061bbcd1;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 0b3572829f6f42309f3adfa694398770.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN5-C1"},{"key":"X-Amz-Cf-Id","value":"_ByYIJ_dki3_1pclv5yiJQSYTUiioSxnQXBpnX15EDiAO6TpbJBKGw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [\n        \"<1362982210074155.as2@mftgateway.com>\",\n        \"<1362976992939096.as2@mftgateway.com>\",\n        \"<1361139554901346.as2@mftgateway.com>\",\n        \"<1361138810669272.as2@mftgateway.com>\",\n        \"<1361137555345554.as2@mftgateway.com>\",\n        \"<1356732340325205.as2@mftgateway.com>\",\n        \"<1356690566716437.as2@mftgateway.com>\",\n        \"<1356689015119625.as2@mftgateway.com>\",\n        \"<1356669811321404.as2@mftgateway.com>\",\n        \"<1356661225891764.as2@mftgateway.com>\"\n    ],\n    \"hasMoreMessages\": true\n}"},{"id":"2fca81e2-fb8a-4499-8d96-8a1648bb0d8a","name":"Success Response - No messages","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/failed","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox","failed"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"15"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 17 Jul 2020 06:19:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [],\n    \"hasMoreMessages\": false\n}"},{"id":"85f0f282-b7eb-4bfe-a3f2-bdccb7aa87e4","name":"Success Response - SFTP","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/failed?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox","failed"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages. supports asc, desc. default desc","disabled":true},{"key":"pageLength","value":"10","description":"Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.","disabled":true},{"key":"pageOffset","value":"0","description":"Page offset, supports non negative integer values, default 0","disabled":true},{"key":"partnerIdentifier","value":"test-partner","description":"AS2 identifier of the AS2 Partner that received these messages","disabled":true},{"key":"detailed","value":"false","description":"Show detailed information of messages","disabled":true},{"key":"service","value":"sftp"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 06:31:46 GMT"},{"key":"x-amzn-RequestId","value":"f58474cd-ffec-482f-b78d-a84953bc3dfe"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"Wt8U5EykIAMEtqw="},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 66b6cd04ec22251498906e833eb08668.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"a82nRr-yjpfenwnQuXgC2rEJq33v0GDfqEBe71buhYHnekPytMdjTw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [\n        \"<1360989105156099.sftp@mftgateway.com>\",\n        \"<1360989105156234.sftp@mftgateway.com>\",\n        \"<1360989105156642.sftp@mftgateway.com>\",\n        \"<1360989105156890.sftp@mftgateway.com>\"\n    ],\n    \"hasMoreMessages\": true\n}"}],"_postman_id":"0ccce633-7ecb-43e2-b87a-8a1914df3b4f"},{"name":"List Messages By Attachment Name (Coming Soon)","id":"35a34006-a329-47bc-8b3c-26e868001610","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"url":"https://api.mftgateway.com/message/byAttachment?attachmentName=AttachmentOne","description":"<p>This API endpoint can be used to list messages (inbox/outbox) based on attachment names with <strong>optional</strong> filters as <strong>query</strong> parametes.</p>\n<hr />\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Required | Default: as2)</li>\n</ul>\n<p><strong>Primary filter:</strong> <code>attachmentName</code> supports file name searches using either an <strong>exact match</strong> or a <strong>begins with</strong> query pattern. When combined with secondary filters, <code>attachmentName</code> is limited to exact match searches only.</p>\n<ul>\n<li><strong>attachmentName</strong> - Attachment name string to filter messages (String | Required)</li>\n</ul>\n<p><strong>Secondary filters:</strong> When secondary filters are applied, <code>attachmentName</code> must be an <strong>exact match</strong>.</p>\n<ul>\n<li><p><strong>from -</strong> Filter message identifiers from a specified date (String | YYYY-MM-DD)</p>\n</li>\n<li><p><strong>to -</strong> Filter message identifiers upto a specified date (String | YYYY-MM-DD | dependent upon 'from' filter)</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","byAttachment"],"host":["api","mftgateway","com"],"query":[{"description":{"content":"<p>Attachment name string, to filter message identifiers against</p>\n","type":"text/plain"},"key":"attachmentName","value":"AttachmentOne"},{"disabled":true,"description":{"content":"<p>Filter messages from a specified date</p>\n","type":"text/plain"},"key":"from","value":"YYYY-MM-DD"},{"disabled":true,"description":{"content":"<p>Filter messages upto a specified date (dependent upon 'from' filter)</p>\n","type":"text/plain"},"key":"to","value":"YYYY-MM-DD"},{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[]}},"response":[{"id":"55cce07e-bf67-4f3d-9005-e26b75d7cdb0","name":"Success Response - AS2","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"url":{"raw":"https://api.mftgateway.com/message/byAttachment?attachmentName=AttachmentOne","protocol":"https","host":["api","mftgateway","com"],"path":["message","byAttachment"],"query":[{"key":"attachmentName","value":"AttachmentOne","description":"Attachment name string, to filter message Identifires against"},{"key":"from","value":"YYYY-MM-DD","description":"Filter messages from a specified date","disabled":true},{"key":"to","value":"YYYY-MM-DD","description":"Filter messages upto a specified date (dependent upon 'from' filter)","disabled":true},{"key":"service","value":"as2","description":"Allowed values: 'as2', 'sftp' (Default: as2)","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"344"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 05:16:12 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [\n        \"<1362982210074155.as2@mftgateway.com>\",\n        \"<1362976992939096.as2@mftgateway.com>\"\n    ],\n    \"type\": \"as2\"\n}"},{"id":"1aefd68d-843b-4610-8dda-ca33f823f4d4","name":"Success Response - No messages","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"url":{"raw":"https://api.mftgateway.com/message/byAttachment?attachmentName=AttachmentOne","protocol":"https","host":["api","mftgateway","com"],"path":["message","byAttachment"],"query":[{"key":"attachmentName","value":"AttachmentOne","description":"Attachment name string, to filter message Identifires against"},{"key":"from","value":"YYYY-MM-DD","description":"Filter messages from a specified date","disabled":true},{"key":"to","value":"YYYY-MM-DD","description":"Filter messages upto a specified date (dependent upon 'from' filter)","type":"text","disabled":true},{"key":"service","value":"as2","description":"Allowed values: 'as2', 'sftp' (Default: as2)","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"15"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 17 Jul 2020 06:19:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [],\n    \"type\": \"as2\"\n}"},{"id":"3a0bbd42-cfc8-4fd8-9438-c66b571ba047","name":"Success Response - SFTP","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"url":{"raw":"https://api.mftgateway.com/message/byAttachment?attachmentName=AttachmentOne&service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","byAttachment"],"query":[{"key":"attachmentName","value":"AttachmentOne","description":"Attachment name string, to filter message Identifires against"},{"key":"from","value":"YYYY-MM-DD","description":"Filter messages from a specified date","disabled":true},{"key":"to","value":"YYYY-MM-DD","description":"Filter messages upto a specified date (dependent upon 'from' filter)","disabled":true},{"key":"service","value":"sftp","description":"Allowed values: 'as2', 'sftp' (Default: as2)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 05:19:30 GMT"},{"key":"x-amzn-RequestId","value":"eb6d7d91-728c-4a5f-b1be-0b17598d6740"},{"key":"x-amzn-Remapped-content-length","value":"55"},{"key":"x-amz-apigw-id","value":"WtxvfElPIAMEE8A="},{"key":"etag","value":"W/\"37-cdb1r7BDDHKw9T+5mYQ0VLwOPZk\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66289662-072e03fb12bebc9b02a7bbdf;Parent=2ad8384a48f69a23;Sampled=0;lineage=c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b9e3ae23b2e5d7b2e1c159467ba23f34.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"K4DeaPk3rUGhZd78xv0sdJQ1ZRhmrLk7KW3HDqfWLEa-MUd6gzZksA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [\n        \"<1360989105156099.sftp@mftgateway.com>\",\n        \"<1360989105156234.sftp@mftgateway.com>\"\n    ],\n    \"type\": \"sftp\"\n}"}],"_postman_id":"35a34006-a329-47bc-8b3c-26e868001610"},{"name":"Retrieve Inbox (Received) Message By Message Identifier","id":"e404292b-1361-49b5-935e-cb8647f2ac51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/message/inbox/:identifier","description":"<p>This API endpoint can be used to retrieve <strong>received</strong> message with optional <strong>markAsRead</strong>(Boolean) query param.</p>\n<hr />\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n<p>If <strong>markAsRead</strong> query param is set to ​true​, the message will be \"marked as read\" upon retrieval. Defaults to true.<br />Any message list queries with <strong>fetchAll</strong> query param set to <strong>false</strong>, will not return the corresponding message afterwards. You can combine this and the <strong>fetchAll</strong> query parameter, to ensure one-time processing of received messages. (Note that this marking will be applied only at <strong>API scope</strong>; \"marked as read\" messages may still appear as unread on the MFT Gateway webapp inbox.)</p>\n","urlObject":{"protocol":"https","path":["message","inbox",":identifier"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"key":"markAsRead","value":"true"},{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"f053a553-5858-41fe-be9f-bb85ae99436e","name":"Success Response - AS2","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/inbox/:identifier","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox",":identifier"],"query":[{"key":"markAsRead","value":"true","disabled":true}],"variable":[{"key":"identifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2551"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 10:29:35 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 10959001878639,\n    \"identifier\": \"<1362982210074155.as2@mftgateway.com>\",\n    \"incoming\": true,\n    \"msgStatus\": \"Received\",\n    \"mdnStatus\": \"Sent Signed MDN\",\n    \"receiverIdentifier\": \"MyStation\",\n    \"senderIdentifier\": \"MyPartner\",\n    \"subject\": \"AS2 Message from MyPartner\",\n    \"failures\": 0,\n    \"attachmentPaths\": [\n        \"AS2/files/MyStation/MyPartner/inbox/1594924300560-333/Attachment.raw\"\n    ],\n    \"attachmentInfo\": [\n        {\n            \"size\": \"252\",\n            \"name\": \"Attachment.raw\"\n        }\n    ],\n    \"compressed\": false,\n    \"signed\": true,\n    \"encrypted\": true,\n    \"mic\": \"cxbzphztud4C6z8+lJa0R9V6uUw=, sha1\",\n    \"micMatches\": false,\n    \"transportStatusReceived\": 0,\n    \"userAgent\": \"AdroitLogic UltraESB-X\",\n    \"timestamp\": 1594924304442,\n    \"apiFetched\": true,\n    \"deletedAttachmentsOnSuccessMdn\": false,\n    \"failureReason\": \"\",\n    \"transportHeaders\": {\n        \"CloudFront-Viewer-Country\": \"US\",\n        \"CloudFront-Forwarded-Proto\": \"https\",\n        \"CloudFront-Is-Tablet-Viewer\": \"false\",\n        \"AS2-From\": \"MyPartner\",\n        \"User-Agent\": \"AdroitLogic UltraESB-X\",\n        \"Accept-Encoding\": \"gzip\",\n        \"Content-Transfer-Encoding\": \"binary\",\n        \"Message-ID\": \"<1362982210074155.as2@mftgateway.com>\",\n        \"Disposition-Notification-Options\": \"signed-receipt-protocol=optional,pkcs7-signature; signed-receipt-micalg=optional,sha1,md5\",\n        \"X-Amz-Cf-Id\": \"AmhW08tMTpI8DJrXnIuFHGiUHspdX_GZ4GM2qW93SDi4dycpwkjxMw==\",\n        \"AS2-To\": \"MyStation\",\n        \"CloudFront-Is-Desktop-Viewer\": \"true\",\n        \"Content-Type\": \"application/octet-stream; name=\\\"smime.p7m\\\"; smime-type=enveloped-data\",\n        \"CloudFront-Is-Mobile-Viewer\": \"false\",\n        \"X-Forwarded-Proto\": \"https\",\n        \"CloudFront-Is-SmartTV-Viewer\": \"false\",\n        \"Disposition-Notification-To\": \"mystation@mymail.com\",\n        \"AS2-Version\": \"1.1\",\n        \"Host\": \"service.mftgateway.com\",\n        \"From\": \"mystation@mymail.com\",\n        \"X-Forwarded-Port\": \"443\",\n        \"MIME-Version\": \"1.0\",\n        \"Subject\": \"AS2 Message from: MyPartner\",\n        \"X-Amzn-Trace-Id\": \"Root=1-5f109d08-0fec3714afc0950ce8508fd4\",\n        \"Via\": \"1.1 f7a968b55c3516da72549b98f99704a4.cloudfront.net (CloudFront)\",\n        \"X-Forwarded-For\": \"52.204.119.191, 130.176.98.78\"\n    },\n    \"mdnMessage\": {\n        \"mdnId\": \"<1354981266995671@mftgateway.com>\",\n        \"messageId\": 10959001878639,\n        \"identifier\": \"<1362982210074155.as2@mftgateway.com>\",\n        \"disposition\": \"automatic-action/MDN-sent-automatically; processed\",\n        \"humanMessage\": \"MDN for Message-ID: <1362982210074155.as2@mftgateway.com>\\r\\nFrom: MyPartner\\r\\nTo: MyStation\\r\\nReceived on: Thu Jul 16 18:31:46 UTC 2020\\r\\nStatus: processed\\r\\nComment: This is not a guarantee that the message has been completely processed or understood by the receiving translator.\\r\\nPowered by MFT Gateway\\r\\n\",\n        \"rawMdnS3Key\": \"AS2/raw-mdn/incoming/10959001878639/mdn.raw\",\n        \"mic\": \"cxbzphztud4C6z8+lJa0R9V6uUw=, sha1\",\n        \"signed\": true,\n        \"incoming\": false,\n        \"status\": \"Sent Signed MDN\",\n        \"timestamp\": 1594924307980\n    }\n}"},{"id":"7c951f39-6234-446d-85c7-55569fe43484","name":"Not Found Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/inbox/:identifier","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox",":identifier"],"query":[{"key":"markAsRead","value":"true","disabled":true}],"variable":[{"key":"identifier","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 10:30:36 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Message not found\"\n}"},{"id":"5cf99de4-2f17-4126-a47d-a91ec6c6bfab","name":"Success Response - SFTP","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/inbox/<13609891051560997.sftp@mftgateway.com>?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox","<13609891051560997.sftp@mftgateway.com>"],"query":[{"key":"markAsRead","value":"false","disabled":true},{"key":"service","value":"sftp"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"492"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 05:33:35 GMT"},{"key":"x-amzn-RequestId","value":"d09c4669-38c4-4aea-ba69-d0efd9d66bf1"},{"key":"x-amzn-Remapped-content-length","value":"492"},{"key":"x-amz-apigw-id","value":"WtzzgHxZoAMENjg="},{"key":"etag","value":"W/\"1ec-CYbV5ni3n97T9471i7SbFVTjhi8\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-662899af-0edcd4e95e19ccef4f118dcd;Parent=34d14b0e6662ae2e;Sampled=0;lineage=193f2247:0|c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 76e55a2361219fb19722e949475d1844.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"4G9Tfiw0xE-T1vpf4-jAEvFeTgLDUrktv5TNzzFHvwPHqa3XmNPdBw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"apiFetched\": true,\n    \"attachmentInfo\": [\n        {\n            \"name\": \"MyPartner\",\n            \"size\": \"2681\"\n        }\n    ],\n    \"attachmentPaths\": [\n        \"SFTP/partners/MyPartner/inbox/1360989105156099/MyPartner.pem\"\n    ],\n    \"failures\": 0,\n    \"id\": 1360989105156099,\n    \"identifier\": \"<1360989105156099.sftp@mftgateway.com>\",\n    \"incoming\": true,\n    \"isRead\": false,\n    \"msgStatus\": \"Received\",\n    \"msgStatusCode\": 3,\n    \"senderIdentifier\": \"MyPartner\",\n    \"tenantId\": 1270213476973322,\n    \"timestamp\": 1713935705579,\n    \"type\": \"sftp\"\n}"}],"_postman_id":"e404292b-1361-49b5-935e-cb8647f2ac51"},{"name":"Retrieve Inbox (Received) Message Attachment(s)","id":"d615120b-4566-4f08-a43a-33e7eff338ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/message/inbox/:identifier/attachments","description":"<p>This API endpoint can be used to retrieve pre sign URL(s) to download <strong>received</strong> message attachment(s) from Amazon S3 bucket. Please note that the <strong>validity of the S3 signed URL is limited to 10 minutes</strong>.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","inbox",":identifier","attachments"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"719e7b4b-845e-4275-ab18-961f1fab55eb","name":"Success Response - AS2","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/inbox/:identifier/attachments","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox",":identifier","attachments"],"variable":[{"key":"identifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1337"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 11:00:19 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"attachments\": [\n        {\n            \"name\": \"Attachment.raw\",\n            \"url\": \"https://mftg-my-bucket.s3.amazonaws.com/AS2/files/MyStation/MyPartner/inbox/1594924300560-333/Attachment.raw?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA5ZHZSFAWLSPHUVP7%2F20200728%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200728T110019Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEDMaCXVzLWVhc3QtMSJIMEYCIQCWmQLPrM6yJuGXyfa02uwVj9nhO9TgykFYgnO7pw3PzQIhAOd2qR0LQ%2BIpU2izw%2BMcYK0R5C8UgWX3oVC%2BKzt70ZaWKuMBCOz%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQABoMOTQ3NTYzNjY5NTQ4Igx5mzeWLIVApF6w7sYqtwGpje0TL%2F3Kwj7wCI1LRmIUfKK6YUaNtzPfftPS1ZA54rfOrAV29yyJym5ZJ4BMBUL1dtclA5Uwejg%2F5m8zcBHP75DmFRKVyO1U74h%2FknuIxjh7qtObkHXf3vvD6amFCdDB1hdqBs7pk2yB93IsFRkyBJtZAU7EOaGC%2BbhCghClqEmcLsMkC5FWAoHxM%2FncSSwkdDa1VBLy3%2BRDhzPlQddhggymrGgNlYdbHIi9DUbVtB83qC2fbB4wjIqA%2BQU63wFAj3I5FFE4C6IpvPnokaVJ93h9Iegy0zVaaQjOYBG3QdyTyefc%2BJWSuVhJMk770mYyWsVcTJMUUb1FWQ%2BKL2gqlxKjJGqdyxJR9ZuX3CJC3dKQWCUeIjausiJevBW7ReeUwCJEM52tOHwNvTMSPStkV%2FHUleAhmGQ0Q%2F5x8Sz%2BHgbxlUD%2B%2FfEuJq3N4ZKt80BX%2FlKRUnmoNAub8%2BpHbZBLKZPIJQt1aBMIHNn1EdCmx4li00EXdLSYCrDTmob7Vw8SIhwOFlOxQ1qNfKmKNUwN5xNyvLgzzyavdrnJwfgq&X-Amz-Signature=2972481f458e4b4aa0453264885f345fdbbb889f87fb08d8b3cb2577266d9b92&X-Amz-SignedHeaders=host\"\n        }\n    ]\n}"},{"id":"16257811-1def-421f-815b-ab562124f67e","name":"Not Found Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/inbox/:identifier/attachments","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox",":identifier","attachments"],"variable":[{"key":"identifier","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 11:16:01 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Attachment(s) not found\"\n}"},{"id":"730b602c-f660-4e94-a8d8-c36e99d74fc1","name":"Success Response - SFTP","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/inbox/:identifier/attachments?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox",":identifier","attachments"],"query":[{"key":"service","value":"sftp"}],"variable":[{"key":"identifier","value":"<1361014072374867.sftp@mftgateway.com>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1130"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 06:06:03 GMT"},{"key":"x-amzn-RequestId","value":"e4a2bc6b-dc83-454c-926f-494724cd169d"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amzn-Remapped-content-length","value":"1514"},{"key":"x-amz-apigw-id","value":"Wt4jyE2RIAMEFFg="},{"key":"etag","value":"W/\"5ea-Nd9lYCORBrDfITYWNfUgJYlnsWs\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6628a14b-6282c7d1158b99f538ac9df3;Parent=7a658cd5e70ce260;Sampled=0;lineage=193f2247:0|c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 7375f2360b80ec8c602f04aa2cc7a57c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"XyvJuJIVRFTnhswt8cSmtJP_FpNFoOmefQPobk1RfjwYEen60ll9Qg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"attachments\": [\n        {\n            \"name\": \"asdasd-018ef6522ed6.pem\",\n            \"url\": \"https://mftg-abc-inc.s3.us-east-1.amazonaws.com/SFTP/partners/MyPartner/inbox/1361014072374867/asdasd-018ef6522ed6.pem?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIAXVKF5NVFF7L3WURV%2F20240424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240424T060603Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjED4aCXVzLWVhc3QtMSJHMEUCIQD8xJwJEDPCe%2FQ8eiStvhPvX%2F2wfqxZZIa%2BJKeFqg%2FSPQIgbh%2F4c9U14ie%2FyNCz5UNBfHAM25nFYrVJf6cBE2CHy0cqiwMIhv%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARADGgw11MjY4MTY5OTY2ODIiDDwq2hG5nBDi5qa1VyrfAmgOKDTBYj%2B7r4q9i6FvQOn%2FPeImlIxTFkTTq91kXWBQv3eo0VcgJKae4ptHNLtCoQzgDEJ9ys4x7MwE8nad5rVePH7rCMdkvkYELbn9gDt1raXNEkboje4p0fKRN%2ByeW4GRq1cbF%2B09AaRuAd13MWGOUJcAGi%2Bmy6SLV0za77ZmlnbZhujz%2F19icTOhfvMG6DwyOdmR1Hzb2U%2FrZPLP1ggd4Uzb1GGkix%2B0Xj%2FCgz2JcxzpsvOXcT5CLWtkrZZ%2ByTZ5IoHqf7%2FtjJJH%2BHNhgTlacIuQdW962TmgHcbTNV69up6XEhp9jqcg8YueUucug0NaFZ3I5Ot9cfux9JsoTC3SAkzQgJk2%2F5LRt7wUR%2FBo1SWw%2BVAW27TdqoRQE%2FWA9jhC7j5WXfVGth%2FolfIAY2NhBpP1%2Bs6aaMpSwpItNSOEKLW8w%2BvO8jvcMqyysNKtkwN7qLxXxYPhRbtS%2B%2BgoAzCSqKKxBjqeAU%2BY4wTgYgDSopdqoe%2BsmqMWdNoFAGAUm%2BgcuY4%2BSiXMaZ2sKjgGlwHNk6fpPEbXXyN3QjpWxDyx4kzjXtnipMldxuIwVe6yAuDnMfwAYFJkmu5%2BaaCnqLw0CIVhE5KgBn6ItPZIkhFDdPFoduAqpFB9drBPtFnnK0TlfmsYz%2FtkN1c1giuXZo8IgAweds94VHhnR%2BmcYhshz1ggwZS3&X-Amz-Signature=00c2ecedac8c4bb22d8dbdc2ce7187653672347194c7d007bafd71870047786b&X-Amz-SignedHeaders=host&x-id=GetObject\"\n        }\n    ],\n    \"total\": 1\n}"}],"_postman_id":"d615120b-4566-4f08-a43a-33e7eff338ea"},{"name":"Retrieve Inbox (Received) Message MDN [AS2]","id":"4fdaacf4-98e9-490d-9a7d-d2a679e87e2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/message/inbox/:identifier/mdn?service=as2","description":"<p>This API endpoint can be used to retrieve S3 pre sign URL to download <strong>Sent</strong> MDN from Amazon S3 bucket for a <strong>received</strong> message. Please note that the <strong>validity of the S3 signed URL is limited 10 minutes</strong>.</p>\n","urlObject":{"protocol":"https","path":["message","inbox",":identifier","mdn"],"host":["api","mftgateway","com"],"query":[{"description":{"content":"<p>Allowed values: 'as2' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"16fac68e-b379-4a33-bb4b-24193c1c9869","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/inbox/:identifier/mdn","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox",":identifier","mdn"],"variable":[{"key":"identifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1192"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 11:14:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"https://mftg-my-bucket.s3.amazonaws.com/AS2/raw-mdn/incoming/10959001878639/mdn.raw?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA5ZHZSFAWLSPHUVP7%2F20200728%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200728T111420Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEDMaCXVzLWVhc3QtMSJIMEYCIQCWmQLPrM6yJuGXyfa02uwVj9nhO9TgykFYgnO7pw3PzQIhAOd2qR0LQ%2BIpU2izw%2BMcYK0R5C8UgWX3oVC%2BKzt70ZaWKuMBCOz%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQABoMOTQ3NTYzNjY5NTQ4Igx5mzeWLIVApF6w7sYqtwGpje0TL%2F3Kwj7wCI1LRmIUfKK6YUaNtzPfftPS1ZA54rfOrAV29yyJym5ZJ4BMBUL1dtclA5Uwejg%2F5m8zcBHP75DmFRKVyO1U74h%2FknuIxjh7qtObkHXf3vvD6amFCdDB1hdqBs7pk2yB93IsFRkyBJtZAU7EOaGC%2BbhCghClqEmcLsMkC5FWAoHxM%2FncSSwkdDa1VBLy3%2BRDhzPlQddhggymrGgNlYdbHIi9DUbVtB83qC2fbB4wjIqA%2BQU63wFAj3I5FFE4C6IpvPnokaVJ93h9Iegy0zVaaQjOYBG3QdyTyefc%2BJWSuVhJMk770mYyWsVcTJMUUb1FWQ%2BKL2gqlxKjJGqdyxJR9ZuX3CJC3dKQWCUeIjausiJevBW7ReeUwCJEM52tOHwNvTMSPStkV%2FHUleAhmGQ0Q%2F5x8Sz%2BHgbxlUD%2B%2FfEuJq3N4ZKt80BX%2FlKRUnmoNAub8%2BpHbZBLKZPIJQt1aBMIHNn1EdCmx4li00EXdLSYCrDTmob7Vw8SIhwOFlOxQ1qNfKmKNUwN5xNyvLgzzyavdrnJwfgq&X-Amz-Signature=2641a9625dc0cab29702dcb67fc33ee66e0df5edfb0aa6c2c7029cc54110602f&X-Amz-SignedHeaders=host\"\n}"},{"id":"5186b3f5-007f-43f5-8c8c-5c2842f863e0","name":"Not Found Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/inbox/:identifier/mdn","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox",":identifier","mdn"],"query":[{"key":"markAsRead","value":"true","disabled":true}],"variable":[{"key":"identifier","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 10:30:36 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"MDN not found\"\n}"}],"_postman_id":"4fdaacf4-98e9-490d-9a7d-d2a679e87e2b"},{"name":"List Outbox (Sent) Messages","id":"b81871eb-bd54-46fb-9aa2-1c2ab6e2d502","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/message/outbox","description":"<p>This API endpoint can be used to list <strong>successfully sent</strong> messages with <strong>optional</strong> filters as <strong>query</strong> parametes.</p>\n<hr />\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n<p><strong>General filters:</strong> Can be applied along with other filters(primary/secondary) without any restriction</p>\n<ul>\n<li><p><strong>detailed</strong> - show detailed information of messages</p>\n</li>\n<li><p><strong>fetchAll</strong> - Fetch all messages including messages already been \"marked as read\" within the <strong>API scope</strong>. Defaults to false.</p>\n</li>\n<li><p><strong>pageLength​</strong> - Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n</li>\n<li><p><strong>pageOffset</strong>​ - Page number. An integer value greater than or equal to zero is accepted. Default is zero.</p>\n</li>\n<li><p><strong>sortDir</strong>​ - Sort direction. Allowed values are <strong>​asc​</strong> and <strong>​desc​</strong>. Defaults to ​desc​.</p>\n</li>\n</ul>\n<p><strong>Primary filters:</strong> Have higher precedence over secondary files. If apply both primary and secondary filters in a single API request, <strong>secondary filters</strong> will be <strong>ignored</strong>.</p>\n<ul>\n<li><p><strong>partnerIdentifier</strong> - Identifier of the Partner that sent/received these messages</p>\n</li>\n<li><p><strong>stationIdentifier​</strong> - Identifier of the Station that received/sent these messages</p>\n</li>\n</ul>\n<p><strong>Secondary filters:</strong> Can apply <strong>single secondary filter per API request</strong>. Secondary filters will be applied in the listed precedence. If apply more than one secondary filter in a single API request, <strong>the highest precedence</strong> secondary filter will be applied and the rest will be ignored.</p>\n<ul>\n<li><p><strong>identifier</strong>​​ - Identifier of the required message</p>\n</li>\n<li><p><strong>subject​</strong> - Any subject string, to filter messages against</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","outbox"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Sort direction of messages. supports asc, desc. default desc</p>\n","type":"text/plain"},"key":"sortDir","value":"asc"},{"disabled":true,"description":{"content":"<p>Page offset, supports non negative integer values, default 0</p>\n","type":"text/plain"},"key":"pageOffset","value":"0"},{"disabled":true,"description":{"content":"<p>AS2 identifier of the AS2 Station that sent these messages</p>\n","type":"text/plain"},"key":"stationIdentifier","value":"test-station"},{"disabled":true,"description":{"content":"<p>AS2 identifier of the AS2 Partner that received these messages</p>\n","type":"text/plain"},"key":"partnerIdentifier","value":"test-partner"},{"disabled":true,"description":{"content":"<p>Any subject string, to filter messages against</p>\n","type":"text/plain"},"key":"subject","value":"message subject"},{"disabled":true,"description":{"content":"<p>AS2 message identifier of the required AS2 message(s)</p>\n","type":"text/plain"},"key":"identifier","value":"<1595831212322@mftgateway.com>"},{"disabled":true,"description":{"content":"<p>Show detailed information of messages</p>\n","type":"text/plain"},"key":"detailed","value":"false"},{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"},{"disabled":true,"description":{"content":"<p>Fetch all messages including messages already been \"marked as read\" within the API scope. Defaults to false.</p>\n","type":"text/plain"},"key":"fetchAll","value":"false"}],"variable":[]}},"response":[{"id":"cb33de7f-a45e-4d62-89d7-f6f4d438b8b5","name":"Success Response - AS2","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages. supports asc, desc. default desc","disabled":true},{"key":"pageLength","value":"10","description":"Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.","disabled":true},{"key":"pageOffset","value":"0","description":"Page offset, supports non negative integer values, default 0","disabled":true},{"key":"stationIdentifier","value":"test-station","description":"AS2 identifier of the AS2 Station that sent these messages","disabled":true},{"key":"partnerIdentifier","value":"test-partner","description":"AS2 identifier of the AS2 Partner that received these messages","disabled":true},{"key":"subject","value":"message subject","description":"Any subject string, to filter messages against","disabled":true},{"key":"identifier","value":"<1595831212322@mftgateway.com>","description":"AS2 message identifier of the required AS2 message(s)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"374"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 11:49:19 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [\n        \"<1362982210074155.as2@mftgateway.com>\",\n        \"<1362976992939096.as2@mftgateway.com>\",\n        \"<1361139554901346.as2@mftgateway.com>\",\n        \"<1361138810669272.as2@mftgateway.com>\",\n        \"<1361137555345554.as2@mftgateway.com>\",\n        \"<1356732340325205.as2@mftgateway.com>\",\n        \"<1356690566716437.as2@mftgateway.com>\",\n        \"<1356689015119625.as2@mftgateway.com>\",\n        \"<1356669811321404.as2@mftgateway.com>\",\n        \"<1356661225891764.as2@mftgateway.com>\"\n    ],\n    \"hasMoreMessages\": true\n}"},{"id":"97f743ba-0d83-48aa-ada7-b4766e1ee121","name":"Success Response - No messages","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages. supports asc, desc. default desc","disabled":true},{"key":"pageLength","value":"10","description":"Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.","disabled":true},{"key":"pageOffset","value":"0","description":"Page offset, supports non negative integer values, default 0","disabled":true},{"key":"stationIdentifier","value":"test-station","description":"AS2 identifier of the AS2 Station that sent these messages","disabled":true},{"key":"partnerIdentifier","value":"test-partner","description":"AS2 identifier of the AS2 Partner that received these messages","disabled":true},{"key":"subject","value":"message subject","description":"Any subject string, to filter messages against","disabled":true},{"key":"identifier","value":"<1595831212322@mftgateway.com>","description":"AS2 message identifier of the required AS2 message(s)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"15"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 17 Jul 2020 06:19:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [],\n    \"hasMoreMessages\": false\n}"},{"id":"ceda248e-26ac-47a2-a627-8bc439df1283","name":"Success Response - SFTP","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages. supports asc, desc. default desc","disabled":true},{"key":"pageLength","value":"10","description":"Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.","disabled":true},{"key":"pageOffset","value":"0","description":"Page offset, supports non negative integer values, default 0","disabled":true},{"key":"partnerIdentifier","value":"test-partner","description":"Identifier of the SFTP Partner that received these messages","disabled":true},{"key":"service","value":"sftp"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"178"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 06:22:29 GMT"},{"key":"x-amzn-RequestId","value":"ce3da1f4-4cc5-4f80-a7ea-27a39940ce96"},{"key":"x-amzn-Remapped-content-length","value":"178"},{"key":"x-amz-apigw-id","value":"Wt699FopIAMEDYg="},{"key":"etag","value":"W/\"b2-Kkxy/j9XWt7HbEd0pGAHq6OCG10\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6628a525-51871f2526fd72470d0e3293;Parent=68bf15bc4bd78af5;Sampled=0;lineage=c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 4715507645a6516d2df35cd342cb5be0.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"9EMqz-I5cdOvxqWJwSU_QRJrXR80WMG54CHRPDDAp7jBfv8Fm1XHCw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [\n        \"<1360989105156099.sftp@mftgateway.com>\",\n        \"<1360989105156234.sftp@mftgateway.com>\",\n        \"<1360989105156642.sftp@mftgateway.com>\",\n        \"<1360989105156890.sftp@mftgateway.com>\"\n    ],\n    \"hasMoreMessages\": true\n}"}],"_postman_id":"b81871eb-bd54-46fb-9aa2-1c2ab6e2d502"},{"name":"List Outbox (Queued) Messages","id":"7d587acd-65a9-424c-bc2a-d59f22ece675","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/message/outbox/queued","description":"<p>This API endpoint can be used to list <strong>queued(pending-send)</strong> messages with <strong>optional</strong> filters as <strong>query</strong> parametes.</p>\n<hr />\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n<p><strong>General filters:</strong> Can be applied along with other filters(primary/secondary) without any restriction</p>\n<ul>\n<li><p><strong>detailed</strong> - show detailed information of messages</p>\n</li>\n<li><p><strong>fetchAll</strong> - Fetch all messages including messages already been \"marked as read\" within the <strong>API scope</strong>. Defaults to false.</p>\n</li>\n<li><p><strong>pageLength​</strong> - Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n</li>\n<li><p><strong>pageOffset</strong>​ - Page number. An integer value greater than or equal to zero is accepted. Default is zero.</p>\n</li>\n<li><p><strong>sortDir</strong>​ - Sort direction. Allowed values are <strong>​asc​</strong> and <strong>​desc​</strong>. Defaults to ​desc​.</p>\n</li>\n</ul>\n<p><strong>Primary filters:</strong> Have higher precedence over secondary files. If apply both primary and secondary filters in a single API request, <strong>secondary filters</strong> will be <strong>ignored</strong>.</p>\n<ul>\n<li><p><strong>partnerIdentifier</strong> - Identifier of the Partner that sent/received these messages</p>\n</li>\n<li><p><strong>stationIdentifier​</strong> - Identifier of the Station that received/sent these messages</p>\n</li>\n</ul>\n<p><strong>Secondary filters:</strong> Can apply <strong>single secondary filter per API request</strong>. Secondary filters will be applied in the listed precedence. If apply more than one secondary filter in a single API request, <strong>the highest precedence</strong> secondary filter will be applied and the rest will be ignored.</p>\n<ul>\n<li><p><strong>identifier</strong>​​ - Identifier of the required message</p>\n</li>\n<li><p><strong>subject​</strong> - Any subject string, to filter messages against</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","outbox","queued"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Sort direction of messages. supports asc, desc. default desc</p>\n","type":"text/plain"},"key":"sortDir","value":"asc"},{"disabled":true,"description":{"content":"<p>Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n","type":"text/plain"},"key":"pageLength","value":"10"},{"disabled":true,"description":{"content":"<p>Page offset, supports non negative integer values, default 0</p>\n","type":"text/plain"},"key":"pageOffset","value":"0"},{"disabled":true,"description":{"content":"<p>AS2 identifier of the AS2 Station that sent these messages</p>\n","type":"text/plain"},"key":"stationIdentifier","value":"test-station"},{"disabled":true,"description":{"content":"<p>AS2 identifier of the AS2 Partner that received these messages</p>\n","type":"text/plain"},"key":"partnerIdentifier","value":"test-partner"},{"disabled":true,"description":{"content":"<p>Any subject string, to filter messages against</p>\n","type":"text/plain"},"key":"subject","value":"message subject"},{"disabled":true,"description":{"content":"<p>AS2 message identifier of the required AS2 message(s)</p>\n","type":"text/plain"},"key":"identifier","value":"<1595831212322@mftgateway.com>"},{"disabled":true,"description":{"content":"<p>Show detailed information of messages</p>\n","type":"text/plain"},"key":"detailed","value":"false"},{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"},{"disabled":true,"description":{"content":"<p>Fetch all messages including messages already been \"marked as read\" within the API scope. Defaults to false.</p>\n","type":"text/plain"},"key":"fetchAll","value":"false"}],"variable":[]}},"response":[{"id":"f179d65a-ada6-41d1-8b42-dd77c3652056","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/queued","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox","queued"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages. supports asc, desc. default desc","disabled":true},{"key":"pageLength","value":"10","description":"Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.","disabled":true},{"key":"pageOffset","value":"0","description":"Page offset, supports non negative integer values, default 0","disabled":true},{"key":"stationIdentifier","value":"test-station","description":"AS2 identifier of the AS2 Station that sent these messages","disabled":true},{"key":"partnerIdentifier","value":"test-partner","description":"AS2 identifier of the AS2 Partner that received these messages","disabled":true},{"key":"subject","value":"message subject","description":"Any subject string, to filter messages against","disabled":true},{"key":"identifier","value":"<1595831212322@mftgateway.com>","description":"AS2 message identifier of the required AS2 message(s)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"344"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 06:42:02 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [\n        \"<1362982210074155.as2@mftgateway.com>\",\n        \"<1362976992939096.as2@mftgateway.com>\",\n        \"<1361139554901346.as2@mftgateway.com>\",\n        \"<1361138810669272.as2@mftgateway.com>\",\n        \"<1361137555345554.as2@mftgateway.com>\",\n        \"<1356732340325205.as2@mftgateway.com>\",\n        \"<1356690566716437.as2@mftgateway.com>\",\n        \"<1356689015119625.as2@mftgateway.com>\",\n        \"<1356669811321404.as2@mftgateway.com>\",\n        \"<1356661225891764.as2@mftgateway.com>\"\n    ],\n    \"hasMoreMessages\": true\n}"},{"id":"4a13b0f3-8c79-41db-87f1-969c7e3527f0","name":"Success Response - No messages","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/queued","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox","queued"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages","disabled":true},{"key":"pageLength","value":"10","description":"Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.","disabled":true},{"key":"pageOffset","value":"0","description":"Page offset, supports non negative integer values, default 0","disabled":true},{"key":"stationIdentifier","value":"test-station","description":"AS2 identifier of the AS2 Station that sent these messages","disabled":true},{"key":"partnerIdentifier","value":"test-partner","description":"AS2 identifier of the AS2 Partner that received these messages","disabled":true},{"key":"subject","value":"message subject","description":"Any subject string, to filter messages against","disabled":true},{"key":"identifier","value":"<1595831212322@mftgateway.com>","description":"AS2 message identifier of the required AS2 message(s)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"15"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 17 Jul 2020 06:19:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [],\n    \"hasMoreMessages\": false\n}"}],"_postman_id":"7d587acd-65a9-424c-bc2a-d59f22ece675"},{"name":"List Outbox (Failed) Messages","id":"7069eb9f-57bd-415d-927e-6bb0d63fc57c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/message/outbox/failed","description":"<p>This API endpoint can be used to list <strong>send failed</strong> messages with <strong>optional</strong> filters as <strong>query</strong> parametes.</p>\n<hr />\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n<p><strong>General filters:</strong> Can be applied along with other filters(primary/secondary) without any restriction</p>\n<ul>\n<li><p><strong>detailed</strong> - show detailed information of messages</p>\n</li>\n<li><p><strong>fetchAll</strong> - Fetch all messages including messages already been \"marked as read\" within the <strong>API scope</strong>. Defaults to false.</p>\n</li>\n<li><p><strong>pageLength​</strong> - Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n</li>\n<li><p><strong>pageOffset</strong>​ - Page number. An integer value greater than or equal to zero is accepted. Default is zero.</p>\n</li>\n<li><p><strong>sortDir</strong>​ - Sort direction. Allowed values are <strong>​asc​</strong> and <strong>​desc​</strong>. Defaults to ​desc​.</p>\n</li>\n</ul>\n<p><strong>Primary filters:</strong> Have higher precedence over secondary files. If apply both primary and secondary filters in a single API request, <strong>secondary filters</strong> will be <strong>ignored</strong>.</p>\n<ul>\n<li><p><strong>partnerIdentifier</strong> - Identifier of the Partner that sent/received these messages</p>\n</li>\n<li><p><strong>stationIdentifier​</strong> - Identifier of the Station that received/sent these messages</p>\n</li>\n</ul>\n<p><strong>Secondary filters:</strong> Can apply <strong>single secondary filter per API request</strong>. Secondary filters will be applied in the listed precedence. If apply more than one secondary filter in a single API request, <strong>the highest precedence</strong> secondary filter will be applied and the rest will be ignored.</p>\n<ul>\n<li><p><strong>identifier</strong>​​ - Identifier of the required message</p>\n</li>\n<li><p><strong>subject​</strong> - Any subject string, to filter messages against</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","outbox","failed"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Sort direction of messages. supports asc, desc. default desc</p>\n","type":"text/plain"},"key":"sortDir","value":"asc"},{"disabled":true,"description":{"content":"<p>Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n","type":"text/plain"},"key":"pageLength","value":"10"},{"disabled":true,"description":{"content":"<p>Page offset, supports non negative integer values, default 0</p>\n","type":"text/plain"},"key":"pageOffset","value":"0"},{"disabled":true,"description":{"content":"<p>AS2 identifier of the AS2 Station that sent these messages</p>\n","type":"text/plain"},"key":"stationIdentifier","value":"test-station"},{"disabled":true,"description":{"content":"<p>AS2 identifier of the AS2 Partner that received these messages</p>\n","type":"text/plain"},"key":"partnerIdentifier","value":"test-partner"},{"disabled":true,"description":{"content":"<p>Any subject string, to filter messages against</p>\n","type":"text/plain"},"key":"subject","value":"message subject"},{"disabled":true,"description":{"content":"<p>AS2 message identifier of the required AS2 message(s)</p>\n","type":"text/plain"},"key":"identifier","value":"<1595831212322@mftgateway.com>"},{"disabled":true,"description":{"content":"<p>Show detailed information of messages</p>\n","type":"text/plain"},"key":"detailed","value":"false"},{"disabled":true,"description":{"content":"<p>Fetch all messages including already been \"marked as read\" within the API scope. default false</p>\n","type":"text/plain"},"key":"fetchAll","value":"false"},{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[]}},"response":[{"id":"7afab71f-5ecf-492c-9f54-5e7b792bb130","name":"Success Response - AS2","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJraWQiOiJPMzVQNmVVTUU1YkR5R3NEVGdVZG1Dcm80cW95MWoxdlBGc2NRQ0pGdGZFPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI1NjJkOWI5ZS0yYzQzLTRhOWUtODNkZi1jMzY5MmQ2ZGMxNzQiLCJjb2duaXRvOmdyb3VwcyI6WyJvcmctYWRtaW4iXSwicHJvZmlsZSI6InRlbmFudCIsImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC51cy1lYXN0LTEuYW1hem9uYXdzLmNvbVwvdXMtZWFzdC0xX2JUM1dKcUZ3eCIsImNvZ25pdG86dXNlcm5hbWUiOiJsYWhpcnVAYWRyb2l0bG9naWMuY29tIiwiZ2l2ZW5fbmFtZSI6IjEwMDUyMDI3NjM1MTMxIiwiY3VzdG9tOmZ1bGxfbmFtZSI6IkxhaGlydSBLYXVzaGFseWEiLCJhdWQiOiI3MnB0ODZkbGVvazExdThnN2tsMmZ0YmdjdCIsImV2ZW50X2lkIjoiODYyNTE5NmItODY1YS00MDZkLWE5YmQtZWJiYzljY2RmMTYzIiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE1OTU5MTg1MDksIm5hbWUiOiJsYWhpcnUiLCJuaWNrbmFtZSI6IjAiLCJleHAiOjE1OTU5MjIxMDksImN1c3RvbTpyb2xlIjoib3JnLWFkbWluIiwiaWF0IjoxNTk1OTE4NTA5LCJmYW1pbHlfbmFtZSI6Im1mdGctc3RhZ2luZy1sYWhpcnUiLCJlbWFpbCI6ImxhaGlydUBhZHJvaXRsb2dpYy5jb20ifQ.JvrNarBVng_rSIARJ13G4tAs8tsk8wBGuFWXTtjFdXh_pB5uHlLvGahkM43aAsXwugIiEcOq7zoL1RrwseFc2ilbHJxpGQmyGuA_t2QCzkcZza2RQUqVdGnxetexp93vDBeKV3HdY57ajf8cLiNDlm-qmW3_2WFDn1iiwgUn2pwK6_aocML7ups_IEr4nXz4YtuyzYeFh82taKKwiRQB7qr0nzNDzdfDDNmHrCVCqU1PyTRg23REr3_-g5KjvG1e2_Hr7mCp9TEbodZ3kR-CMRaois23ELfa1dNpJobn8QQ9g-d8ZOYDqvYmpQaZ8wosQi91agWEQrgN-CYq3rTvig"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/failed","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox","failed"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages. supports asc, desc. default desc","disabled":true},{"key":"pageLength","value":"10","description":"Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.","disabled":true},{"key":"pageOffset","value":"0","description":"Page offset, supports non negative integer values, default 0","disabled":true},{"key":"stationIdentifier","value":"test-station","description":"AS2 identifier of the AS2 Station that sent these messages","disabled":true},{"key":"partnerIdentifier","value":"test-partner","description":"AS2 identifier of the AS2 Partner that received these messages","disabled":true},{"key":"subject","value":"message subject","description":"Any subject string, to filter messages against","disabled":true},{"key":"identifier","value":"<1595831212322@mftgateway.com>","description":"AS2 message identifier of the required AS2 message(s)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"344"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 06:43:15 GMT"},{"key":"x-amzn-RequestId","value":"306d26a7-4af5-44a7-9c18-bbc6e66fff65"},{"key":"x-amzn-Remapped-content-length","value":"344"},{"key":"x-amz-apigw-id","value":"QXxYjHXwoAMFkvA="},{"key":"etag","value":"W/\"158-psUW0sy0NIQ/Z4iRVNxwE9Axkx8\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5f1fc903-cd5d7fa2370db0d9061bbcd1;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 0b3572829f6f42309f3adfa694398770.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN5-C1"},{"key":"X-Amz-Cf-Id","value":"_ByYIJ_dki3_1pclv5yiJQSYTUiioSxnQXBpnX15EDiAO6TpbJBKGw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [\n        \"<1362982210074155.as2@mftgateway.com>\",\n        \"<1362976992939096.as2@mftgateway.com>\",\n        \"<1361139554901346.as2@mftgateway.com>\",\n        \"<1361138810669272.as2@mftgateway.com>\",\n        \"<1361137555345554.as2@mftgateway.com>\",\n        \"<1356732340325205.as2@mftgateway.com>\",\n        \"<1356690566716437.as2@mftgateway.com>\",\n        \"<1356689015119625.as2@mftgateway.com>\",\n        \"<1356669811321404.as2@mftgateway.com>\",\n        \"<1356661225891764.as2@mftgateway.com>\"\n    ],\n    \"hasMoreMessages\": true\n}"},{"id":"c2165c8f-3bcd-40a2-8f88-7fdcaefd20f3","name":"Success Response - No messages","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/failed","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox","failed"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"15"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 17 Jul 2020 06:19:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [],\n    \"hasMoreMessages\": false\n}"},{"id":"355f1f07-048c-42c7-b216-85cda65ea8d9","name":"Success Response - SFTP","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/failed?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox","failed"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages. supports asc, desc. default desc","disabled":true},{"key":"pageLength","value":"10","description":"Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.","disabled":true},{"key":"pageOffset","value":"0","description":"Page offset, supports non negative integer values, default 0","disabled":true},{"key":"partnerIdentifier","value":"test-partner","description":"AS2 identifier of the AS2 Partner that received these messages","disabled":true},{"key":"detailed","value":"false","description":"Show detailed information of messages","disabled":true},{"key":"service","value":"sftp"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 06:31:46 GMT"},{"key":"x-amzn-RequestId","value":"f58474cd-ffec-482f-b78d-a84953bc3dfe"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"Wt8U5EykIAMEtqw="},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 66b6cd04ec22251498906e833eb08668.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"a82nRr-yjpfenwnQuXgC2rEJq33v0GDfqEBe71buhYHnekPytMdjTw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [\n        \"<1360989105156099.sftp@mftgateway.com>\",\n        \"<1360989105156234.sftp@mftgateway.com>\",\n        \"<1360989105156642.sftp@mftgateway.com>\",\n        \"<1360989105156890.sftp@mftgateway.com>\"\n    ],\n    \"hasMoreMessages\": true\n}"}],"_postman_id":"7069eb9f-57bd-415d-927e-6bb0d63fc57c"},{"name":"List Outbox (Incompleted) Messages [AS2]","id":"3983d89a-1777-4c32-89dd-b38f11cca36a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/message/outbox/incomplete","description":"<p>This API endpoint can be used to list <strong>send incomplete</strong> messages with <strong>optional</strong> filters as <strong>query</strong> parameters.</p>\n<hr />\n<p>MFT Gateway marks sent messages as incomplete when trading partner accepted the message but failed to acknowledge before the configured connection timeout.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2' (String | Default: as2)</li>\n</ul>\n<p><strong>General filters:</strong> Can be applied along with other filters(primary/secondary) without any restriction</p>\n<ul>\n<li><p><strong>detailed</strong> - show detailed information of messages</p>\n</li>\n<li><p><strong>fetchAll</strong> - Fetch all messages including messages already been \"marked as read\" within the <strong>API scope</strong>. Defaults to false.</p>\n</li>\n<li><p><strong>pageLength​</strong> - Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n</li>\n<li><p><strong>pageOffset</strong>​ - Page number. An integer value greater than or equal to zero is accepted. Default is zero.</p>\n</li>\n<li><p><strong>sortDir</strong>​ - Sort direction. Allowed values are <strong>​asc​</strong> and <strong>​desc​</strong>. Defaults to ​desc​.</p>\n</li>\n</ul>\n<p><strong>Primary filters:</strong> Have higher precedence over secondary files. If apply both primary and secondary filters in a single API request, <strong>secondary filters</strong> will be <strong>ignored</strong>.</p>\n<ul>\n<li><p><strong>partnerIdentifier</strong> - Identifier of the Partner that sent/received these messages</p>\n</li>\n<li><p><strong>stationIdentifier​</strong> - Identifier of the Station that received/sent these messages</p>\n</li>\n</ul>\n<p><strong>Secondary filters:</strong> Can apply <strong>single secondary filter per API request</strong>. Secondary filters will be applied in the listed precedence. If apply more than one secondary filter in a single API request, <strong>the highest precedence</strong> secondary filter will be applied and the rest will be ignored.</p>\n<ul>\n<li><p><strong>identifier</strong>​​ - Identifier of the required message</p>\n</li>\n<li><p><strong>subject​</strong> - Any subject string, to filter messages against</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","outbox","incomplete"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Sort direction of messages. supports asc, desc. default desc</p>\n","type":"text/plain"},"key":"sortDir","value":"asc"},{"disabled":true,"description":{"content":"<p>Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n","type":"text/plain"},"key":"pageLength","value":"10"},{"disabled":true,"description":{"content":"<p>Page offset, supports non negative integer values, default 0</p>\n","type":"text/plain"},"key":"pageOffset","value":"0"},{"disabled":true,"description":{"content":"<p>AS2 identifier of the AS2 Station that sent these messages</p>\n","type":"text/plain"},"key":"stationIdentifier","value":"test-station"},{"disabled":true,"description":{"content":"<p>AS2 identifier of the AS2 Partner that received these messages</p>\n","type":"text/plain"},"key":"partnerIdentifier","value":"test-partner"},{"disabled":true,"description":{"content":"<p>Any subject string, to filter messages against</p>\n","type":"text/plain"},"key":"subject","value":"message subject"},{"disabled":true,"description":{"content":"<p>AS2 message identifier of the required AS2 message(s)</p>\n","type":"text/plain"},"key":"identifier","value":"<1595831212322@mftgateway.com>"},{"disabled":true,"description":{"content":"<p>Show detailed information of messages</p>\n","type":"text/plain"},"key":"detailed","value":"false"},{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"},{"disabled":true,"description":{"content":"<p>Fetch all messages including messages already been \"marked as read\" within the API scope. Defaults to false.</p>\n","type":"text/plain"},"key":"fetchAll","value":"false"}],"variable":[]}},"response":[{"id":"0951cac5-6618-4304-a820-584cb5048863","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"eyJraWQiOiJPMzVQNmVVTUU1YkR5R3NEVGdVZG1Dcm80cW95MWoxdlBGc2NRQ0pGdGZFPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI1NjJkOWI5ZS0yYzQzLTRhOWUtODNkZi1jMzY5MmQ2ZGMxNzQiLCJjb2duaXRvOmdyb3VwcyI6WyJvcmctYWRtaW4iXSwicHJvZmlsZSI6InRlbmFudCIsImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC51cy1lYXN0LTEuYW1hem9uYXdzLmNvbVwvdXMtZWFzdC0xX2JUM1dKcUZ3eCIsImNvZ25pdG86dXNlcm5hbWUiOiJsYWhpcnVAYWRyb2l0bG9naWMuY29tIiwiZ2l2ZW5fbmFtZSI6IjEwMDUyMDI3NjM1MTMxIiwiY3VzdG9tOmZ1bGxfbmFtZSI6IkxhaGlydSBLYXVzaGFseWEiLCJhdWQiOiI3MnB0ODZkbGVvazExdThnN2tsMmZ0YmdjdCIsImV2ZW50X2lkIjoiODYyNTE5NmItODY1YS00MDZkLWE5YmQtZWJiYzljY2RmMTYzIiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE1OTU5MTg1MDksIm5hbWUiOiJsYWhpcnUiLCJuaWNrbmFtZSI6IjAiLCJleHAiOjE1OTU5MjIxMDksImN1c3RvbTpyb2xlIjoib3JnLWFkbWluIiwiaWF0IjoxNTk1OTE4NTA5LCJmYW1pbHlfbmFtZSI6Im1mdGctc3RhZ2luZy1sYWhpcnUiLCJlbWFpbCI6ImxhaGlydUBhZHJvaXRsb2dpYy5jb20ifQ.JvrNarBVng_rSIARJ13G4tAs8tsk8wBGuFWXTtjFdXh_pB5uHlLvGahkM43aAsXwugIiEcOq7zoL1RrwseFc2ilbHJxpGQmyGuA_t2QCzkcZza2RQUqVdGnxetexp93vDBeKV3HdY57ajf8cLiNDlm-qmW3_2WFDn1iiwgUn2pwK6_aocML7ups_IEr4nXz4YtuyzYeFh82taKKwiRQB7qr0nzNDzdfDDNmHrCVCqU1PyTRg23REr3_-g5KjvG1e2_Hr7mCp9TEbodZ3kR-CMRaois23ELfa1dNpJobn8QQ9g-d8ZOYDqvYmpQaZ8wosQi91agWEQrgN-CYq3rTvig"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/incomplete","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox","incomplete"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages. supports asc, desc. default desc","disabled":true},{"key":"pageLength","value":"10","description":"Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.","disabled":true},{"key":"pageOffset","value":"0","description":"Page offset, supports non negative integer values, default 0","disabled":true},{"key":"stationIdentifier","value":"test-station","description":"AS2 identifier of the AS2 Station that sent these messages","disabled":true},{"key":"partnerIdentifier","value":"test-partner","description":"AS2 identifier of the AS2 Partner that received these messages","disabled":true},{"key":"subject","value":"message subject","description":"Any subject string, to filter messages against","disabled":true},{"key":"identifier","value":"<1595831212322@mftgateway.com>","description":"AS2 message identifier of the required AS2 message(s)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"344"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 06:43:15 GMT"},{"key":"x-amzn-RequestId","value":"306d26a7-4af5-44a7-9c18-bbc6e66fff65"},{"key":"x-amzn-Remapped-content-length","value":"344"},{"key":"x-amz-apigw-id","value":"QXxYjHXwoAMFkvA="},{"key":"etag","value":"W/\"158-psUW0sy0NIQ/Z4iRVNxwE9Axkx8\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5f1fc903-cd5d7fa2370db0d9061bbcd1;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 0b3572829f6f42309f3adfa694398770.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN5-C1"},{"key":"X-Amz-Cf-Id","value":"_ByYIJ_dki3_1pclv5yiJQSYTUiioSxnQXBpnX15EDiAO6TpbJBKGw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [\n        \"<1362982210074155.as2@mftgateway.com>\",\n        \"<1362976992939096.as2@mftgateway.com>\",\n        \"<1361139554901346.as2@mftgateway.com>\",\n        \"<1361138810669272.as2@mftgateway.com>\",\n        \"<1361137555345554.as2@mftgateway.com>\",\n        \"<1356732340325205.as2@mftgateway.com>\",\n        \"<1356690566716437.as2@mftgateway.com>\",\n        \"<1356689015119625.as2@mftgateway.com>\",\n        \"<1356669811321404.as2@mftgateway.com>\",\n        \"<1356661225891764.as2@mftgateway.com>\"\n    ],\n    \"hasMoreMessages\": true\n}"},{"id":"ef060875-5b63-42cc-b442-86afdef8ac6e","name":"Success Response - No messages","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/incomplete","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox","incomplete"],"query":[{"key":"sortDir","value":"asc","description":"Sort direction of messages","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"15"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Fri, 17 Jul 2020 06:19:40 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"messages\": [],\n    \"hasMoreMessages\": false\n}"}],"_postman_id":"3983d89a-1777-4c32-89dd-b38f11cca36a"},{"name":"Retrieve Outbox (Sent/Queued/Failed/Incomplete) Message By Message Identifier","id":"e751e8ec-21e2-4a70-936f-9d9fb18e040f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/message/outbox/:identifier","description":"<p>This API endpoint can be used to retrieve <strong>outbox (sent/queued/failed/incomplete)</strong> message by message identifier.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n<p>If <strong>markAsRead</strong> query param is set to ​true​, the message will be \"marked as read\" upon retrieval. Defaults to true.<br />Any message list queries with <strong>fetchAll</strong> query param set to <strong>false</strong>, will not return the corresponding message afterwards. You can combine this and the <strong>fetchAll</strong> query parameter, to ensure one-time processing of outbox messages.</p>\n","urlObject":{"protocol":"https","path":["message","outbox",":identifier"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"key":"markAsRead","value":"true"},{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"aee7b0f4-9256-43b7-afb4-e5c09a29c2e7","name":"Not Found Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier"],"variable":[{"key":"identifier","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 10:38:37 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Message not found\"\n}"},{"id":"a820fe66-8edc-4c39-af48-fb1660422d1c","name":"Success Response - AS2","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier"],"variable":[{"key":"identifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1918"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 10:38:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 159592985268293700,\n    \"identifier\": \"<1294424508852885.as2@mftgateway.com>\",\n    \"incoming\": false,\n    \"msgStatus\": \"Sent\",\n    \"mdnStatus\": \"Received; MDN Signature Verified\",\n    \"receiverIdentifier\": \"MyPartner\",\n    \"senderIdentifier\": \"MyStation\",\n    \"subject\": \"Test Message from API\",\n    \"attachmentPaths\": [\n        \"AS2/files/MyStation/MyPartner/outbox/1595929852764-479/Attachment.raw\"\n    ],\n    \"attachmentInfo\": [\n        {\n            \"size\": \"252\",\n            \"name\": \"Attachment.raw\"\n        }\n    ],\n    \"compressed\": false,\n    \"signed\": true,\n    \"encrypted\": true,\n    \"mic\": \"rx3QMbPGeKtkoubnmibSxBbe9Gs=, sha1\",\n    \"micMatches\": true,\n    \"transportStatusReceived\": 200,\n    \"timestamp\": 1595929857954,\n    \"failureStackTrace\": \"\",\n    \"deletedAttachmentsOnSuccessMdn\": false,\n    \"failureReason\": \"\",\n    \"transportHeaders\": {\n        \"AS2-From\": \"MyStation\",\n        \"User-Agent\": \"MFT Gateway\",\n        \"Disposition-Notification-To\": \"mystation@mymail.com\",\n        \"AS2-Version\": \"1.1\",\n        \"From\": \"mystation@mymail.com\",\n        \"Message-Id\": \"<1294424508852885.as2@mftgateway.com>\",\n        \"Content-Transfer-Encoding\": \"binary\",\n        \"AS2-To\": \"MyPartner\",\n        \"Disposition-Notification-Options\": \"signed-receipt-protocol=required,pkcs7-signature; signed-receipt-micalg=required,sha1,md5\",\n        \"Subject\": \"Test Message from API\",\n        \"MIME-Version\": \"1.0\",\n        \"Content-Type\": \"application/octet-stream; name=\\\"smime.p7m\\\"; smime-type=enveloped-data\"\n    },\n    \"mdnMessage\": {\n        \"mdnId\": \"<1294424603426373@mftgateway.com>\",\n        \"messageId\": 159592985268293700,\n        \"identifier\": \"<1294424508852885.as2@mftgateway.com>\",\n        \"disposition\": \"automatic-action/MDN-sent-automatically;processed\",\n        \"humanMessage\": \"MDN for Message-ID: <1294424508852885.as2@mftgateway.com>\\r\\nFrom: MyStation\\r\\nTo: MyPartner\\r\\nReceived on: Tue Jul 28 09:50:57 UTC 2020\\r\\nStatus: processed\\r\\nComment: This is not a guarantee that the message has been completely processed or understood by the receiving translator\\r\\nPowered by the AdroitLogic UltraESB-X (https://www.adroitlogic.com)\\r\\n\",\n        \"rawMdnS3Key\": \"AS2/raw-mdn/incoming/159592985268293700/mdn.raw\",\n        \"mic\": \"rx3QMbPGeKtkoubnmibSxBbe9Gs=, sha1\",\n        \"signed\": true,\n        \"incoming\": true,\n        \"status\": \"Received; MDN Signature Verified\",\n        \"timestamp\": 1595929858171\n    }\n}"},{"id":"2222c561-c334-408c-a271-5acd70662615","name":"Success Response - SFTP","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier"],"query":[{"key":"service","value":"sftp"}],"variable":[{"key":"identifier","value":"<1360971270856285.sftp@mftgateway.com>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"435"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 06:40:58 GMT"},{"key":"x-amzn-RequestId","value":"a04fd42b-6bed-4f15-a51c-e7d5720b5928"},{"key":"x-amzn-Remapped-content-length","value":"435"},{"key":"x-amz-apigw-id","value":"Wt9rKHTBoAMEFpA="},{"key":"etag","value":"W/\"1b3-nlI/4n22KW23GzdW6cQ7+xIXqys\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6628a97a-40da03c84483ab966d29a86f;Parent=203aaafa4bc16ad3;Sampled=0;lineage=193f2247:0|c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 2a3aa853116c0a37d6c7762eca54d208.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"izYVCm6OalSll9dytTRGjWa5uRZSziQun5BsnZSQm0PvbF9z1zEM1w=="}],"cookie":[],"responseTime":null,"body":"{\n    \"apiFetched\": true,\n    \"attachmentInfo\": [\n        {\n            \"name\": \"attachment\",\n            \"size\": \"0\"\n        }\n    ],\n    \"attachmentPaths\": [\n        \"SFTP/partners/test-partner/outbox/1360971270856285/attachment\"\n    ],\n    \"failures\": 0,\n    \"id\": 1360971270856285,\n    \"identifier\": \"<1360971270856285.sftp@mftgateway.com>\",\n    \"incoming\": false,\n    \"isRead\": false,\n    \"msgStatus\": \"Sent\",\n    \"msgStatusCode\": 2,\n    \"receiverIdentifier\": \"test-partner\",\n    \"tenantId\": 1270213476973322,\n    \"timestamp\": 1713933927005,\n    \"type\": \"sftp\"\n}"}],"_postman_id":"e751e8ec-21e2-4a70-936f-9d9fb18e040f"},{"name":"Retrieve Outbox (Sent/Queued/Failed/Incomplete) Message Attachment(s)","id":"111bf954-a9ef-47b8-a979-1bbfb8923b7a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/message/outbox/:identifier/attachments","description":"<p>This API endpoint can be used to retrieve pre sign URLs to download <strong>outbox</strong> message attachment(s) from Amazon S3 bucket. Please note that the <strong>validity of the S3 signed URL is limited 10 minutes</strong>.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","outbox",":identifier","attachments"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"b91e0bd4-5cfa-45c7-80e0-ec8d2212761a","name":"Success Response - AS2","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier/attachments","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier","attachments"],"variable":[{"key":"identifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1337"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 11:00:19 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1,\n    \"attachments\": [\n        {\n            \"name\": \"Attachment.raw\",\n            \"url\": \"https://mftg-my-bucket.s3.amazonaws.com/AS2/files/MyStation/MyPartner/utbox/15942123300560-213/Attachment.raw?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA5ZHZSFAWLSPHUVP7%2F20200728%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200728T110019Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEDMaCXVzLWVhc3QtMSJIMEYCIQCWmQLPrM6yJuGXyfa02uwVj9nhO9TgykFYgnO7pw3PzQIhAOd2qR0LQ%2BIpU2izw%2BMcYK0R5C8UgWX3oVC%2BKzt70ZaWKuMBCOz%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQABoMOTQ3NTYzNjY5NTQ4Igx5mzeWLIVApF6w7sYqtwGpje0TL%2F3Kwj7wCI1LRmIUfKK6YUaNtzPfftPS1ZA54rfOrAV29yyJym5ZJ4BMBUL1dtclA5Uwejg%2F5m8zcBHP75DmFRKVyO1U74h%2FknuIxjh7qtObkHXf3vvD6amFCdDB1hdqBs7pk2yB93IsFRkyBJtZAU7EOaGC%2BbhCghClqEmcLsMkC5FWAoHxM%2FncSSwkdDa1VBLy3%2BRDhzPlQddhggymrGgNlYdbHIi9DUbVtB83qC2fbB4wjIqA%2BQU63wFAj3I5FFE4C6IpvPnokaVJ93h9Iegy0zVaaQjOYBG3QdyTyefc%2BJWSuVhJMk770mYyWsVcTJMUUb1FWQ%2BKL2gqlxKjJGqdyxJR9ZuX3CJC3dKQWCUeIjausiJevBW7ReeUwCJEM52tOHwNvTMSPStkV%2FHUleAhmGQ0Q%2F5x8Sz%2BHgbxlUD%2B%2FfEuJq3N4ZKt80BX%2FlKRUnmoNAub8%2BpHbZBLKZPIJQt1aBMIHNn1EdCmx4li00EXdLSYCrDTmob7Vw8SIhwOFlOxQ1qNfKmKNUwN5xNyvLgzzyavdrnJwfgq&X-Amz-Signature=2972481f458e4b4aa0453264885f345fdbbb889f87fb08d8b3cb2577266d9b92&X-Amz-SignedHeaders=host\"\n        }\n    ]\n}"},{"id":"694eda97-cbe1-44ae-802a-c08fc033e0e6","name":"Not Found Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier"],"query":[{"key":"markAsRead","value":"true","disabled":true}],"variable":[{"key":"identifier","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 10:30:36 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Attachment(s) not found\"\n}"},{"id":"003680bd-4860-4f13-9be8-748caa59c1a9","name":"Success Response - SFTP","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier/attachments?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier","attachments"],"query":[{"key":"service","value":"sftp"}],"variable":[{"key":"identifier","value":"<1360968416275378.sftp@mftgateway.com>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1105"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 06:58:11 GMT"},{"key":"x-amzn-RequestId","value":"17484679-52e3-400b-8211-e9b00bc35b07"},{"key":"Content-Encoding","value":"gzip"},{"key":"x-amzn-Remapped-content-length","value":"1473"},{"key":"x-amz-apigw-id","value":"WuAMjEoDIAMEh9A="},{"key":"etag","value":"W/\"5c1-rbt4aoOUWBSgphIY/c1BqW3XVD4\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6628ad83-2abb8e1c717252f744b1991b;Parent=20bc8a89d3e34371;Sampled=0;lineage=c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 66b6cd04ec22251498906e833eb08668.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"CoT9cQWmoJrtvPpvvYfO24jCg-j2_zk4ahcOycQuLOGutmiQ389AVw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"attachments\": [\n        {\n            \"name\": \"attachment\",\n            \"url\": \"https://mftg-abc-inc.s3.us-east-1.amazonaws.com/SFTP/partners/test-partner/outbox/1360968416275378/attachment?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIAXVKF5NVFG5A3VA44%2F20240424%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240424T065811Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjED8aCXVzLWVhc3QtMSJHMEUCIAFY82xFErNekmXz9OEkC0QrB8PpyLsJPoKEODcisZarAiEAioKGZYTtYv13SSL2ki1AT%2BQuk9tZt%2FIdVezA8etI9pYqiwMIiP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARADGgw1MjY4MTY5OTY2ODIiDO%2BrKP8UoL7bc7dYhirfAoGpYm8m6e8jYzA8BujLLe0U9dC0EQmv%2FTF57wfWkHsq%2FInqCaI%2FNc31T%2Bh%2FrPHmcFZPcAOrWvY2B8%2B0%2BTQF3xTLoZMv6BlWsDIEfzA%2FaoAetQ9vmCeVoKT%2FalIFP%2F3V7iWMy36reoC7zzfMl3wwTv2tyLGhkducgOM0e950uH7lP2bOphe8jwHVrEQ%2BaNcW0%2FL6UqUmwoKnCj0VRIeuC9YpNBdzg04Mat4Yr%2BfXcVy5pnPni1g6nNrDQauu0aVJlbt4FrFjmtCAUz57bYwyzb95tyJg4TCSpxEg03PJOfFaNBA960LiFVYsyjZF%2FBA0F6lEjxlWnSZ7gvfhuN6OVCYC6WzAM2vHySDonujvW0fLLaDig32h3Dayhhi14t9K6QkLYJny83LAR%2BNlpll%2FR7kCocC7%2BaVkF2u1cWD3otZ%2Bfh07Bxx7h43YqShPH3uxdytoKxzcQNIkvA8fgXOOGzC80qKxBjqeAXOM73Fm%2FhIRjb36Ow0%2FM5uEnadgUx%2FoBPM79pLuSAXqocPJRE5Ml14za0ANuF5q4JXQuyTNRcFpwHx5qa%2BlBMjUp7vhZ6eoAVBztu0Q1tmBNypjlNHWzuJiliPuBe3NT8XuZnMNBBV%2Ff7n0nKLbx9lr4pPorteNcX0TDbnBqQTUelJuyOnM3dQhQLaJroPwH4R2KJCJw95aTz2HZeVv&X-Amz-Signature=c59a56d68c6d932c32f28f4727aeb8f0111907d5afb10d8d8977f58c4e7fb7a1&X-Amz-SignedHeaders=host&x-id=GetObject\"\n        }\n    ],\n    \"total\": 1\n}"}],"_postman_id":"111bf954-a9ef-47b8-a979-1bbfb8923b7a"},{"name":"Retrieve Outbox (Sent) Message MDN [AS2]","id":"4602acc7-429d-4a3e-99bc-b11fd239d6b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/message/outbox/:identifier/mdn","description":"<p>This API endpoint can be used to retrieve S3 pre sign URLs to download a <strong>received</strong> MDN from Amazon S3 bucket for a <strong>successfully sent</strong> message. Please note that the <strong>validity of the S3 signed URL is limited 10 minutes</strong>.</p>\n","urlObject":{"protocol":"https","path":["message","outbox",":identifier","mdn"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed values: 'as2' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"f2ba468f-1787-42eb-9651-9a41ca081d18","name":"Not Found Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier/mdn","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier","mdn"],"variable":[{"key":"identifier","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 11:46:46 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"MDN not found\"\n}"},{"id":"33923526-1f03-4fa8-804f-87c6e8d06ba1","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier/mdn","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier","mdn"],"variable":[{"key":"identifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1204"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 11:39:38 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"https://mftg-my-bucket.s3.amazonaws.com/AS2/raw-mdn/incoming/159592985268293700/mdn.raw?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA5ZHZSFAWJDQRJ75P%2F20200728%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200728T113938Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEDQaCXVzLWVhc3QtMSJIMEYCIQCLMIVIClCr4GEZ9ujBH%2FpYI4KjJIugHMyOEB3ho6oXwQIhAPOzgbdIvX59v%2BjqA%2BYgjtRltuNom0UTCjBBTyDC%2BXufKuMBCO3%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEQABoMOTQ3NTYzNjY5NTQ4IgwWODXdlAtuJp58u2YqtwHVk7nzC2j5gyS8ZuIf%2BIck3k6Ba6Q527s5Poql1cXM00EWUTPJ3dMdlP5DErEZV95pSEc1mHG4KE6Y1do0a3DqeIp%2BazglGirxxF4uAXXPcc%2B9VmwI9klT25uuprFKcdeBIjkpSEYIBHfFkqXCsoPdI3qvc%2Bt1T2x2vEWrR9RkjMxgiEfruGrG%2FddjclkpHvEly21onqeu4X3VCrJJeEtRJ38QMrE9fst29UfS6x5stZX6acfW5pww%2BZeA%2BQU63wHCwmdy%2BN%2FadMyYWzyU98sBdgPZGCPoyYgsQZUlvx%2BaqnISlrtqbH8MC8undYpcIrOh2%2Ft9Q80VwWPotuomXvtd0R0sYUTpQAomd0P3dv2jLC%2FT5NRQ6%2Fnbef2Ahm%2F4O3rXTYCic48donV7%2F4mA%2BQdu0v7dh4LdlZDWNmbzc87G589OkKpPEuuXOgoVJPLhbqn%2FrIK1POw9MPHSOpwVwBI91hMjIFj4t5qdA%2BqIzfCCKMuLWxTQKwJp1%2FB4Izkag2PzzeqTwc5F0PuhqBc5fO7S2FEuM5D7HFRRGGOXrWGJ&X-Amz-Signature=d5342f6dfc3f296ea66e338dbad6711ebed5b6bbef93f1910e35c4a3a929e0d9&X-Amz-SignedHeaders=host\"\n}"}],"_postman_id":"4602acc7-429d-4a3e-99bc-b11fd239d6b2"},{"name":"Send Message","id":"5ce71dc9-129e-4ddf-a890-5d1265356a7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"auth-token","type":"text"},{"key":"AS2-From","value":"MyStation","type":"text"},{"key":"AS2-To","value":"MyPartner","type":"text"},{"key":"Subject","value":"Test message from MFTG API","type":"text"},{"key":"Attachment-Name","value":"Attachment.txt","type":"text"},{"key":"Content-Type","value":"text/plain","type":"text"}],"body":{"mode":"file","file":{"src":"/Users/lahiru/Desktop/Attachment.txt"}},"url":"https://api.mftgateway.com/message/submit","description":"<p>Send (enqueue) a message with a single or multiple attachments.</p>\n<hr />\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n<p>Common Mandatory Request Headers (This headers must be specified regardless the service type)</p>\n<ul>\n<li><p><strong>Authorization</strong> - Authorization header with auth token.</p>\n</li>\n<li><p><strong>Content-Type</strong> - Content type of the message payload. For multiple attachmets, content type should be <strong>multipart/form-data</strong> with valid form content.</p>\n</li>\n</ul>\n<p>AS2 Service Specific Mandatory Headers</p>\n<ul>\n<li><p><strong>AS2-From</strong> - AS2 Station identifier which sends the message.</p>\n</li>\n<li><p><strong>AS2-To</strong> - AS2 Partner identifier which intends to receive the message.</p>\n</li>\n</ul>\n<p>AS2 Service Specific Optional Headers</p>\n<ul>\n<li><p><strong>Subject</strong> - Subject of the message. If not specified, the default subject configured for the intended partner will be applied.</p>\n</li>\n<li><p><strong>Attachment-Name</strong> - Name of the message attachment. Only applicable when sending a message with single attachment [Recommended to define this header for single attachments].</p>\n</li>\n</ul>\n<p>SFTP Service Specific Mandatory Headers</p>\n<ul>\n<li><strong>SFTP-To</strong> - SFTP Partner identifier which intends to receive the message.</li>\n</ul>\n<p>Response Headers</p>\n<ul>\n<li><strong>Link</strong> - An absolute URL to the message which will be created after the outgoing message entry is processed. Therefore the resource in this URL may not be available immediately after the response for this API call is returned. It would be better to wait around 5 to 10 seconds before querying for the resource represented in the ​<strong>Link</strong>​ header value.</li>\n</ul>\n<p>Similar to the MFT Gateway web dashboard​, this simply places the newly submitted message into a queue, in a <strong>queued</strong>(to-be-sent) state; it may take several seconds before the message actually gets sent out.</p>\n<p>Additionally, if the actual send action fails, the message will not appear under the <strong>outbox</strong>; and the URL previously returned in the <strong>​Link</strong>​ header would no longer be valid.<br />In such cases it is advised to check <strong>outbox/failed, outbox/queued</strong> and <strong>outbox/incomplete</strong> to find out the current status of the message.</p>\n","urlObject":{"protocol":"https","path":["message","submit"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[]}},"response":[{"id":"cfb36cfc-c18d-4723-8f21-c9a70c1f7370","name":"Success Response - AS2","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"},{"key":"AS2-From","value":"MyStation"},{"key":"AS2-To","value":"MyPartner"},{"key":"Subject","value":"Test message from MFTG API"},{"key":"Attachment-Name","value":"Attachment.txt"},{"key":"Content-Type","value":"text/plain"}],"body":{"mode":"file","file":{"src":"/Users/lahiru/Desktop/Attachment.txt"},"options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/message/submit?service=as2","protocol":"https","host":["api","mftgateway","com"],"path":["message","submit"],"query":[{"key":"service","value":"as2"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 29 Jul 2020 04:57:13 GMT"},{"key":"link","value":"https://api.mftgateway.com/message/outbox/<159599863352334660@mftgateway.com>"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Message queued successfully\",\n    \"messageIdentifier\": \"<1377585503220655.as2@mftgateway.com>\"\n}"},{"id":"1f115e9b-1068-41f1-bec3-416f0f27fbf5","name":"Unprocessable Request - AS2","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"},{"key":"AS2-From","value":"MyStation"},{"key":"AS2-To","value":"MyPartner"},{"key":"Subject","value":"Test message from MFTG API"},{"key":"Attachment-Name","value":"Attachment.txt"},{"key":"Content-Type","value":"text/plain"}],"body":{"mode":"file","file":{"src":"/Users/lahiru/Desktop/Attachment.txt"},"options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/message/submit"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"65"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 29 Jul 2020 04:55:24 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unable to find partner with AS2 identifier: MyPartner\"\n}"},{"id":"561513a3-f7a0-4e0b-b3bc-b619a70e4b7a","name":"Success Response - SFTP","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth_token"},{"key":"Content-Type","value":"text/plain"},{"key":"SFTP-To","value":"MyPartner"}],"body":{"mode":"file","file":{"src":"/Users/lahiru/Desktop/Attachment.txt"}},"url":{"raw":"https://api.mftgateway.com/message/submit?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","submit"],"query":[{"key":"service","value":"sftp"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"102"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 04:45:27 GMT"},{"key":"x-amzn-RequestId","value":"65c5c355-b3d6-4597-81b5-fcbc7692b0a1"},{"key":"x-amzn-Remapped-content-length","value":"102"},{"key":"x-amz-apigw-id","value":"WtswHFAvoAMEQxw="},{"key":"etag","value":"W/\"66-+5dao7RwdAKg/jMyup/DBvFSVKU\""},{"key":"x-powered-by","value":"Express"},{"key":"link","value":"https://api.mftgateway.com/message/outbox/<1360971270856285.sftp@mftgateway.com>?service=sftp"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66288e66-18a371f86e84e39b47ee52d0;Parent=639d04cfc8ac44fc;Sampled=0;lineage=c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 d0d53eedec01ac540f737b5fafb16436.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"_li2WcIiWT25swaH1NYUQ8SHZth-S0jlGAcQdDKo0wxhaM4Xd1pKFA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Message queued successfully\",\n    \"messageIdentifier\": \"<1360971270856285.sftp@mftgateway.com>\"\n}"},{"id":"5580e6c1-48ab-4138-a264-dc947aaca36d","name":"Unprocessable Request - SFTP","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth_token"},{"key":"Content-Type","value":"text/plain"},{"key":"SFTP-To","value":"MyPartner"}],"body":{"mode":"file","file":{"src":"/Users/lahiru/Desktop/Attachment.txt"}},"url":{"raw":"https://api.mftgateway.com/message/submit?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","submit"],"query":[{"key":"service","value":"sftp"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"76"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 04:49:37 GMT"},{"key":"x-amzn-RequestId","value":"2100ca5f-937d-490c-ba2d-6f6835055006"},{"key":"x-amzn-Remapped-content-length","value":"76"},{"key":"x-amz-apigw-id","value":"WttXOEQMIAMEYPw="},{"key":"etag","value":"W/\"4c-OHdsd5Y3Tk6ELZH0rNAZVIBpBHA\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66288f61-021104e86d9c23707bab065a;Parent=504d710e017aac8d;Sampled=0;lineage=193f2247:0|c13d3cec:0"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 caafbc8a9aa04b09dd564a3ddef60622.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"JY4jiIGjscAtz1JDyePm5Gv1_R5saoUc24Gl8umHxjP8UqDfTkcmqg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unable to find partner with identifier: MyPartner\"\n}"}],"_postman_id":"5ce71dc9-129e-4ddf-a890-5d1265356a7e"},{"name":"Batch Delete Inbox (Received/Incoming Failed) Messages","id":"b33a29ee-84f4-4618-b679-cdc86d0e07bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"messageIdentifiers\": [\n        \"<16206212538784368@mftgateway.com>\",\n        \"<16094169443904964@mftgateway.com>\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/message/inbox/delete","description":"<p>This API endpoint can be used to delete multiple <strong>inbox(Received/Incoming Failed)</strong> messages as a batch. Endpoint supports upto 100 messages per API call.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","inbox","delete"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[]}},"response":[{"id":"e6c8c288-c821-41da-a5ef-116565b5e0d8","name":"Success Response - AS2","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"}],"body":{"mode":"raw","raw":"{\n    \"messageIdentifiers\": [\n        \"<16206212538784368@mftgateway.com>\",\n        \"<16094169443904964@mftgateway.com>\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/message/inbox/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"107"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 10 May 2021 10:40:22 GMT"},{"key":"x-amzn-RequestId","value":"38cbdf44-a09d-47cc-9094-0176d879cad9"},{"key":"x-amzn-Remapped-content-length","value":"107"},{"key":"x-amz-apigw-id","value":"fG8PHF3oIAMFyHQ="},{"key":"etag","value":"W/\"6b-f296w+IZmCmqghK+DuRDDTRiBFg\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-60990d93-4a4a30fd3ebc049c3086c0ba;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 884565e44bd03047bbadc5b86c50509d.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN5-C1"},{"key":"X-Amz-Cf-Id","value":"7i0H2Gub0LRJKgtEudrkpnuYNjG6Tq2DHVDNVMAFwikQiFDGBqyYvA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": [\n        \"<16206212538784368@mftgateway.com>\",\n        \"<16094169443904964@mftgateway.com>\"\n    ]\n}"},{"id":"fc421456-d0b8-4ba0-891a-a9c0e8d2c0e5","name":"Not Found Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"auth-token"}],"body":{"mode":"raw","raw":"{\n    \"messageIdentifiers\": [\n        \"<16206212538784368@mftgateway.com>\",\n        \"<16094169443904964@mftgateway.com>\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/message/inbox/delete"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 10 May 2021 10:42:04 GMT"},{"key":"x-amzn-RequestId","value":"9e86f0d5-3109-488a-8e5d-e7ea34e8d486"},{"key":"x-amzn-Remapped-content-length","value":"37"},{"key":"x-amz-apigw-id","value":"fG8faHh9IAMF_5A="},{"key":"etag","value":"W/\"25-1Yv1LlXrF2guC7TgKCHGcjS2CEI\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-60990dfc-6f04376234c390890cd5b036;Sampled=0"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 884565e44bd03047bbadc5b86c50509d.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN5-C1"},{"key":"X-Amz-Cf-Id","value":"PFJd8kZfdP0rYmotGQBT25LXGtwCfHTn8FcWjCzxci8ydTag41GRgw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unable to find messages\"\n}"},{"id":"55fa4f9e-effa-4e03-8035-d3087084095e","name":"Success Response - SFTP","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth_token"}],"body":{"mode":"raw","raw":"{\n    \"messageIdentifiers\": [\n        \"<1361014072374867.sftp@mftgateway.com>\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/message/inbox/delete?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox","delete"],"query":[{"key":"service","value":"sftp"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 06:16:23 GMT"},{"key":"x-amzn-RequestId","value":"fe3a3d3f-237b-48a9-a377-78addd349d2c"},{"key":"x-amzn-Remapped-content-length","value":"54"},{"key":"x-amz-apigw-id","value":"Wt6EtF9BoAMEYPw="},{"key":"etag","value":"W/\"36-t2T3SjYe92Lnd1xYWf4r9fBRXgM\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6628a3b7-679dfb2a72d9ccca2eb80fbb;Parent=16d65bad1875e312;Sampled=0;lineage=c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 dfc1931cc62ecd4133c2b9bdae1bb476.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"sOCgYdN5IxqVFCQ_c-np52bVqoeiQv3AnyZJ4tcXOAGkvVG_Z_nIwg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": [\n        \"<1361014072374867.sftp@mftgateway.com>\"\n    ]\n}"}],"_postman_id":"b33a29ee-84f4-4618-b679-cdc86d0e07bf"},{"name":"Batch Delete Outbox (Sent/Queued/Failed/Incomplete) Messages","id":"4d061144-bb38-4554-b434-c05c8c657957","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"messageIdentifiers\": [\n        \"<16206212538784368@mftgateway.com>\",\n        \"<16094169443904964@mftgateway.com>\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/message/outbox/delete","description":"<p>This API endpoint can be used to delete multiple <strong>outbox (Sent/Queued/Failed)</strong> messages as a batch. Endpoint supports upto 100 messages per API call.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","outbox","delete"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[]}},"response":[{"id":"199a3222-f8f3-437d-ac9d-e30f9fa335ee","name":"Success Response - AS2","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"api_token"}],"body":{"mode":"raw","raw":"{\n    \"messageIdentifiers\": [\n        \"<16206212538784368@mftgateway.com>\",\n        \"<16094169443904964@mftgateway.com>\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/message/outbox/delete"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"107"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 10 May 2021 10:40:22 GMT"},{"key":"x-amzn-RequestId","value":"38cbdf44-a09d-47cc-9094-0176d879cad9"},{"key":"x-amzn-Remapped-content-length","value":"107"},{"key":"x-amz-apigw-id","value":"fG8PHF3oIAMFyHQ="},{"key":"etag","value":"W/\"6b-f296w+IZmCmqghK+DuRDDTRiBFg\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-60990d93-4a4a30fd3ebc049c3086c0ba;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 884565e44bd03047bbadc5b86c50509d.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN5-C1"},{"key":"X-Amz-Cf-Id","value":"7i0H2Gub0LRJKgtEudrkpnuYNjG6Tq2DHVDNVMAFwikQiFDGBqyYvA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": [\n        \"<16206212538784368@mftgateway.com>\",\n        \"<16094169443904964@mftgateway.com>\"\n    ]\n}"},{"id":"f521f5db-fa06-4beb-b2c0-7ea8b5027d60","name":"Not Found Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","type":"text","value":"api_token"}],"body":{"mode":"raw","raw":"{\n    \"messageIdentifiers\": [\n        \"<16206212538784368@mftgateway.com>\",\n        \"<16094169443904964@mftgateway.com>\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/message/outbox/delete"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 10 May 2021 10:42:04 GMT"},{"key":"x-amzn-RequestId","value":"9e86f0d5-3109-488a-8e5d-e7ea34e8d486"},{"key":"x-amzn-Remapped-content-length","value":"37"},{"key":"x-amz-apigw-id","value":"fG8faHh9IAMF_5A="},{"key":"etag","value":"W/\"25-1Yv1LlXrF2guC7TgKCHGcjS2CEI\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-60990dfc-6f04376234c390890cd5b036;Sampled=0"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 884565e44bd03047bbadc5b86c50509d.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN5-C1"},{"key":"X-Amz-Cf-Id","value":"PFJd8kZfdP0rYmotGQBT25LXGtwCfHTn8FcWjCzxci8ydTag41GRgw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unable to find messages\"\n}"},{"id":"6110c230-3c66-4dce-80c7-c115a2000107","name":"Success Response - SFTP","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{authToken}}"}],"body":{"mode":"raw","raw":"{\n    \"messageIdentifiers\": [\n        \"<1348281387822317.sftp@mftgateway.com>\",\n        \"<16094169443904964@mftgateway.com>\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/message/outbox/delete?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox","delete"],"query":[{"key":"service","value":"sftp"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 07:05:23 GMT"},{"key":"x-amzn-RequestId","value":"e529a6de-1134-4d49-89ba-c681fea1bf01"},{"key":"x-amzn-Remapped-content-length","value":"54"},{"key":"x-amz-apigw-id","value":"WuBQDGMYIAMEFFg="},{"key":"etag","value":"W/\"36-fqKVVNoczVYsswZ/SS9nR91TQoI\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6628af33-6b326202559f57573e9c5f7f;Parent=4c73e4a8702fa36a;Sampled=0;lineage=193f2247:0|c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 1f1067e4f193aaabd2c24b99bcdc4e88.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"vVcgWs1_4JG3ymH_G3Wjs_IADC5OQKvm6LxaTiU2_UtoGk_g01efnA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": [\n        \"<1348281387822317.sftp@mftgateway.com>\",\n        \"<16094169443904964@mftgateway.com>\"\n    ]\n}"}],"_postman_id":"4d061144-bb38-4554-b434-c05c8c657957"},{"name":"Mark Inbox Received Message As UnRead","id":"ef993d17-7007-43ab-83d7-12f2da9e3e82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/message/inbox/:identifier/markUnread","description":"<p>This end-point can be used to mark <strong>received</strong> AS2 &amp; SFTP messages as API unread. Please note that the result of this operation will not be affected on the MFT Gateway dashboard.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","inbox",":identifier","markUnread"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"16df1e7d-c732-4e62-98b8-4cd2bfba2e35","name":"Message Not Found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"eyJraWQiOiJPMzVQNmVVTUU1YkR5R3NEVGdVZG1Dcm80cW95MWoxdlBGc2NRQ0pGdGZFPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI1NjJkOWI5ZS0yYzQzLTRhOWUtODNkZi1jMzY5MmQ2ZGMxNzQiLCJjb2duaXRvOmdyb3VwcyI6WyJvcmctYWRtaW4iXSwicHJvZmlsZSI6InRlbmFudCIsImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC51cy1lYXN0LTEuYW1hem9uYXdzLmNvbVwvdXMtZWFzdC0xX2JUM1dKcUZ3eCIsImNvZ25pdG86dXNlcm5hbWUiOiJsYWhpcnVAYWRyb2l0bG9naWMuY29tIiwiZ2l2ZW5fbmFtZSI6IjEwMDUyMDI3NjM1MTMxIiwiY3VzdG9tOmZ1bGxfbmFtZSI6IkxhaGlydSBLYXVzaGFseWEiLCJhdWQiOiI3MnB0ODZkbGVvazExdThnN2tsMmZ0YmdjdCIsImV2ZW50X2lkIjoiODYyNTE5NmItODY1YS00MDZkLWE5YmQtZWJiYzljY2RmMTYzIiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE1OTU5MTg1MDksIm5hbWUiOiJsYWhpcnUiLCJuaWNrbmFtZSI6IjAiLCJleHAiOjE1OTU5MjIxMDksImN1c3RvbTpyb2xlIjoib3JnLWFkbWluIiwiaWF0IjoxNTk1OTE4NTA5LCJmYW1pbHlfbmFtZSI6Im1mdGctc3RhZ2luZy1sYWhpcnUiLCJlbWFpbCI6ImxhaGlydUBhZHJvaXRsb2dpYy5jb20ifQ.JvrNarBVng_rSIARJ13G4tAs8tsk8wBGuFWXTtjFdXh_pB5uHlLvGahkM43aAsXwugIiEcOq7zoL1RrwseFc2ilbHJxpGQmyGuA_t2QCzkcZza2RQUqVdGnxetexp93vDBeKV3HdY57ajf8cLiNDlm-qmW3_2WFDn1iiwgUn2pwK6_aocML7ups_IEr4nXz4YtuyzYeFh82taKKwiRQB7qr0nzNDzdfDDNmHrCVCqU1PyTRg23REr3_-g5KjvG1e2_Hr7mCp9TEbodZ3kR-CMRaois23ELfa1dNpJobn8QQ9g-d8ZOYDqvYmpQaZ8wosQi91agWEQrgN-CYq3rTvig","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"myemail@mydomain.com\",\n    \"refreshToken\": \"refresh_token\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/message/inbox/:identifier/markUnread","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox",":identifier","markUnread"],"variable":[{"key":"identifier","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 06:55:54 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Message not found\"\n}"},{"id":"30526011-ea02-4cf9-b0f1-a7aa992c8bd2","name":"Success Response - AS2","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"eyJraWQiOiJPMzVQNmVVTUU1YkR5R3NEVGdVZG1Dcm80cW95MWoxdlBGc2NRQ0pGdGZFPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI1NjJkOWI5ZS0yYzQzLTRhOWUtODNkZi1jMzY5MmQ2ZGMxNzQiLCJjb2duaXRvOmdyb3VwcyI6WyJvcmctYWRtaW4iXSwicHJvZmlsZSI6InRlbmFudCIsImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC51cy1lYXN0LTEuYW1hem9uYXdzLmNvbVwvdXMtZWFzdC0xX2JUM1dKcUZ3eCIsImNvZ25pdG86dXNlcm5hbWUiOiJsYWhpcnVAYWRyb2l0bG9naWMuY29tIiwiZ2l2ZW5fbmFtZSI6IjEwMDUyMDI3NjM1MTMxIiwiY3VzdG9tOmZ1bGxfbmFtZSI6IkxhaGlydSBLYXVzaGFseWEiLCJhdWQiOiI3MnB0ODZkbGVvazExdThnN2tsMmZ0YmdjdCIsImV2ZW50X2lkIjoiODYyNTE5NmItODY1YS00MDZkLWE5YmQtZWJiYzljY2RmMTYzIiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE1OTU5MTg1MDksIm5hbWUiOiJsYWhpcnUiLCJuaWNrbmFtZSI6IjAiLCJleHAiOjE1OTU5MjIxMDksImN1c3RvbTpyb2xlIjoib3JnLWFkbWluIiwiaWF0IjoxNTk1OTE4NTA5LCJmYW1pbHlfbmFtZSI6Im1mdGctc3RhZ2luZy1sYWhpcnUiLCJlbWFpbCI6ImxhaGlydUBhZHJvaXRsb2dpYy5jb20ifQ.JvrNarBVng_rSIARJ13G4tAs8tsk8wBGuFWXTtjFdXh_pB5uHlLvGahkM43aAsXwugIiEcOq7zoL1RrwseFc2ilbHJxpGQmyGuA_t2QCzkcZza2RQUqVdGnxetexp93vDBeKV3HdY57ajf8cLiNDlm-qmW3_2WFDn1iiwgUn2pwK6_aocML7ups_IEr4nXz4YtuyzYeFh82taKKwiRQB7qr0nzNDzdfDDNmHrCVCqU1PyTRg23REr3_-g5KjvG1e2_Hr7mCp9TEbodZ3kR-CMRaois23ELfa1dNpJobn8QQ9g-d8ZOYDqvYmpQaZ8wosQi91agWEQrgN-CYq3rTvig"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/message/inbox/:identifier/markUnread","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox",":identifier","markUnread"],"variable":[{"key":"identifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 06:55:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully marked message <1362982210074155.as2@mftgateway.com> as unread\"\n}"},{"id":"1cc71184-21fc-4ef8-be02-0f5791083e1f","name":"Success Response - SFTP","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth_token"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/message/inbox/:identifier/markUnread?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox",":identifier","markUnread"],"query":[{"key":"service","value":"sftp"}],"variable":[{"key":"identifier","value":"<1361014072374867.sftp@mftgateway.com>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"90"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 05:58:17 GMT"},{"key":"x-amzn-RequestId","value":"a2f53ab8-0061-425b-ac48-81cec9adf81e"},{"key":"x-amzn-Remapped-content-length","value":"90"},{"key":"x-amz-apigw-id","value":"Wt3a-EUvIAMEvEw="},{"key":"etag","value":"W/\"5a-BEVJc/opdPCrVfNLd2sHk3cMKt8\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66289f79-103e33c34fbdbb7a26959cfb;Parent=38b5618650869faa;Sampled=0;lineage=c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 05133180bbd1649d4b8f97441bf305e8.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"TprbB8g__JQGjxA2E-UClgZo3-k9CGNc_Cq89RijddAawYpjFi_jJg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully marked message <1361014072374867.sftp@mftgateway.com> as unread\"\n}"}],"_postman_id":"ef993d17-7007-43ab-83d7-12f2da9e3e82"},{"name":"Mark Outbox (Sent/Queued/Failed/Incomplete) Message As UnRead","id":"84d230d4-7246-49a8-875a-6aa6a060d71b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/message/outbox/:identifier/markUnread","description":"<p>This end-point can be used to mark <strong>outbox</strong> (Sent/Queued/Failed/Incomplete) AS2 &amp; SFTP messages as API unread. Please note that the result of this operation will not be affected on the MFT Gateway dashboard.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","outbox",":identifier","markUnread"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"25e28ee3-619e-4c46-8e4b-aea1e6049e4a","name":"Message Not Found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth_token"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier/markUnread","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier","markUnread"],"variable":[{"key":"identifier","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 06:55:54 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Message not found\"\n}"},{"id":"4824f52a-132a-445f-a3de-02fd0022dcd3","name":"Success Response - AS2","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth_token"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier/markUnread","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier","markUnread"],"variable":[{"key":"identifier","value":"<1362982210074155.as2@mftgateway.com>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"82"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 28 Jul 2020 06:55:14 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully marked message <1362982210074155.as2@mftgateway.com> as unread\"\n}"},{"id":"005fda5f-cc2f-42ec-874a-0a82caee0de5","name":"Success Response - SFTP","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"auth_token"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier/markUnread?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier","markUnread"],"query":[{"key":"service","value":"sftp"}],"variable":[{"key":"identifier","value":"<1361014072374867.sftp@mftgateway.com>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"90"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 05:58:17 GMT"},{"key":"x-amzn-RequestId","value":"a2f53ab8-0061-425b-ac48-81cec9adf81e"},{"key":"x-amzn-Remapped-content-length","value":"90"},{"key":"x-amz-apigw-id","value":"Wt3a-EUvIAMEvEw="},{"key":"etag","value":"W/\"5a-BEVJc/opdPCrVfNLd2sHk3cMKt8\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66289f79-103e33c34fbdbb7a26959cfb;Parent=38b5618650869faa;Sampled=0;lineage=c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 05133180bbd1649d4b8f97441bf305e8.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"TprbB8g__JQGjxA2E-UClgZo3-k9CGNc_Cq89RijddAawYpjFi_jJg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully marked message <1361014072374867.sftp@mftgateway.com> as unread\"\n}"}],"_postman_id":"84d230d4-7246-49a8-875a-6aa6a060d71b"},{"name":"Delete Inbox (Received) Message","id":"e3db76a9-e428-4c0d-837c-be2cdde67412","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/message/inbox/:identifier","description":"<p>This API endpoint can be used to delete an <strong>inbox</strong> message.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","inbox",":identifier"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"a27c9af7-ed66-401e-b1aa-a1e3fb61a60a","name":"Success Response - AS2","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"auth-token"}],"url":{"raw":"https://api.mftgateway.com/message/inbox/:identifier","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox",":identifier"],"variable":[{"key":"identifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 11 May 2021 11:44:40 GMT"},{"key":"x-amzn-RequestId","value":"ff2883a0-e710-4a13-abae-c5f01bb18569"},{"key":"x-amzn-Remapped-content-length","value":"57"},{"key":"x-amz-apigw-id","value":"fKYmXHRUoAMFfzw="},{"key":"etag","value":"W/\"39-BfBaSSX+x/2judv55KgZCg5/06U\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-609a6e28-777618447d1aa2db4686d45f;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 0b3572829f6f42309f3adfa694398770.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN5-C1"},{"key":"X-Amz-Cf-Id","value":"TvMwYJL_HJ1ZOgsLTgIBmCjpYvezn68OEhNoJpMLtrT2ViKGFPgiSg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": \"<1360971270856285.as2@mftgateway.com>\",\n    \"message\": \"Message deleted successfully\"\n}"},{"id":"8cbe1935-8166-4223-9e39-350c0edd0b25","name":"Not Found Response","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"auth-token"}],"url":{"raw":"https://api.mftgateway.com/message/inbox/:identifier","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox",":identifier"],"variable":[{"key":"identifier","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 11 May 2021 11:43:00 GMT"},{"key":"x-amzn-RequestId","value":"3cbdd546-0486-4fd4-8e87-ab0aa137da42"},{"key":"x-amzn-Remapped-content-length","value":"37"},{"key":"x-amz-apigw-id","value":"fKYWqHnfIAMFQJw="},{"key":"etag","value":"W/\"25-1Yv1LlXrF2guC7TgKCHGcjS2CEI\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-609a6dc4-27638efa410e9ef90cef68c3;Sampled=0"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 e869415928b7de75c30c1dc3da361401.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN5-C1"},{"key":"X-Amz-Cf-Id","value":"_1rAkbpVTSEz0zn0VzIH8LOzQQskOAn0SJ3UYA51l5BZeDn3tUjaWw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unable To Find Requested Resource\"\n}"},{"id":"eb99858f-9f5d-4a5c-9c95-699d84865177","name":"Success Response - SFTP","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/inbox/:identifier?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","inbox",":identifier"],"query":[{"key":"service","value":"sftp"}],"variable":[{"key":"identifier","value":"<1360989105156099.sftp@mftgateway.com>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"52"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 05:51:27 GMT"},{"key":"x-amzn-RequestId","value":"61171fd1-26d0-47b4-8bb4-7b15972fae58"},{"key":"x-amzn-Remapped-content-length","value":"52"},{"key":"x-amz-apigw-id","value":"Wt2a5EMooAMEoNg="},{"key":"etag","value":"W/\"34-ngUVp2lBURwoI98DGcbYanvUlgw\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-66289ddf-664241293729b5085da9e8d1;Parent=6b8e17450ddce287;Sampled=0;lineage=193f2247:0|c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 2a3aa853116c0a37d6c7762eca54d208.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"8WqRmBq5ddXGsL3zLNUfUtLeCPi6T9GOrd3b_cQY4BQ8gJ_uiWHRDg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": \"<1360989105156099.sftp@mftgateway.com>\",\n    \"message\": \"Message deleted successfully\"\n}"}],"_postman_id":"e3db76a9-e428-4c0d-837c-be2cdde67412"},{"name":"Delete Outbox (Sent/Queued/Failed/Incomplete) Message","id":"314b324c-b2fb-4a53-bcd4-03609e25498b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/message/outbox/:identifier","description":"<p>This API endpoint can be used to delete a <strong>outbox (Sent/Queued/Failed)</strong> message.</p>\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Message protocol. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["message","outbox",":identifier"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed values: 'as2', 'sftp' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"e1bf4777-dc18-4900-a640-65f6e05a77e7","name":"Success Response - AS2","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"auth-token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier"],"variable":[{"key":"identifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"57"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 11 May 2021 11:44:40 GMT"},{"key":"x-amzn-RequestId","value":"ff2883a0-e710-4a13-abae-c5f01bb18569"},{"key":"x-amzn-Remapped-content-length","value":"57"},{"key":"x-amz-apigw-id","value":"fKYmXHRUoAMFfzw="},{"key":"etag","value":"W/\"39-BfBaSSX+x/2judv55KgZCg5/06U\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-609a6e28-777618447d1aa2db4686d45f;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 0b3572829f6f42309f3adfa694398770.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN5-C1"},{"key":"X-Amz-Cf-Id","value":"TvMwYJL_HJ1ZOgsLTgIBmCjpYvezn68OEhNoJpMLtrT2ViKGFPgiSg=="}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": \"<1360971270856285.as2@mftgateway.com>\"\n}"},{"id":"6b09efb7-7f12-4957-b314-ad883fc6422c","name":"Not Found Response","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","type":"text","value":"auth-token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier"],"variable":[{"key":"identifier","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 11 May 2021 11:43:00 GMT"},{"key":"x-amzn-RequestId","value":"3cbdd546-0486-4fd4-8e87-ab0aa137da42"},{"key":"x-amzn-Remapped-content-length","value":"37"},{"key":"x-amz-apigw-id","value":"fKYWqHnfIAMFQJw="},{"key":"etag","value":"W/\"25-1Yv1LlXrF2guC7TgKCHGcjS2CEI\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-609a6dc4-27638efa410e9ef90cef68c3;Sampled=0"},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 e869415928b7de75c30c1dc3da361401.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN5-C1"},{"key":"X-Amz-Cf-Id","value":"_1rAkbpVTSEz0zn0VzIH8LOzQQskOAn0SJ3UYA51l5BZeDn3tUjaWw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unable to find message\"\n}"},{"id":"b464366c-daa5-49d8-8ebc-a75b2d2a69d6","name":"Success Response - SFTP","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"auth_token"}],"url":{"raw":"https://api.mftgateway.com/message/outbox/:identifier?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["message","outbox",":identifier"],"query":[{"key":"service","value":"sftp"}],"variable":[{"key":"identifier","value":"<1360971270856285.sftp@mftgateway.com>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"52"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 24 Apr 2024 06:55:49 GMT"},{"key":"x-amzn-RequestId","value":"ef5c674c-79ac-40a3-a9ba-d35de09e8ec3"},{"key":"x-amzn-Remapped-content-length","value":"52"},{"key":"x-amz-apigw-id","value":"Wt_2YEM3oAMEsxw="},{"key":"etag","value":"W/\"34-gLuBDhxt2Fq8sHJryGga5IfbUFs\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6628acf5-2413db142c8824996fe3bce5;Parent=3ed4dbf94f4db7a9;Sampled=0;lineage=c13d3cec:0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 3203c4b5504fa019a752072f0419ef6a.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD12-P3"},{"key":"X-Amz-Cf-Id","value":"-CrTjrMQk0oOyw9qDqTN4QdYKGYuqOp9JZfXxgjxgAa4tqeQU4w4OQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": \"<1360971270856285.sftp@mftgateway.com>\"\n}"}],"_postman_id":"314b324c-b2fb-4a53-bcd4-03609e25498b"}],"id":"602a7ab2-e3b3-4659-9d7c-b5b7a7179504","_postman_id":"602a7ab2-e3b3-4659-9d7c-b5b7a7179504","description":""},{"name":"Partner","item":[{"name":"List Partners","id":"c0681c67-b836-416d-846f-520fec5c883d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/partner?service=as2|sftp","description":"<p>This endpoint can be used to list all available partners for a service.</p>\n<hr />\n<p>Request Headers</p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<p>Mandatory Query parameter:</p>\n<ul>\n<li><strong>service</strong> - Which service type partner to be create. Allowed values: 'as2', 'sftp'</li>\n</ul>\n<p><strong>Optional Filters:</strong></p>\n<ul>\n<li><p><strong>detailed</strong>​ - Show detailed information of partners</p>\n</li>\n<li><p><strong>sortDir</strong>​ - Sort direction. Allowed values are <strong>​asc​</strong> and <strong>​desc​</strong>. Defaults to ​desc​.</p>\n</li>\n<li><p><strong>pageLength​</strong> - Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n</li>\n<li><p><strong>pageOffset</strong>​ - Page number. An integer value greater than or equal to zero is accepted. Default is zero.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["partner"],"host":["api","mftgateway","com"],"query":[{"description":{"content":"<p>Service type; supported values as2 | sftp</p>\n","type":"text/plain"},"key":"service","value":"as2|sftp"},{"disabled":true,"description":{"content":"<p>Show detailed information of partners</p>\n","type":"text/plain"},"key":"detailed","value":"true"},{"disabled":true,"description":{"content":"<p>Sort direction of partners. supports asc, desc. default desc</p>\n","type":"text/plain"},"key":"sortDir","value":"asc"},{"disabled":true,"description":{"content":"<p>Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n","type":"text/plain"},"key":"pageLength","value":"10"},{"disabled":true,"description":{"content":"<p>Page offset, supports non negative integer values, default 0</p>\n","type":"text/plain"},"key":"pageOffset","value":"0"}],"variable":[]}},"response":[{"id":"7368e86e-ac16-4330-99fc-0e0915e2a479","name":"Success Response - AS2","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"url":{"raw":"https://api.mftgateway.com/partner?service=as2","protocol":"https","host":["api","mftgateway","com"],"path":["partner"],"query":[{"key":"service","value":"as2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 06:42:28 GMT"},{"key":"x-amzn-RequestId","value":"7aed8280-4716-46f4-9a1d-d85398dbe62c"},{"key":"x-amzn-Remapped-content-length","value":"43"},{"key":"x-amz-apigw-id","value":"Gq5K_GJOoAMFZyA="},{"key":"etag","value":"W/\"2b-vcY5zWlTrJKXmHigC05HSKQZ2Vg\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aa246-5a928b9745847a3133121a66;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 d454a4131cad7323027c4a71e9d4c5d1.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1"},{"key":"X-Amz-Cf-Id","value":"SgY7YXyT1zzOQ2565gSiLXTTKV3l3LRK1EfmrDppjh6NsStSufaHmQ=="}],"cookie":[],"responseTime":null,"body":"{\r\n    \"partnerCount\": 2,\r\n    \"partnerType\": \"as2\",\r\n    \"partners\": [\r\n        {\r\n            \r\n            \"name\": \"Partner Name Test 1\",\r\n            \"identifier\": \"test-partner-1\"\r\n        },\r\n        {\r\n            \"name\": \"Partner Name Test 2\",\r\n            \"identifier\": \"test-partner-2\"\r\n        }\r\n    ],\r\n    \"hasMorePartners\": false,\r\n    \"message\": \"Partners retrieved successfully\"\r\n}"},{"id":"0544eb8b-12cf-45db-abcc-e535890812cd","name":"Success Response - SFTP","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"url":{"raw":"https://api.mftgateway.com/partner?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["partner"],"query":[{"key":"service","value":"sftp"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","description":"","type":"text"},{"key":"Content-Length","value":"43","description":"","type":"text"},{"key":"Connection","value":"keep-alive","description":"","type":"text"},{"key":"Date","value":"Mar, 04 Oct 2022 06:42:28 GMT","description":"","type":"text"},{"key":"x-amzn-RequestId","value":"7aed8280-4716-46f4-9a1d-d85398dbe62d","description":"","type":"text"},{"key":"x-amzn-Remapped-content-length","value":"43","description":"","type":"text"},{"key":"x-amz-apigw-id","value":"Gq5K_GJOoAMFZyA=","description":"","type":"text"},{"key":"etag","value":"W/\"2b-vcY5zWlTrJKXmHigC05HSKQZ2Vg\"","description":"","type":"text"},{"key":"x-powered-by","value":"Express","description":"","type":"text"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aa246-5a928b9745847a3133121a66;Sampled=0","description":"","type":"text"},{"key":"X-Cache","value":"Miss from cloudfront","description":"","type":"text"},{"key":"Via","value":"1.1 d454a4131cad7323027c4a71e9d4c5d1.cloudfront.net (CloudFront)","description":"","type":"text"},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1","description":"","type":"text"},{"key":"X-Amz-Cf-Id","value":"SgY7YXyT1zzOQ2565gSiLXTTKV3l3LRK1EfmrDppjh6NsStSufaHmQ==","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"partnerCount\": 1,\r\n    \"partnerType\": \"sftp\",\r\n    \"partners\": [\r\n        {\r\n            \"name\": \"test-sftp-partner-name\",\r\n            \"identifier\": \"abc-inc-sftp-identifier\"\r\n        }\r\n    ],\r\n    \"hasMorePartners\": false,\r\n    \"message\": \"Partners retrieved successfully\"\r\n}"}],"_postman_id":"c0681c67-b836-416d-846f-520fec5c883d"},{"name":"Get Partner By Identifier","id":"f0f86aa3-9edc-4a80-af3d-38f041758140","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/partner/:identifier?service=as2|sftp","description":"<p>This endpoint can be used to retreive a single trading partner by its identifier. If multiple partners share the same AS2 identifier, the system defaults to retrieving the partner that is not linked to any station.</p>\n<hr />\n<p>Request Headers</p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<p>Mandatory Query parameter:</p>\n<ul>\n<li><strong>service</strong> - Which service type partner to be create. Allowed values: 'as2', 'sftp'</li>\n</ul>\n<p>Optional Query parameter:</p>\n<ul>\n<li><strong>linkedStationIdentifier</strong> - The identifier of the station currently linked with the partner. If not provided, and multiple partners share the same AS2 identifier, the system defaults to retrieving the partner that is not linked to any station</li>\n</ul>\n<p>Mandatory Path variable:</p>\n<ul>\n<li><strong>identifier</strong> - Partner identifier (String)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["partner",":identifier"],"host":["api","mftgateway","com"],"query":[{"description":{"content":"<p>Service type; supported values as2 | sftp</p>\n","type":"text/plain"},"key":"service","value":"as2|sftp"},{"disabled":true,"description":{"content":"<p>The identifier of the station currently linked with the partner</p>\n","type":"text/plain"},"key":"linkedStationIdentifier","value":""}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"d5033946-2734-41ea-8e2f-021d07ab7c77","name":"Success Response - AS2","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"url":{"raw":"https://api.mftgateway.com/partner/partner_as2_id?service=as2","protocol":"https","host":["api","mftgateway","com"],"path":["partner","partner_as2_id"],"query":[{"key":"service","value":"as2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 06:42:28 GMT"},{"key":"x-amzn-RequestId","value":"7aed8280-4716-46f4-9a1d-d85398dbe62c"},{"key":"x-amzn-Remapped-content-length","value":"43"},{"key":"x-amz-apigw-id","value":"Gq5K_GJOoAMFZyA="},{"key":"etag","value":"W/\"2b-vcY5zWlTrJKXmHigC05HSKQZ2Vg\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aa246-5a928b9745847a3133121a66;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 d454a4131cad7323027c4a71e9d4c5d1.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1"},{"key":"X-Amz-Cf-Id","value":"SgY7YXyT1zzOQ2565gSiLXTTKV3l3LRK1EfmrDppjh6NsStSufaHmQ=="}],"cookie":[],"responseTime":null,"body":"{\r\n    \"partnerType\": \"as2\",\r\n    \"partner\": {\r\n        \"addCustomSubdirectory\": false,\r\n        \"autoRetryIncompleteMessages\": false,\r\n        \"compressAfter\": false,\r\n        \"compressBefore\": false,\r\n        \"createdOn\": 1707130569450,\r\n        \"deleteAttachmentsOnSuccessMDN\": false,\r\n        \"disableDownstreamOnFailure\": false,\r\n        \"disablePayloadChunking\": false,\r\n        \"encryptionCertificate\": {\r\n            \"alias\": \"2b5b99d0-23d1-4190-8305-a363cc6ab3a2\",\r\n            \"commonName\": \"ISRG Root X1\"\r\n        },\r\n        \"encryptionInfo\": {\r\n            \"algorithm\": \"DES_EDE3_CBC\",\r\n            \"encryptMessages\": true\r\n        },\r\n        \"endpoint\": \"https://service.dev.mftgateway.com/receiver\",\r\n        \"id\": 1292937694532435,\r\n        \"identifier\": \"test-partner-1\",\r\n        \"isDefaultPartner\": false,\r\n        \"lastModified\": 1707297554037,\r\n        \"matchPreselectedAlgorithms\": false,\r\n        \"messageSubject\": \"AS2 message from MFT Gateway\",\r\n        \"mockPartner\": false,\r\n        \"name\": \"Partner-test-name\",\r\n        \"pauseOutgoingTraffic\": false,\r\n        \"pauseIncomingTraffic\": true,\r\n        \"rejectInsecureMessages\": false,\r\n        \"removeMessageIdSubdirectory\": false,\r\n        \"requestAsyncMDN\": false,\r\n        \"requestHTTPAsyncMDN\": false,\r\n        \"requestMDN\": true,\r\n        \"requestSignedMDN\": true, \r\n        \"responseToPausedIncomingTraffic\": 1,\r\n        \"signatureInfo\": {\r\n            \"algorithm\": \"SHA1\",\r\n            \"signMessages\": true\r\n        },\r\n        \"transmissionTimeout\": 60,\r\n        \"maxAutoRetryCount\": 10,\r\n        \"msgRetryMode\": \"exponential\",\r\n        \"type\": \"as2\",\r\n        \"useStaticIP\": true\r\n    },\r\n    \"message\": \"Partner retrieved successfully\"\r\n}"},{"id":"644d3475-0080-481c-8758-0a980f63f5b9","name":"Success Response - SFTP","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"url":{"raw":"https://api.mftgateway.com/partner/partner_sftp_id?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["partner","partner_sftp_id"],"query":[{"key":"service","value":"sftp"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","description":"","type":"text"},{"key":"Content-Length","value":"43","description":"","type":"text"},{"key":"Connection","value":"keep-alive","description":"","type":"text"},{"key":"Date","value":"Mar, 04 Oct 2022 06:42:28 GMT","description":"","type":"text"},{"key":"x-amzn-RequestId","value":"7aed8280-4716-46f4-9a1d-d85398dbe62d","description":"","type":"text"},{"key":"x-amzn-Remapped-content-length","value":"43","description":"","type":"text"},{"key":"x-amz-apigw-id","value":"Gq5K_GJOoAMFZyA=","description":"","type":"text"},{"key":"etag","value":"W/\"2b-vcY5zWlTrJKXmHigC05HSKQZ2Vg\"","description":"","type":"text"},{"key":"x-powered-by","value":"Express","description":"","type":"text"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aa246-5a928b9745847a3133121a66;Sampled=0","description":"","type":"text"},{"key":"X-Cache","value":"Miss from cloudfront","description":"","type":"text"},{"key":"Via","value":"1.1 d454a4131cad7323027c4a71e9d4c5d1.cloudfront.net (CloudFront)","description":"","type":"text"},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1","description":"","type":"text"},{"key":"X-Amz-Cf-Id","value":"SgY7YXyT1zzOQ2565gSiLXTTKV3l3LRK1EfmrDppjh6NsStSufaHmQ==","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"partnerCount\": 1,\r\n    \"partnerType\": \"sftp\",\r\n    \"partners\": [\r\n        {\r\n            \"addCustomSubdirectory\": true,\r\n            \"customExternalDirectories\": false,\r\n            \"createdOn\": 1707884410418,\r\n            \"email\": \"email@email.com\",\r\n            \"endpoint\": \"abc-inc-sftp-identifier@sftp.mftgateway.com\",\r\n            \"failureMessageNotifications\": false,\r\n            \"id\": 1300476104194821,\r\n            \"identifier\": \"abc-inc-sftp-identifier\",\r\n            \"lastModified\": 1707884410419,\r\n            \"mockPartner\": false,\r\n            \"name\": \"test-sftp-partner-name\",\r\n            \"pauseOutgoingTraffic\": false,\r\n            \"pauseIncomingTraffic\": false,\r\n            \"privateKeyType\": \"PEM_PKCS1\",\r\n            \"receivedMessageNotifications\": false,\r\n            \"removeMessageIdSubdirectory\": false,\r\n            \"sftpPublicKey\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC1YRPsqthX+8fnapWnRHPues+3aG1MiKGxsuv/8HVetlj7lUtck2ocBDLldVdMtjNN16Bvu83eB71k2fXtBtJoUIxpjsLTAnUVSkcBlrOBwB4n3V01advrkKmNUxSR6yIMsw4/B7lniU3bn2gwIma4JFQCHawTFHHbw+akelcawCS6VGx6XaACvm2YHsPTn9Q1dSOIJXomDGr5Q7XY5jYJZ2UFSBuR6/rxY6qtdEQcx/henAUPsJ3QJe5/wSz/Ka9bewgE/i45g9VJKZYFlRMCJr8uEwCasq0A1zOzCZZDBOJM7U2kFuXyg0216m9JLah3Eiy5iJcYpJPf4j/I4dBLD1uf19joKiRbHm5n4jucWTWvbC+Q1jo86UG+trjpmTQRbP9a4H+53899W6KyJBYK0WYBxhYClXgWuw0fR7j3sAf3EqwWPbUiY+D8ZiEb+W4N3d/UktsNvM2Nxun7Cuwvkr/Yr1/XweKZ3gTls9CNv3+1prXhkzsfrqBklAHKuk909ty7w8tWFIO2fKLZjMAeJJxZAHR5dGnUaKoxw04Kptoec/KWKNkb5SpnWfVTLF25iz4nt8QypHHFmZNA4K3CFHoTmOCEsgm/sQDEJT0xmN1bzZOj4mznTo3ed/pFwjfMLUgEMMbtm47eYjaDDv7TVw== (unnamed)\",\r\n            \"sftpPublicKeyId\": \"key-fc6f98e2286e42967\",\r\n            \"type\": \"sftp\"\r\n        }\r\n    ],\r\n    \"message\": \"Partner retrieved successfully\"\r\n}"}],"_postman_id":"f0f86aa3-9edc-4a80-af3d-38f041758140"},{"name":"Create Partner","id":"634b1ac5-c09a-40d8-9cee-b1c3587faf20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Partner Name\",\n    \"identifier\": \"partner_as2_id\",\n    \"url\": \"https://partner.com\",\n    \"encryptionCertificate\": \"<Base64 encoded encryption certificate>\",\n    \"encryptMessage\": true,\n    \"encryptionAlgorithm\": \"DES_EDE3_CBC\",\n    \"signMessage\": true,\n    \"signatureAlgorithm\": \"SHA1\",\n    \"httpsCertificate\": \"<Base64 encoded SSL certificate>\",\n    \"httpsChainCertificates\": [\n        \"<Base64 encoded SSL chain certificate one>\",\n        \"<Base64 encoded SSL chain certificate two>\"\n    ],\n    \"customHeaders\": [\n        {\n            \"headerName\": \"<custom-header-name>\",\n            \"headerValue\": \"<custom-header-value>\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/partner?service=as2","description":"<p>This endpoint can be used to create a new trading partner.</p>\n<hr />\n<p>Request Headers</p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Which service type partner to be create. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n<p>Request Body: Should be a valid JSON with following fields.</p>\n<p>Common Mandatory fields (This fields must be specified regardless the service type)</p>\n<ul>\n<li><p><strong>identifier</strong> - Partner identifier (String) For <strong>SFTP partners</strong>, the final identifier will be generated by prefixing the MFT Gateway account name to the provided identifier. The resulting format will be: <strong>${account name}-${identifier}</strong></p>\n</li>\n<li><p><strong>name</strong> - Partner name (String)</p>\n</li>\n</ul>\n<p>Common Optional fields</p>\n<ul>\n<li><strong>description</strong> - Description of the trading partner (String)</li>\n</ul>\n<blockquote>\n<p>Fields Associated with File Structuring of Messages in Partners </p>\n</blockquote>\n<ul>\n<li><p><strong>addCustomSubdirectory</strong> - Add a custom subdirectory after inbox/outbox folder (Boolean | Default: false)</p>\n</li>\n<li><p><strong>customSubdirectory</strong> - Name of the custom subdirectory after inbox/outbox folder; required if <strong>addCustomSubdirectory</strong> is set to <strong>true</strong> (String)</p>\n</li>\n<li><p><strong>removeMessageIdSubdirectory</strong> - Remove subdirectory with random message ID (Boolean | Default: false)</p>\n</li>\n</ul>\n<p>AS2 Service Specific Mandatory Fields</p>\n<ul>\n<li><p><strong>encryptionCertificate</strong> - Base64 encoded encryption certificate (Base64 encoded String)</p>\n</li>\n<li><p><strong>url</strong> - Trading partner message delivery endpoint (String).</p>\n</li>\n</ul>\n<p>AS2 Service Specific Optional fields</p>\n<ul>\n<li><p><strong>autoRetryIncompleteMessages</strong> - Auto retry incomplete messages. Incomplete messages may have successfully processed by the trading partner but failed to acknowledge before the configured timeout. If sets to <strong>true</strong> there is a possibility of duplicating outbound messages. (Boolean | Default: false)</p>\n</li>\n<li><p><strong>compressAfter</strong> - Compress messages after encryption/sign (Boolean | Default: false)</p>\n</li>\n<li><p><strong>compressBefore</strong> - Compress messages before encryption/sign (Boolean | Default: false)</p>\n</li>\n<li><p><strong>deleteAttachmentsOnSuccessMdn</strong> - Delete Attachments from the S3 bucket when success MDN received (Boolean | Default: false)</p>\n</li>\n<li><p><strong>disableDownstreamOnFailure</strong> - Setting this to true prevents downstream processing such as webhook and EDIG from being triggered for failed incoming messages, and any attachments received will not be saved.</p>\n</li>\n<li><p><strong>disablePayloadChunking</strong> - Setting this to true will not include the Transfer-Encoding header in outgoing AS2 message headers (Boolean | Default: false)</p>\n</li>\n<li><p><strong>encryptionAlgorithm</strong> - Encryption algorithm for outbound message. Allowed algorithms: 'AES128_CBC', 'AES192_CBC', 'AES256_CBC', 'CAMELLIA128_CBC', 'CAMELLIA192_CBC', 'CAMELLIA256_CBC', 'CAST5_CBC', 'DES_EDE3_CBC', 'ECDH_SHA1KDF', 'RC2_CBC', 'SEED_CBC' (String | Default: DES_EDE3_CBC)</p>\n</li>\n<li><p><strong>encryptMessage</strong> - Encrypt outbound messages? (Boolean | Default: true)</p>\n</li>\n<li><p><strong>encryptSignChainCertificates</strong> - Base64 encoded encryption/sign chain certificate(s) (Array of base64 encoded String)</p>\n</li>\n<li><p><strong>httpsCertificate</strong> - Base64 encoded SSL certificate (Base64 encoded String)</p>\n</li>\n<li><p><strong>httpsChainCertificates</strong> - Base64 encoded SSL chain certificate(s) (Array of base64 encoded String)</p>\n</li>\n<li><p><strong>inboundEncryptionAlgorithm</strong> - Encryption algorithm for inbound messages. This algorithm will be enforced on incoming messages if <strong>verifyInboundEncryptionAlgorithm</strong> is set to true. Any incoming message that is not encrypted with the specified inbound encryption algorithm will be rejected. Allowed algorithms: Algorithms supported for <strong>encryptionAlgorithm</strong> (String | Default: value of the encryptionAlgorithm)</p>\n</li>\n<li><p><strong>inboundSignatureAlgorithm</strong> - Signature algorithm for inbound messages. This algorithm will be enforced on incoming messages if <strong>verifyInboundSignatureAlgorithm</strong> is set to true. Any incoming message that is not signed with the specified inbound signature algorithm will be rejected. Allowed algorithms: Algorithms supported for <strong>signatureAlgorithm</strong> (String | Default: value of the signatureAlgorithm)</p>\n</li>\n<li><p><strong>messageSubject</strong> - Default message subject for trading partner (String| Min Length: 1, Max Length: 128)</p>\n</li>\n<li><p><strong>maxAutoRetryCount</strong> - Specify the maximum auto retry count for failed and incomplete messages. Allowed values: 3, 5, 10 (Number | <strong>Default: 10</strong>)</p>\n</li>\n<li><p><strong>msgRetryMode</strong> - Specifies how the message should be retried when a send failure or incompletion occurs. Allowed values: exponential: Retry with exponential backoff. fixed: Retries at fixed intervals. If msgRetryMode is set to exponential, <strong>maxAutoRetryCount</strong> is required. And if msgRetryMode is set to fixed, <strong>msgRetryDuration</strong> and <strong>msgRetryInterval</strong> are required. ( String | Default: exponential)</p>\n</li>\n<li><p><strong>msgRetryDuration</strong> -The total time duration for which the message will be retried. The retry attempts will occur during this duration, spaced by the <strong>msgRetryInterval.</strong> Allowed values: '1h', '2h', '6h', '12h', '1d', '2d' (String)</p>\n</li>\n<li><p><strong>msgRetryInterval -</strong> The time gap between each retry attempt. The system will retry sending the message until the total <strong>msgRetryDuration</strong> is reached. Allowed values: '15m', '30m', '1h', '2h', '6h' (String)</p>\n</li>\n<li><p><strong>requestAsyncMDN</strong> - Request asynchronous Disposition Notification (Boolean | Default: false) - field requestMDN is required if requestAsyncMDN is defined</p>\n</li>\n<li><p><strong>requestMDN</strong> - Request Message Disposition Notification (Boolean | Default: true)</p>\n</li>\n<li><p><strong>requestSignedMDN</strong> - Request signed Message Disposition Notification (Boolean | Default: true)</p>\n</li>\n<li><p><strong>signMessage</strong> - Sign outbound messages? (Boolean | Default: true)\\</p>\n</li>\n<li><p><strong>signatureAlgorithm</strong> - Signature algorithm for outboud messages. Allowed algorithms: 'SHA1', 'MD5', 'SHA224', 'SHA256', 'SHA384', 'SHA512' (String | Default: 'SHA1'</p>\n<ul>\n<li><em><strong>Warning</strong></em>: MD5 is not recommended due to security vulnerabilities. Use SHA-1, SHA-224, SHA-256, SHA- 384, or SHA-512 instead.</li>\n</ul>\n</li>\n<li><p><strong>signatureCertificate</strong> - Base64 encoded signature certificate (Base64 encoded String | Required if <strong>useDiffCertAsSignCert</strong> set to <strong>true</strong>)</p>\n</li>\n<li><p><strong>stationIdentifierToLink</strong> - Provide a valid station identifier to specify the destination station for receiving the messages.</p>\n<ul>\n<li>Note: The link will only be used when multiple partners share the same identifier.</li>\n</ul>\n</li>\n<li><p><strong>transmissionTimeout</strong> - Maximum waiting time(seconds) before closing connection Allowed values: 60, 120, 180, 300 (Number | Default: 120)</p>\n</li>\n<li><p><strong>useDiffCertAsSignCert</strong> - Use a different certificate to verify signature of the <strong>inbound</strong> messages. If set to <strong>false</strong> encryptionCertificate will be used to validate incoming message signatures. (Boolean | Default: false)</p>\n</li>\n<li><p><strong>useStaticIP</strong> - Use Static IP for outbound messages (Business/Enterprise tier feature) (Boolean | Default: false)</p>\n</li>\n<li><p><strong>verifyInboundEncryptionAlgorithm</strong> - Verify encryption algorithm of inbound messages. (Boolean | Default: false)</p>\n</li>\n<li><p><strong>verifyInboundSignatureAlgorithm</strong> - Verify signature algorithm of inbound messages. (Boolean | Default: false)</p>\n</li>\n</ul>\n<p>SFTP Service Specific Mandatory Fields</p>\n<ul>\n<li><p><strong>email</strong> - Comma separated list of emails (up to maximum of 3 emails) (String).</p>\n</li>\n<li><p><strong>privateKeyType</strong> - SFTP private key type Allowed types 'PEM_PKCS1', 'PEM_PKCS8', 'PPK' (String).</p>\n</li>\n</ul>\n<p>SFTP Service Specific Optional fields</p>\n<ul>\n<li><p><strong>failedMessageNotifications</strong> - Enable email notifications for message send failures (Boolean | Default: true)</p>\n</li>\n<li><p><strong>privateKeyPassword</strong> - Password for private key; Required if <strong>withPrivateKeyPassword</strong> sets to true (String)</p>\n</li>\n<li><p><strong>publicKey</strong> - Public key; Required if <strong>withExistingPublicKey</strong> sets to true (String)</p>\n</li>\n<li><p><strong>receivedMessageNotifications</strong> - Enable email notifications for received messages (Boolean | Default: false)</p>\n</li>\n<li><p><strong>withExistingPublicKey</strong> - Use existing key pair public key (Boolean | Default: false)</p>\n</li>\n<li><p><strong>withPrivateKeyPassword</strong> - Set password for private key (Boolean | Default: false)</p>\n</li>\n<li><p><strong>customExternalDirectories</strong> - Enable folder structure customizations to the external partner's folder structure. Enable this option only if you have enabled either <strong>removeMessageIdSubdirectory</strong> or <strong>addCustomSubdirectory</strong>. (Boolean | Default: false)</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["partner"],"host":["api","mftgateway","com"],"query":[{"key":"service","value":"as2"}],"variable":[]}},"response":[{"id":"9b0bd9ec-79bf-4589-829b-72f196e99127","name":"Success Response - AS2","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Partner Name\",\n    \"identifier\": \"partner_as2_id\",\n    \"url\": \"https://partner.com\",\n    \"encryptionCertificate\": \"<Base64 encoded encryption certificate>\",\n    \"encryptMessage\": true,\n    \"encryptionAlgorithm\": \"DES_EDE3_CBC\",\n    \"signMessage\": true,\n    \"signatureAlgorithm\": \"SHA1\",\n    \"httpsCertificate\": \"<Base64 encoded SSL certificate>\",\n    \"httpsChainCertificates\": [\n        \"<Base64 encoded SSL chain certificate one>\",\n        \"<Base64 encoded SSL chain certificate two>\"\n    ],\n    \"customHeaders\": [\n        {\n            \"headerName\": \"<custom-header-name>\",\n            \"headerValue\": \"<custom-header-value>\"\n        }\n    ],\n    \"disableDownstreamOnFailure\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/partner?service=as2","protocol":"https","host":["api","mftgateway","com"],"path":["partner"],"query":[{"key":"service","value":"as2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 06:42:28 GMT"},{"key":"x-amzn-RequestId","value":"7aed8280-4716-46f4-9a1d-d85398dbe62c"},{"key":"x-amzn-Remapped-content-length","value":"43"},{"key":"x-amz-apigw-id","value":"Gq5K_GJOoAMFZyA="},{"key":"etag","value":"W/\"2b-vcY5zWlTrJKXmHigC05HSKQZ2Vg\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aa246-5a928b9745847a3133121a66;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 d454a4131cad7323027c4a71e9d4c5d1.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1"},{"key":"X-Amz-Cf-Id","value":"SgY7YXyT1zzOQ2565gSiLXTTKV3l3LRK1EfmrDppjh6NsStSufaHmQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Partner created successfully\",\n    \"identifier\": \"partner_as2_id\"\n}"},{"id":"802efe41-4b69-4b05-a9be-eea80c2ea89d","name":"Partner Exists Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Partner Name\",\n    \"identifier\": \"partner_as2_id\",\n    \"url\": \"https://partner.com\",\n    \"encryptionCertificate\": \"<Base64 encoded encryption certificate>\",\n    \"encryptMessage\": true,\n    \"encryptionAlgorithm\": \"DES_EDE3_CBC\",\n    \"signMessage\": true,\n    \"signatureAlgorithm\": \"SHA1\",\n    \"httpsCertificate\": \"<Base64 encoded SSL certificate>\",\n    \"httpsChainCertificates\": [\n        \"<Base64 encoded SSL chain certificate one>\",\n        \"<Base64 encoded SSL chain certificate two>\"\n    ],\n    \"customHeaders\": [\n        {\n            \"headerName\": \"<custom-header-name>\",\n            \"headerValue\": \"<custom-header-value>\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/partner?service=as2","protocol":"https","host":["api","mftgateway","com"],"path":["partner"],"query":[{"key":"service","value":"as2"}]}},"status":"Unprocessable","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 06:42:28 GMT"},{"key":"x-amzn-RequestId","value":"7aed8280-4716-46f4-9a1d-d85398dbe62c"},{"key":"x-amzn-Remapped-content-length","value":"43"},{"key":"x-amz-apigw-id","value":"Gq5K_GJOoAMFZyA="},{"key":"etag","value":"W/\"2b-vcY5zWlTrJKXmHigC05HSKQZ2Vg\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aa246-5a928b9745847a3133121a66;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 d454a4131cad7323027c4a71e9d4c5d1.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1"},{"key":"X-Amz-Cf-Id","value":"SgY7YXyT1zzOQ2565gSiLXTTKV3l3LRK1EfmrDppjh6NsStSufaHmQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User input validation failed. Please try again\",\n    \"errors\": [\n        {\n            \"as2Identifier\": \"Partner already exists with AS2 identifier: partner_as2_id\"\n        }\n    ]\n}"},{"id":"6ec81f47-9181-4ad7-963b-571d7a9ed5c4","name":"Success Response - SFTP","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Partner Name\",\n    \"identifier\": \"<tenant-name>-partner_sftp_id\",\n    \"email\": \"email1@email.com,email3@email.com,email3@email.com\",\n    \"privateKeyType\": \"PEM_PKCS8\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/partner?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["partner"],"query":[{"key":"service","value":"sftp"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"key":"Content-Length","value":"43","description":""},{"key":"Connection","value":"keep-alive","description":""},{"key":"Date","value":"Mar, 04 Oct 2022 06:42:28 GMT","description":""},{"key":"x-amzn-RequestId","value":"7aed8280-4716-46f4-9a1d-d85398dbe62d","description":""},{"key":"x-amzn-Remapped-content-length","value":"43","description":""},{"key":"x-amz-apigw-id","value":"Gq5K_GJOoAMFZyA=","description":""},{"key":"etag","value":"W/\"2b-vcY5zWlTrJKXmHigC05HSKQZ2Vg\"","description":""},{"key":"x-powered-by","value":"Express","description":""},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aa246-5a928b9745847a3133121a66;Sampled=0","description":""},{"key":"X-Cache","value":"Miss from cloudfront","description":""},{"key":"Via","value":"1.1 d454a4131cad7323027c4a71e9d4c5d1.cloudfront.net (CloudFront)","description":""},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1","description":""},{"key":"X-Amz-Cf-Id","value":"SgY7YXyT1zzOQ2565gSiLXTTKV3l3LRK1EfmrDppjh6NsStSufaHmQ==","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Partner created successfully\",\n    \"identifier\": \"partner_sftp_id\",\n    \"endpoint\": \"partner_sftp_id@sftp.mftgateway.com\",\n    \"privateKey\": \"PRIVATE_KEY\",\n    \"format\": \"PRIVATE_KEY_FORMAT\"\n}"}],"_postman_id":"634b1ac5-c09a-40d8-9cee-b1c3587faf20"},{"name":"Update Partner","id":"2527d920-2993-42c1-97c6-0bc253183227","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Partner Name\",\n    \"identifier\": \"partner_as2_id\",\n    \"url\": \"https://partner.com\",\n    \"encryptionCertificate\": \"<Base64 encoded encryption certificate>\",\n    \"encryptMessage\": true,\n    \"encryptionAlgorithm\": \"DES_EDE3_CBC\",\n    \"signMessage\": true,\n    \"signatureAlgorithm\": \"SHA1\",\n    \"httpsCertificate\": \"<Base64 encoded SSL certificate>\",\n    \"httpsChainCertificates\": [\n        \"<Base64 encoded SSL chain certificate one>\",\n        \"<Base64 encoded SSL chain certificate two>\"\n    ],\n    \"customHeaders\": [\n        {\n            \"headerName\": \"<custom-header-name>\",\n            \"headerValue\": \"<custom-header-value>\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/partner","description":"<p>This endpoint can be used to update existing trading partner.</p>\n<hr />\n<p>Request Headers</p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<p>Query parameters:</p>\n<ul>\n<li><strong>service</strong> - Which service type partner to be create. Allowed values: 'as2', 'sftp' (String | Default: as2)</li>\n</ul>\n<p>Request Body:</p>\n<p>Should be a valid JSON with following fields. Specify the fields you want to be updated in the request body. Non specified fields will not get affected.</p>\n<p>Common Mandatory fields (This fields must be specified regardless the service type)</p>\n<ul>\n<li><strong>identifier</strong> - Partner identifier (String | Required).</li>\n</ul>\n<p>Common Optional fields</p>\n<ul>\n<li><p><strong>description</strong> - Partner description (String)</p>\n</li>\n<li><p><strong>name</strong> - Partner name (String)</p>\n</li>\n</ul>\n<blockquote>\n<p>Fields Associated with File Structuring of Messages in Partners </p>\n</blockquote>\n<ul>\n<li><p><strong>addCustomSubdirectory</strong> - Add a custom subdirectory after inbox/outbox folder (Boolean | Default: false)</p>\n</li>\n<li><p><strong>customSubdirectory</strong> - Name of the custom subdirectory after inbox/outbox folder; required if <strong>addCustomSubdirectory</strong> is set to <strong>true</strong> (String)</p>\n</li>\n<li><p><strong>removeMessageIdSubdirectory</strong> - Remove subdirectory with random message ID (Boolean | Default: false)</p>\n</li>\n<li><p><strong>pauseOutgoingTraffic</strong> - Temporarily block outgoing traffic to the partner. When set to true, traffic generated by webapp and all the integrations will be paused to the partner. (Boolean | Default: false)</p>\n</li>\n<li><p><strong>pauseIncomingTraffic</strong> - Temporarily pause incoming traffic from the partner (Boolean | Default: false)</p>\n</li>\n</ul>\n<p>AS2 Service Specific Optional Fields</p>\n<ul>\n<li><p><strong>autoRetryIncompleteMessages</strong> - Auto retry incomplete messages. Incomplete messages may have successfully processed by the trading partner but failed to acknowledge before the configured timeout. If sets to <strong>true</strong> there is a possibility of duplicating outbound messages. (Boolean)</p>\n</li>\n<li><p><strong>responseToPausedIncomingTraffic</strong> - Choose how to respond to an incoming message from the partner when incoming traffic is blocked. This option only takes effect when <strong>pauseIncomingTraffic</strong> is set to true. Allowed values: 1: Send success MDN, 2: Send error MDN, 3: Send error response (Number | Default: 1)</p>\n</li>\n<li><p><strong>compressAfter</strong> - Compress messages after encryption/sign (Boolean)</p>\n</li>\n<li><p><strong>compressBefore</strong> - Compress messages before encryption/sign (Boolean)</p>\n</li>\n<li><p><strong>deleteAttachmentsOnSuccessMdn</strong> - Delete Attachments from the S3 bucket when success MDN received (Boolean)</p>\n</li>\n<li><p><strong>deleteHttpsCertificate</strong> - Delete existing HTTPS certificate. Cannot set to <strong>true</strong> with either <strong>httpsCertificate</strong> or <strong>httpsCertificateAlias</strong> (Boolean).</p>\n</li>\n<li><p><strong>deleteSignatureCertificate</strong> - Delete existing signature certificate. Cannot set to <strong>true</strong> with either <strong>signatureCertificate</strong> or <strong>signatureCertificateAlias</strong> (Boolean).</p>\n</li>\n<li><p><strong>disableDownstreamOnFailure</strong> - Setting this to true prevents downstream processing such as webhook and EDIG from being triggered for failed incoming messages, and any attachments received will not be saved.</p>\n</li>\n<li><p><strong>disablePayloadChunking</strong> - Setting this to true will not include the Transfer-Encoding header in outgoing AS2 message headers (Boolean | Default: false)</p>\n</li>\n<li><p><strong>encryptionAlgorithm</strong> - Encryption algorithm for outbound message. Allowed algorithms: 'AES128_CBC', 'AES192_CBC', 'AES256_CBC', 'CAMELLIA128_CBC', 'CAMELLIA192_CBC', 'CAMELLIA256_CBC', 'CAST5_CBC', 'DES_EDE3_CBC', 'ECDH_SHA1KDF', 'RC2_CBC', 'SEED_CBC' (String | Default: DES_EDE3_CBC)</p>\n</li>\n<li><p><strong>encryptionCertificate</strong> | <strong>encryptionCertificateAlias</strong> - Base64 encoded encryption certificate (Base64 encoded String) or valid existing encryption certificate alias from certificate store (String).</p>\n</li>\n<li><p><strong>encryptionBackupCertificate</strong> | <strong>encryptionBackupCertificateAlias</strong> - Base64 encoded encryption certificate (Base64 encoded String) or valid existing encryption certificate alias from certificate store (String).The value for <strong>encryptionBackupCertActiveTimeStamp</strong> is required to be set.</p>\n</li>\n<li><p><strong>encryptMessage</strong> - Encrypt outbound messages? (Boolean)</p>\n</li>\n<li><p><strong>encryptSignChainCertificates</strong> - Base64 encoded encryption/sign chain certificate(s) (Array of base64 encoded String)</p>\n</li>\n<li><p><strong>httpsCertificate</strong> | <strong>httpsCertificateAlias</strong> - Base64 encoded SSL certificate (Base64 encoded String) or valid existing SSL certificate alias from certificate store (String).</p>\n</li>\n<li><p><strong>httpsBackupCertificate</strong> | <strong>httpsBackupCertificateAlias</strong> - Base64 encoded HTTPS certificate (Base64 encoded String) or valid existing HTTPS certificate alias from certificate store (String).The value for <strong>httpsBackupCertActiveTimeStamp</strong> is required to be set.</p>\n</li>\n<li><p><strong>httpsChainCertificates</strong> - Base64 encoded SSL chain certificate(s) (Array of base64 encoded String)</p>\n</li>\n<li><p><strong>inboundEncryptionAlgorithm</strong> - Encryption algorithm for inbound messages. This algorithm will be enforce on incoming messages if <strong>verifyInboundEncryptionAlgorithm</strong> is set to true. Any incoming message that not encrypted with the specified inbound encryption algorithm will be rejected. Allowed algorithms: Algorithms supported for <strong>encryptionAlgorithm</strong> (String | Default: value of the encryptionAlgorithm)</p>\n</li>\n<li><p><strong>inboundSignatureAlgorithm</strong> - Signature algorithm for inbound messages. This algorithm will be enforce on incoming messages if <strong>verifyInboundSignatureAlgorithm</strong> is set to true. Any incoming message that not signed with the specified inbound signature algorithm will be rejected. Allowed algorithms: Algorithms supported for <strong>signatureAlgorithm</strong> (String | Default: value of the signatureAlgorithm)</p>\n</li>\n<li><p><strong>linkedStationIdentifier</strong> - The identifier of the station the partner is currently linked to</p>\n</li>\n<li><p><strong>messageSubject</strong> - Default message subject for trading partner (String | Min Length: 1, Max Length: 128)</p>\n</li>\n<li><p><strong>requestAsyncMDN</strong> - Request asynchronous Disposition Notification (Boolean) - field requestMDN is required if requestAsyncMDN is defined</p>\n</li>\n<li><p><strong>requestSignedMDN</strong> - Request signed Message Disposition Notification (Boolean)</p>\n</li>\n<li><p><strong>requestMDN</strong> - Request Message Disposition Notification (Boolean)</p>\n</li>\n<li><p><strong>signatureAlgorithm</strong> - Signature algorithm for outbound messages. Allowed algorithms: 'SHA1', 'MD5', 'SHA224', 'SHA256', 'SHA384', 'SHA512' (String | SHA1)</p>\n<ul>\n<li><em><strong>Warning</strong></em>: MD5 is not recommended due to security vulnerabilities. Use SHA-1, SHA-224, SHA-256, SHA-384, or SHA-512 instead.</li>\n</ul>\n</li>\n<li><p><strong>signatureCertificate</strong> | <strong>signatureCertificateAlias</strong> - Base64 encoded signature certificate (Base64 encoded String) or valid existing signature certificate alias from certificate store (String). Required if <strong>useDiffCertAsSignCert</strong> set to <strong>true</strong>)</p>\n</li>\n<li><p><strong>signatureBackupCertificate</strong> | <strong>signatureBackupCertificateAlias</strong> - Base64 encoded signature certificate (Base64 encoded String) or valid existing signature certificate alias from certificate store (String).The value must be set to <strong>signatureBackupCertActiveTimeStamp</strong> and must be set to <strong>true</strong> for <strong>useDiffCertAsSignCert.</strong></p>\n</li>\n<li><p><strong>signMessage</strong> - Sign outbound messages? (Boolean)</p>\n</li>\n<li><p><strong>stationIdentifierToLink</strong> - Provide a valid station identifier to specify the destination station for receiving the messages.</p>\n<ul>\n<li>Note: The link will only be used when multiple partners share the same identifier.</li>\n</ul>\n</li>\n<li><p><strong>transmissionTimeout</strong> - Maximum waiting time(seconds) before closing connection Allowed values: 60, 120, 180, 300 (Number)</p>\n</li>\n<li><p><strong>maxAutoRetryCount</strong> - Specify the maximum auto retry count for failed and incomplete messages. Allowed values: 3, 5, 10 (Number | <strong>Default: 10</strong>)</p>\n</li>\n<li><p><strong>msgRetryMode</strong> - Specifies how the message should be retried when a send failure or incompletion occurs. Allowed values: exponential: Retry with exponential backoff. fixed: Retries at fixed intervals. If msgRetryMode is set to exponential, <strong>maxAutoRetryCount</strong> is required. And if msgRetryMode is set to fixed, <strong>msgRetryDuration</strong> and <strong>msgRetryInterval</strong> are required. ( String | Default: exponential)</p>\n</li>\n<li><p><strong>msgRetryDuration</strong> -The total time duration for which the message will be retried. The retry attempts will occur during this duration, spaced by the <strong>msgRetryInterval.</strong> Allowed values: '1h', '2h', '6h', '12h', '1d', '2d' (String)</p>\n</li>\n<li><p><strong>msgRetryInterval -</strong> The time gap between each retry attempt. The system will retry sending the message until the total <strong>msgRetryDuration</strong> is reached. Allowed values: '15m', '30m', '1h', '2h', '6h' (String)</p>\n</li>\n<li><p><strong>encryptionBackupCertActiveTimeStamp -</strong> Scheduled activation time for the encryption backup certificate in <strong>UTC</strong> format (<code>YYYY-MM-DDTHH:MMZ)</code></p>\n</li>\n<li><p><strong>httpsBackupCertActiveTimeStamp -</strong> Scheduled activation time for the HTTPS backup certificate in <strong>UTC</strong> format (<code>YYYY-MM-DDTHH:MMZ)</code></p>\n</li>\n<li><p><strong>signatureBackupCertActiveTimeStamp -</strong> Scheduled activation time for the signature backup certificate in <strong>UTC</strong> format (<code>YYYY-MM-DDTHH:MMZ)</code></p>\n</li>\n<li><p><strong>url</strong> - Trading partner message delivery endpoint (String).</p>\n</li>\n<li><p><strong>useStaticIP</strong> - Use Static IP for outbound messages (Business/Enterprise tier feature) (Boolean)</p>\n</li>\n<li><p><strong>verifyInboundEncryptionAlgorithm</strong> - Verify encryption algorithm of inbound messages. (Boolean | Default: false)</p>\n</li>\n<li><p><strong>verifyInboundSignatureAlgorithm</strong> - Verify signature algorithm of inbound messages. (Boolean | Default: false)</p>\n</li>\n</ul>\n<p>SFTP Service Specific Optional Fields</p>\n<ul>\n<li><p><strong>email</strong> - Comma separated list of emails (up to maximum of 3 emails) (String)</p>\n</li>\n<li><p><strong>generateNewKey</strong> - Generate new SSH key for the partner. Previous key will be permanently disabled. (Boolean)</p>\n</li>\n<li><p><strong>receivedMessageNotifications</strong> - Enable email notifications for received messages (Boolean)</p>\n</li>\n<li><p><strong>customExternalDirectories</strong> - Enable folder structure customizations to the external partner's folder structure. Enable this option only if you have enabled either <strong>removeMessageIdSubdirectory</strong> or <strong>addCustomSubdirectory</strong>. (Boolean | Default: false)</p>\n</li>\n</ul>\n<p>Following properties are only effective when <strong>generateNewKey</strong> sets to true;</p>\n<ul>\n<li><p><strong>privateKeyType</strong> - SFTP private key type; Required if <strong>generateNewKey</strong> sets to true. Allowed types 'PEM_PKCS1', 'PEM_PKCS8', 'PPK' (String).</p>\n</li>\n<li><p><strong>privateKeyPassword</strong> - Password for private key; Required if <strong>withPrivateKeyPassword</strong> sets to true (String)</p>\n</li>\n<li><p><strong>publicKey</strong> - Public key; Required if <strong>withExistingPublicKey</strong> sets to true (String)</p>\n</li>\n<li><p><strong>withExistingPublicKey</strong> - Use existing key pair public key (Boolean | Default: false)</p>\n</li>\n<li><p><strong>withPrivateKeyPassword</strong> - Set password for private key (Boolean)</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["partner"],"host":["api","mftgateway","com"],"query":[],"variable":[]}},"response":[{"id":"ae8aa055-1cb4-44e2-88ff-8f37ae9b2ea2","name":"Success Response - SFTP","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"apiToken"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"identifier\": \"partner_sftp_id\",\n    \"name\": \"Updated Partner Name\",\n    \"generateNewKey\": true,\n    \"privateKeyType\": \"PEM_PKCS8\",\n    \"withPrivateKeyPassword\": \"true\",\n    \"privateKeyPassword\": \"privateKeyPassword\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/partner?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["partner"],"query":[{"key":"service","value":"sftp"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","description":""},{"key":"Content-Length","value":"43","description":""},{"key":"Connection","value":"keep-alive","description":""},{"key":"Date","value":"Mar, 04 Oct 2022 06:42:28 GMT","description":""},{"key":"x-amzn-RequestId","value":"7aed8280-4716-46f4-9a1d-d85398dbe62d","description":""},{"key":"x-amzn-Remapped-content-length","value":"43","description":""},{"key":"x-amz-apigw-id","value":"Gq5K_GJOoAMFZyA=","description":""},{"key":"etag","value":"W/\"2b-vcY5zWlTrJKXmHigC05HSKQZ2Vg\"","description":""},{"key":"x-powered-by","value":"Express","description":""},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aa246-5a928b9745847a3133121a66;Sampled=0","description":""},{"key":"X-Cache","value":"Miss from cloudfront","description":""},{"key":"Via","value":"1.1 d454a4131cad7323027c4a71e9d4c5d1.cloudfront.net (CloudFront)","description":""},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1","description":""},{"key":"X-Amz-Cf-Id","value":"SgY7YXyT1zzOQ2565gSiLXTTKV3l3LRK1EfmrDppjh6NsStSufaHmQ==","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1377619253914274,\n    \"identifier\": \"partner_sftp_id\",\n    \"privateKey\": \"NEW_PRIVATE_KEY\",\n    \"privateKeyFormat\": \"PRIVATE_KEY_FORMAT\",\n    \"message\": \"Partner updated successfully\"\n}"},{"id":"f3f4a09c-1833-483d-aca0-7c63c87bb5e9","name":"Success Response - AS2","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"apiToken"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"identifier\": \"partner_as2_id\",\n    \"name\": \"New Partner Name\",\n    \"url\": \"https://updated.partner.com\",\n    \"encryptionCertificate\": \"<Base64 encoded encryption certificate>\",\n    \"encryptMessage\": false,\n    \"customHeaders\": [\n        {\n            \"headerName\": \"<existing-custom-header-name>\",\n            \"headerValue\": \"<existing-custom-header-value>\"\n        },\n        {\n            \"headerName\": \"<new-custom-header-name>\",\n            \"headerValue\": \"<new-custom-header-value>\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/partner?service=as2","protocol":"https","host":["api","mftgateway","com"],"path":["partner"],"query":[{"key":"service","value":"as2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 06:42:28 GMT"},{"key":"x-amzn-RequestId","value":"7aed8280-4716-46f4-9a1d-d85398dbe62c"},{"key":"x-amzn-Remapped-content-length","value":"43"},{"key":"x-amz-apigw-id","value":"Gq5K_GJOoAMFZyA="},{"key":"etag","value":"W/\"2b-vcY5zWlTrJKXmHigC05HSKQZ2Vg\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aa246-5a928b9745847a3133121a66;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 d454a4131cad7323027c4a71e9d4c5d1.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1"},{"key":"X-Amz-Cf-Id","value":"SgY7YXyT1zzOQ2565gSiLXTTKV3l3LRK1EfmrDppjh6NsStSufaHmQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Partner updated successfully\",\n    \"id\": \"partner_db_id\",\n    \"identifier\": \"partner_as2_id\"\n}"}],"_postman_id":"2527d920-2993-42c1-97c6-0bc253183227"},{"name":"Delete Partner","id":"f92c5c35-2f9d-43c6-957d-79fe7976bf86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":"https://api.mftgateway.com/partner/:identifier?service=as2|sftp","description":"<p>This endpoint can be used to permanently delete existing trading partner.</p>\n<hr />\n<p>Request Headers</p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<p>Mandatory Query parameter:</p>\n<ul>\n<li><strong>service</strong> - Which service type partner to be delete. Allowed values: 'as2', 'sftp' (String | Required)</li>\n</ul>\n<p>Optional Query parameter:</p>\n<ul>\n<li><strong>linkedStationIdentifier</strong> - The identifier of the station currently linked with the partner</li>\n</ul>\n<p>Mandatory Path variable:</p>\n<ul>\n<li><strong>identifier</strong> - Partner identifier to delete. (String)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["partner",":identifier"],"host":["api","mftgateway","com"],"query":[{"description":{"content":"<p>Service type; supported values as2 | sftp</p>\n","type":"text/plain"},"key":"service","value":"as2|sftp"},{"disabled":true,"description":{"content":"<p>The identifier of the station currently linked with the partner</p>\n","type":"text/plain"},"key":"linkedStationIdentifier","value":""}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"4bf69958-ad24-4b84-91a2-f5715181eee5","name":"Success Response - AS2","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":{"raw":"https://api.mftgateway.com/partner/partner_as2_id?service=as2","protocol":"https","host":["api","mftgateway","com"],"path":["partner","partner_as2_id"],"query":[{"key":"service","value":"as2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 06:42:28 GMT"},{"key":"x-amzn-RequestId","value":"7aed8280-4716-46f4-9a1d-d85398dbe62c"},{"key":"x-amzn-Remapped-content-length","value":"43"},{"key":"x-amz-apigw-id","value":"Gq5K_GJOoAMFZyA="},{"key":"etag","value":"W/\"2b-vcY5zWlTrJKXmHigC05HSKQZ2Vg\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aa246-5a928b9745847a3133121a66;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 d454a4131cad7323027c4a71e9d4c5d1.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1"},{"key":"X-Amz-Cf-Id","value":"SgY7YXyT1zzOQ2565gSiLXTTKV3l3LRK1EfmrDppjh6NsStSufaHmQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1410427347071793,\n    \"message\": \"Successfully deleted as2 partner with identifier partner_as2_id\"\n}"},{"id":"f163384f-ba40-46b9-b4b8-52d8a031c457","name":"Success Response - SFTP","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"url":{"raw":"https://api.mftgateway.com/partner/partner_sftp_id?service=sftp","protocol":"https","host":["api","mftgateway","com"],"path":["partner","partner_sftp_id"],"query":[{"key":"service","value":"sftp"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8","description":"","type":"text"},{"key":"Content-Length","value":"43","description":"","type":"text"},{"key":"Connection","value":"keep-alive","description":"","type":"text"},{"key":"Date","value":"Mar, 04 Oct 2022 06:42:28 GMT","description":"","type":"text"},{"key":"x-amzn-RequestId","value":"7aed8280-4716-46f4-9a1d-d85398dbe62d","description":"","type":"text"},{"key":"x-amzn-Remapped-content-length","value":"43","description":"","type":"text"},{"key":"x-amz-apigw-id","value":"Gq5K_GJOoAMFZyA=","description":"","type":"text"},{"key":"etag","value":"W/\"2b-vcY5zWlTrJKXmHigC05HSKQZ2Vg\"","description":"","type":"text"},{"key":"x-powered-by","value":"Express","description":"","type":"text"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aa246-5a928b9745847a3133121a66;Sampled=0","description":"","type":"text"},{"key":"X-Cache","value":"Miss from cloudfront","description":"","type":"text"},{"key":"Via","value":"1.1 d454a4131cad7323027c4a71e9d4c5d1.cloudfront.net (CloudFront)","description":"","type":"text"},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1","description":"","type":"text"},{"key":"X-Amz-Cf-Id","value":"SgY7YXyT1zzOQ2565gSiLXTTKV3l3LRK1EfmrDppjh6NsStSufaHmQ==","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1410427347071793,\n    \"message\": \"Successfully deleted sftp partner with identifier partner_sftp_id\"\n}"}],"_postman_id":"f92c5c35-2f9d-43c6-957d-79fe7976bf86"}],"id":"210c321c-97a2-4570-aa81-3cd8d44065fb","_postman_id":"210c321c-97a2-4570-aa81-3cd8d44065fb","description":""},{"name":"Station","item":[{"name":"List Stations","id":"078fa8db-60b5-4f3c-ab98-444b94645478","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"auth-token","type":"text"}],"url":"https://api.mftgateway.com/station","description":"<p>This endpoint can be used to list all available stations.</p>\n<hr />\n<p>Request Headers</p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token</li>\n</ul>\n<p><strong>Optional Query parameters:</strong></p>\n<ul>\n<li><p><strong>detailed</strong>​ - Show detailed information of stations.</p>\n</li>\n<li><p><strong>sortDir</strong>​ - Sort direction. Allowed values are <strong>​asc​</strong> and <strong>​desc​</strong>. Defaults to ​desc​.</p>\n</li>\n<li><p><strong>pageLength​</strong> - Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n</li>\n<li><p><strong>pageOffset</strong>​ - Page number. An integer value greater than or equal to zero is accepted. Default is zero.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["station"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed value: 'as2' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"},{"disabled":true,"description":{"content":"<p>Show detailed information of stations</p>\n","type":"text/plain"},"key":"detailed","value":"true"},{"disabled":true,"description":{"content":"<p>Sort direction of stations. supports asc, desc. default desc</p>\n","type":"text/plain"},"key":"sortDir","value":"asc"},{"disabled":true,"description":{"content":"<p>Length of a page. An integer value greater than or equal to 1 and less than or equal to 100 is accepted. Default is 10.</p>\n","type":"text/plain"},"key":"pageLength","value":"10"},{"disabled":true,"description":{"content":"<p>Page offset, supports non negative integer values, default 0</p>\n","type":"text/plain"},"key":"pageOffset","value":"0"}],"variable":[]}},"response":[{"id":"58353ed4-636b-43ba-a4fa-29df15efd703","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/station"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"70"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 12:10:20 GMT"},{"key":"x-amzn-RequestId","value":"da67a961-1bd2-4f98-bb0c-b5e6a444a22b"},{"key":"x-amzn-Remapped-content-length","value":"70"},{"key":"x-amz-apigw-id","value":"GrpOjGMLoAMFwPA="},{"key":"etag","value":"W/\"46-zKErMAW2Lt1f8IRoqsqpjNn3/AU\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aef29-0691ea913e4f22c2218ed572;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b0b2bb3b21ed20feab951c611319321f.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN52-C2"},{"key":"X-Amz-Cf-Id","value":"ycUVbK0THrGgb7wVhGopEd_J2Il_4Phnmgs1QJKlqD59PYXMviFLpw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"stationCount\": 2,\n    \"stationType\": \"as2\",\n    \"stations\": [\n        {\n            \"name\": \"station-name-1\",\n            \"identifier\": \"station-identifier-1\"\n        },\n        {\n            \"name\": \"station-name-2\",\n            \"identifier\": \"station-identifier-2\"\n        }\n    ],\n    \"hasMoreStations\": false,\n    \"message\": \"Stations retrieved successfully\"\n}"}],"_postman_id":"078fa8db-60b5-4f3c-ab98-444b94645478"},{"name":"Get Station By Identifier","id":"f9fcc4fa-2924-41dc-8c97-6d3921686184","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"auth-token","type":"text"}],"url":"https://api.mftgateway.com/station/:identifier","description":"<p>This endpoint can be used to retrieve a single station by its identifier.</p>\n<hr />\n<p>Request Headers</p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token</li>\n</ul>\n<p>Mandatory Path variable:</p>\n<ul>\n<li><strong>identifier</strong> - Station identifier (String)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["station",":identifier"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed value: 'as2' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"c33387da-0d7e-4204-bc10-2f97e7c1987c","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/station/:identifier","protocol":"https","host":["api","mftgateway","com"],"path":["station",":identifier"],"variable":[{"key":"identifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"70"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 11:58:52 GMT"},{"key":"x-amzn-RequestId","value":"b00d9913-ede4-4012-ba08-0a62d157dd0c"},{"key":"x-amzn-Remapped-content-length","value":"70"},{"key":"x-amz-apigw-id","value":"GrngVFYWoAMFa2Q="},{"key":"etag","value":"W/\"46-4U6McMR55nj0knxYOaIFEgq+TaI\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aec68-3587182b40e76d161221d6e8;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 08244b1866fe32276ce5a76c3d8b5ec7.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN52-C2"},{"key":"X-Amz-Cf-Id","value":"_QPlxtkzSY0pi4LDyRb5kDA6JaQtUpC1KDqo41os1fKQTcRR29yv-Q=="}],"cookie":[],"responseTime":null,"body":"{\r\n    \"certificateAlias\": \"739d9f26-74ef-43bc-bf44-c0e09489179b\",\r\n    \"certificateCN\": \"asd\",\r\n    \"certificatePassword\": \"asd\",\r\n    \"createdOn\": 1705571042026,\r\n    \"defaultStation\": false,\r\n    \"email\": \"email@email.com\",\r\n    \"failureMDNMessageNotifications\": false,\r\n    \"failureMessageNotifications\": true,\r\n    \"id\": 1277342420261143,\r\n    \"identifier\": \"test-station-identifier\",\r\n    \"incompleteMessageNotifications\": false,\r\n    \"largePayloadSupport\": false,\r\n    \"lastModified\": 1705571045776,\r\n    \"mockStation\": false,\r\n    \"name\": \"test-station\",\r\n    \"receivedMessageNotifications\": false\r\n}"}],"_postman_id":"f9fcc4fa-2924-41dc-8c97-6d3921686184"},{"name":"Get Partner Configuration","id":"2843df14-8a6b-4739-9e25-7e9c699fa82e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"auth-token"}],"url":"https://api.mftgateway.com/station/:identifier/config","description":"<p>This endpoint can be used to retrieve partner configuration of AS2 station by its identifier.</p>\n<p>Request Headers</p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token</li>\n</ul>\n<p>Mandatory Path variable:</p>\n<ul>\n<li><strong>identifier</strong> - Station identifier (String)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["station",":identifier","config"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed value: 'as2' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"2533bd2e-5061-4c09-b9dc-e4c41034b684","name":"Success Response","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"apiToken"}],"url":{"raw":"https://api.mftgateway.com/station/:identifier/config?service=as2","protocol":"https","host":["api","mftgateway","com"],"path":["station",":identifier","config"],"query":[{"key":"service","value":"as2"}],"variable":[{"key":"identifier","value":"test_station"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"stationName\": \"Test Station\",\r\n    \"stationAS2Identifier\": \"test_station\",\r\n    \"receiverEndpointHttp\": \"http://service.dev.mftgateway.com/receiver\",\r\n    \"receiverEndpointHttps\": \"https://service.dev.mftgateway.com/receiver\",\r\n    \"inboundStaticIp\": null,\r\n    \"outboundStaticIp\": null,\r\n    \"publicCertificate\": \"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlEcERDQ0FveWdBd0lCQWdJR0FaSFZuRWwrTUEwR0NTcUdTSWIzRFFFQkN3VUFNR0F4RlRBVEJnTlZCQU1NDQpERlJsYzNRZ1UzUmhkR2x2YmpFTk1Bc0dBMVVFQ3d3RVRtOXVaVEVOTUFzR0ExVUVDZ3dFVG05dVpURU5NQXNHDQpBMVVFQnd3RVRtOXVaVEVOTUFzR0ExVUVDQXdFVG05dVpURUxNQWtHQTFVRUJoTUNWVk13SGhjTk1qUXdPVEE1DQpNRGN3TnpVMVdoY05Namt3T1RBNE1EY3dOelUxV2pCZ01SVXdFd1lEVlFRRERBeFVaWE4wSUZOMFlYUnBiMjR4DQpEVEFMQmdOVkJBc01CRTV2Ym1VeERUQUxCZ05WQkFvTUJFNXZibVV4RFRBTEJnTlZCQWNNQkU1dmJtVXhEVEFMDQpCZ05WQkFnTUJFNXZibVV4Q3pBSkJnTlZCQVlUQWxWVE1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBDQpNSUlCQ2dLQ0FRRUFuZmpPVGtnOHJGb0ZTY1pSbHMydzNsRkpOa1BnUGhwb1JoaHhBaTBlaVYxdVRnbWNXMUtiDQpNSm1YZE5EWDlRUTBUK1FydVBKZlRoVEx5eklSL0FlSkNIUU1ueWFHRFM4MlRRRldWTUVtUEprSEsxZHQ0VUw1DQpYRGNqWHJ6bmk0dEhwYXYwaUc1T3BEalpwMjBqWHhtNUtsUExGSFdEYm0vTEg4N1VNcjY1SG5SaEM3S01Vd2lPDQp5TXYzdEREWUpTUVFMdDNVczB2ZzZPYlFHMkw2NU9mcnM2VDBQZzF4bHNIM1VRNjdMYVlwYkcyS0hwTkdCU2IzDQpiTDhSYnE5OTQ1MGhWaEkvOXBUeGVVWVdmR1NTbGJRemNRYkpJeFJBUi80VVl0VWdrejdyWEZVQ1dCT0ExM0I3DQpxQmczSUlVYUROWUVaZVQ4K3ZWSEFpM0tORy9lSkd0MG5RSURBUUFCbzJRd1lqQWRCZ05WSFE0RUZnUVViUm5DDQpPZXV0RzFvQkRZcXdrampiR0d3UWhTNHdEd1lEVlIwVEFRSC9CQVV3QXdFQi96QUxCZ05WSFE4RUJBTUNBYll3DQpJd1lEVlIwbEJCd3dHZ1lJS3dZQkJRVUhBd0VHQ0NzR0FRVUZCd01DQmdSVkhTVUFNQTBHQ1NxR1NJYjNEUUVCDQpDd1VBQTRJQkFRQmoxR0hwY01qdFJvYnV0cTdiVGlIRlZjVXViWmo5V21tMmZaUWZyRm9NclJ0enVzNlBObEEzDQpkVVZWeWMzWHF5ZzRpTUt3UXhvcHdWcTFxd1lMb1IwU3VROG9yZnVYZFZIckRyOVVUNVZOYXNNZitLRStkSlhDDQpuMS9kSW1FMHZCeWc1eUVnT3NjbWhBdmd1T0pRN09vR2xPNzUvblhqS3N0TG54Q0NFYmpMS0hUNWdPNGhjc0pHDQpqd3B3aVBCVTFZNzEwa25tak5ENnFLMUdxeTZjNGpzNlpJdnM1SmZsV1k5RzFkRXRJUlA1YkJlK0FSYVo1VHhZDQpIWVdOTmwxb3A2QXNqOWx2eFluZmcwY1lrdlpaVDZ0cjZXT3BwWHAzZXE4aXIwb3FENC93TmJXbXA2UGNqTnhKDQphWWxIZTZwdXVDcEU0WEVNbGJ4UjVrMmRjd1dlMi9ydA0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ0K\"\r\n}"}],"_postman_id":"2843df14-8a6b-4739-9e25-7e9c699fa82e"},{"name":"Create Station","id":"14438dad-244b-4154-8845-aa726515e5ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"auth-token","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Station\",\n    \"identifier\": \"station\",\n    \"email\": \"email1@email.com,email3@email.com,email3@email.com\",\n    \"certificate\": {\n        \"type\": \"NEW_SELF_SIGN_CERTIFICATE\",\n        \"commonName\": \"Certificate CN\",\n        \"password\": \"private-key-password\",\n        \"keyLength\": 2048,\n        \"validity\": 5,\n        \"orgUnit\": \"Organization Unit\",\n        \"orgName\": \"Organization Name\",\n        \"city\": \"City\",\n        \"state\": \"State\",\n        \"country\": \"US\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/station","description":"<p>This endpoint can be used to create a new station.</p>\n<hr />\n<h3 id=\"request-headers\">Request Headers</h3>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<p>Should be a valid JSON with following fields.</p>\n<p>Mandatory fields</p>\n<ul>\n<li><p><strong>name</strong> - Station name (String).</p>\n</li>\n<li><p><strong>identifier</strong> - Station AS2 identifier (String).</p>\n</li>\n<li><p><strong>email</strong> - Comma separated list of emails (up to maximum of 3 emails) (String).</p>\n</li>\n<li><p><strong>certificate</strong> - nested JSON object with station identity certificate configuration - refer <strong>Station Certificate</strong> section below for details. (object)</p>\n</li>\n</ul>\n<p>Optional fields</p>\n<ul>\n<li><p><strong>description</strong> - Description of the station (String)</p>\n</li>\n<li><p><strong>receivedMessageNotifications</strong> - Enable email notifications for received messages (Boolean | Default: false)</p>\n</li>\n<li><p><strong>failedMessageNotifications</strong> - Enable email notifications for message send failures (Boolean | Default: true)</p>\n</li>\n<li><p><strong>incompleteMessageNotifications -</strong> Enable email notifications for messages marked as incomplete (Boolean | Default: false)</p>\n</li>\n<li><p><strong>failedMdnNotifications -</strong> Enable email notifications for MDN related issues (Boolean | Default: false)</p>\n</li>\n<li><p><strong>largePayloadSupport</strong> - Receive messages with payload size larger than 3MB with static IP address (Business/Enterprise tier feature) (Boolean | Default: false)</p>\n</li>\n</ul>\n<p>Station Certificate</p>\n<ul>\n<li><strong>type</strong> - Certificate configuration type. (Required) Allowed values: 'NEW_SELF_SIGN_CERTIFICATE', 'FROM_KEYSTORE', 'FROM_CERTIFICATE_STORE'</li>\n</ul>\n<p>Certificate type: NEW_SELF_SIGN_CERTIFICATE - Generates a new self signed certificate for the station</p>\n<ul>\n<li><p><strong>commonName</strong> - Certificate Common Name (String | Required)</p>\n</li>\n<li><p><strong>password</strong> - Private key password (String | Required)</p>\n</li>\n<li><p><strong>keyLength</strong> - Certificate key length (Number | Default: 2048) Allowed values: 1024, 2048, 4096 (If not specified, the default key length will be applied)</p>\n</li>\n<li><p><strong>validity</strong> - Certificate validity in years (Number | Default: 5 years) Allowed values: 1, 2, 5, 8, 10</p>\n</li>\n<li><p><strong>orgUnit</strong> - Organization unit (String | Optional)</p>\n</li>\n<li><p><strong>orgName</strong> - Organization name (String | Optional)</p>\n</li>\n<li><p><strong>city</strong> - City (String | Optional)</p>\n</li>\n<li><p><strong>state</strong> - State code ISO 3166-1 alpha-2 (String | Optional)</p>\n</li>\n<li><p><strong>country</strong> - Country code ISO 3166-1 alpha-2 (String | Optional)</p>\n</li>\n</ul>\n<p>Certificate type: FROM_KEYSTORE</p>\n<ul>\n<li><p><strong>keystore</strong> - S3 key of the existing keystore in your MFT Gateway S3 bucket (String | Required)</p>\n</li>\n<li><p><strong>keystorePassword</strong> - Keystore password (String | Required)</p>\n</li>\n<li><p><strong>alias</strong> - Existing certificate alias (String | Required)</p>\n</li>\n<li><p><strong>privateKeyPassword</strong> - Existing private key password (String | Required)</p>\n</li>\n<li><p><strong>newPrivateKeyPassword</strong> - New private key password. If not provided, the existing private key password will be used as new password (String | Optional)</p>\n</li>\n</ul>\n<p>Certificate type: FROM_CERTIFICATE_STORE</p>\n<ul>\n<li><strong>alias</strong> - <strong>Station</strong> type certificate alias (String | Required)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["station"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed value: 'as2' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[]}},"response":[{"id":"2db0ddcf-b13b-4f43-803a-3a2e5cf3ddf5","name":"Success Response - With Self Signed Certificate","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Station With Self Signed Certificate\",\n    \"identifier\": \"station_with_self_signed_certificate\",\n    \"email\": \"email1@email.com,email3@email.com,email3@email.com\",\n    \"certificate\": {\n        \"type\": \"NEW_SELF_SIGN_CERTIFICATE\",\n        \"commonName\": \"Certificate CN\",\n        \"password\": \"private-key-password\",\n        \"keyLength\": 2048,\n        \"validity\": 5,\n        \"orgUnit\": \"Organization Unit\",\n        \"orgName\": \"Organization Name\",\n        \"city\": \"City\",\n        \"state\": \"State\",\n        \"country\": \"US\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/station","protocol":"https","host":["api","mftgateway","com"],"path":["station"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"70"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 11:58:52 GMT"},{"key":"x-amzn-RequestId","value":"b00d9913-ede4-4012-ba08-0a62d157dd0c"},{"key":"x-amzn-Remapped-content-length","value":"70"},{"key":"x-amz-apigw-id","value":"GrngVFYWoAMFa2Q="},{"key":"etag","value":"W/\"46-4U6McMR55nj0knxYOaIFEgq+TaI\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aec68-3587182b40e76d161221d6e8;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 08244b1866fe32276ce5a76c3d8b5ec7.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN52-C2"},{"key":"X-Amz-Cf-Id","value":"_QPlxtkzSY0pi4LDyRb5kDA6JaQtUpC1KDqo41os1fKQTcRR29yv-Q=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1463909584377727,\n    \"identifier\": \"station_with_self_signed_certificate\",\n    \"message\": \"Station created successfully\"\n}"},{"id":"524a9b42-6529-4d13-a3c6-c7f301234def","name":"Success Response - With Existing Keystore ","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Station With Certificate From Keystore\",\n    \"identifier\": \"station_with_certificate_from_keystore\",\n    \"email\": \"email1@email.com,email3@email.com,email3@email.com\",\n    \"certificate\": {\n        \"type\": \"FROM_KEYSTORE\",\n        \"keystore\": \"keystore/path/keystore.jks\",\n        \"alias\": \"private-key-alias\",\n        \"keystorePassword\": \"keystore-password\",\n        \"privateKeyPassword\": \"existing-private-key-password\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/station"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"70"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 12:03:26 GMT"},{"key":"x-amzn-RequestId","value":"30d3dd56-76c6-4733-9db4-e82574aa1139"},{"key":"x-amzn-Remapped-content-length","value":"70"},{"key":"x-amz-apigw-id","value":"GroN7EFZIAMF5Rg="},{"key":"etag","value":"W/\"46-hYWaWelwmcoGqKVBSlszdyGdSdI\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aed8c-6c9236d2136ec2713fbe9c0d;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 2db56a73a9d0486b15ff1dc828be02a7.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN52-C2"},{"key":"X-Amz-Cf-Id","value":"uYbBTnG3PJPPcqNrB5hqOi30YLNHUdYymJm3pgXn-9Qslb71NapeYQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1463909584377727,\n    \"message\": \"Station created successfully\",\n    \"identifier\": \"station_with_certificate_from_keystore\"\n}"},{"id":"fc8c44cf-7e2c-4c3e-a1bc-32eb5c82cb1c","name":"Success Response - With Existing MFTG Identity Certificate","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Station With Existing Certificate From MFTG Certificate Store\",\n    \"identifier\": \"station_with_mftg_cert_store\",\n    \"email\": \"email1@email.com,email3@email.com,email3@email.com\",\n    \"certificate\": {\n        \"type\": \"FROM_CERTIFICATE_STORE\",\n        \"alias\": \"mftg_identitity_cert_store\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/station"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"70"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 12:10:20 GMT"},{"key":"x-amzn-RequestId","value":"da67a961-1bd2-4f98-bb0c-b5e6a444a22b"},{"key":"x-amzn-Remapped-content-length","value":"70"},{"key":"x-amz-apigw-id","value":"GrpOjGMLoAMFwPA="},{"key":"etag","value":"W/\"46-zKErMAW2Lt1f8IRoqsqpjNn3/AU\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aef29-0691ea913e4f22c2218ed572;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b0b2bb3b21ed20feab951c611319321f.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN52-C2"},{"key":"X-Amz-Cf-Id","value":"ycUVbK0THrGgb7wVhGopEd_J2Il_4Phnmgs1QJKlqD59PYXMviFLpw=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1463909584377727,\n    \"message\": \"Station created successfully\",\n    \"identifier\": \"station_with_mftg_cert_store\"\n}"},{"id":"28d5cb38-33d0-41fa-aaf9-5bb4464fd297","name":"Station AS2 Identifier Not Available Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Partner Name\",\n    \"identifier\": \"partner_as2_id\",\n    \"url\": \"https://partner.com\",\n    \"encryptionCertificate\": \"<Base64 encoded encryption certificate>\",\n    \"encryptMessage\": true,\n    \"encryptionAlgorithm\": \"DES_EDE3_CBC\",\n    \"signMessage\": true,\n    \"signatureAlgorithm\": \"SHA1\",\n    \"httpsCertificate\": \"<Base64 encoded SSL certificate>\",\n    \"httpsChainCertificates\": [\n        \"<Base64 encoded SSL chain certificate one>\",\n        \"<Base64 encoded SSL chain certificate two>\"\n    ],\n    \"customHeaders\": [\n        {\n            \"headerName\": \"<custom-header-name>\",\n            \"headerValue\": \"<custom-header-value>\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/station"},"status":"Unprocessable","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 06:42:28 GMT"},{"key":"x-amzn-RequestId","value":"7aed8280-4716-46f4-9a1d-d85398dbe62c"},{"key":"x-amzn-Remapped-content-length","value":"43"},{"key":"x-amz-apigw-id","value":"Gq5K_GJOoAMFZyA="},{"key":"etag","value":"W/\"2b-vcY5zWlTrJKXmHigC05HSKQZ2Vg\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aa246-5a928b9745847a3133121a66;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 d454a4131cad7323027c4a71e9d4c5d1.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN2-C1"},{"key":"X-Amz-Cf-Id","value":"SgY7YXyT1zzOQ2565gSiLXTTKV3l3LRK1EfmrDppjh6NsStSufaHmQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User input validation failed. Please try again\",\n    \"errors\": [\n        {\n            \"identifier\": \"Station already exists with AS2 identifier: station_as2_id\"\n        }\n    ]\n}"}],"_postman_id":"14438dad-244b-4154-8845-aa726515e5ac"},{"name":"Add Station on EDIG Integration","id":"33fdf1fd-b355-47cf-bd73-59d99f5e9746","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"auth-token"}],"url":"https://api.mftgateway.com/station/:identifier/edig","description":"<p>This endpoint can be used to add a station on EDI Generator integration by it's identifier.</p>\n<p>Request Headers</p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token</li>\n</ul>\n<p>Mandatory Path variable:</p>\n<ul>\n<li><strong>identifier</strong> - Station identifier (String)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["station",":identifier","edig"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed value: 'as2' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"27ea2697-65da-47bd-8914-d38a6173dd50","name":"Success Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"apiToken"}],"url":{"raw":"https://api.mftgateway.com/station/:identifier/edig","protocol":"https","host":["api","mftgateway","com"],"path":["station",":identifier","edig"],"query":[{"key":"service","value":"as2","disabled":true}],"variable":[{"key":"identifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"Content-Length","value":"89","description":""},{"key":"Connection","value":"keep-alive","description":""},{"key":"Date","value":"Thu, 05 Sep 2024 11:48:48 GMT","description":""},{"key":"X-Amzn-Trace-Id","value":"Root=1-66d99a9c-637b4e884786ae104072247b;Parent=7d0055db7f3f16f0;Sampled=0;lineage=2:29314155:0","description":""},{"key":"x-amzn-RequestId","value":"c9dc25ee-bbe6-4368-87c5-7e009d39ba7a","description":""},{"key":"x-amzn-Remapped-content-length","value":"89","description":""},{"key":"x-amz-apigw-id","value":"doUYhGxXIAMEqqQ=","description":""},{"key":"etag","value":"W/\"59-Rzxglp7ZJ8HNacxRcMajXdzMNNI\"","description":""},{"key":"x-powered-by","value":"Express","description":""},{"key":"X-Cache","value":"Miss from cloudfront","description":""},{"key":"Via","value":"1.1 eb7a90256672efb0a2b4912bbbba4ea4.cloudfront.net (CloudFront)","description":""},{"key":"X-Amz-Cf-Pop","value":"SIN2-P5","description":""},{"key":"X-Amz-Cf-Id","value":"ECZl8pILA7ItiyEL1xfjInM-vzAljz87N_TO7CQ5wXizppmlF9FZiA==","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully added station with identifier: test-station on EDIG integration\"\n}"}],"_postman_id":"33fdf1fd-b355-47cf-bd73-59d99f5e9746"},{"name":"Add Station on Webhook Integration","id":"2c4e30df-7d9e-4911-899a-cb585748ad90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"auth-token","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"webhookUrl\": \"https://example.com:8080/webhook\",\r\n    \"replaceIfExists\": false,\r\n    \"activateIfDisabled\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/station/:identifier/webhook","description":"<p>This endpoint can be used to add a single station (by its identifier) or all stations to the webhook integration.</p>\n<p>Request Headers</p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token</li>\n</ul>\n<p>Mandatory Path variable:</p>\n<ul>\n<li><strong>identifier</strong> - Station identifier (String)</li>\n</ul>\n<p>Use the value <strong>\"all\"</strong> to enable webhook integration for all stations.</p>\n<p>Request Body</p>\n<p>Should be a valid JSON with following fields.</p>\n<p>Mandatory fields</p>\n<ul>\n<li><strong>webhookUrl</strong> - The endpoint URL where webhook notifications will be sent (String).</li>\n</ul>\n<p>Optional fields</p>\n<ul>\n<li><p><strong>replaceIfExists</strong> - To replace an existing webhook configuration if one already exists for the same station (Boolean | Default: false).</p>\n</li>\n<li><p><strong>activateIfDisabled</strong> - To reactivate an existing webhook configuration if it is currently disabled (Boolean | Default: false). This option only takes effect when <strong>replaceIfExists</strong> is set to <strong>true</strong>.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["station",":identifier","webhook"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed value: 'as2' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"b5396709-ba0c-4dc1-9243-ac2ae5847bc8","name":"Success Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"webhookUrl\": \"https://example.com:8080/webhook\",\r\n    \"replaceIfExists\": false,\r\n    \"activateIfDisabled\": false\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/station/:identifier/webhook","protocol":"https","host":["api","mftgateway","com"],"path":["station",":identifier","webhook"],"query":[{"key":"service","value":"as2","description":"Allowed value: 'as2' (Default: as2)","disabled":true}],"variable":[{"key":"identifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Successfully added station with identifier: test-station-identifier on webhook integration\"\r\n}"},{"id":"cdc5dbdd-3445-48ad-ba92-fa2d478a7bd9","name":"Station Not Found","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"webhookUrl\": \"https://example.com:8080/webhook\",\r\n    \"replaceIfExists\": false,\r\n    \"activateIfDisabled\": false\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/station/:identifier/webhook","protocol":"https","host":["api","mftgateway","com"],"path":["station",":identifier","webhook"],"query":[{"key":"service","value":"as2","description":"Allowed value: 'as2' (Default: as2)","disabled":true}],"variable":[{"key":"identifier","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Unable to find station with identifier: test-station-identifier\"\r\n}"},{"id":"4c8fb832-66be-4272-9477-0f753d4a753a","name":"Webhook Integration Not Enabled","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"webhookUrl\": \"https://example.com:8080/webhook\",\r\n    \"replaceIfExists\": false,\r\n    \"activateIfDisabled\": false\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/station/:identifier/webhook","protocol":"https","host":["api","mftgateway","com"],"path":["station",":identifier","webhook"],"query":[{"key":"service","value":"as2","description":"Allowed value: 'as2' (Default: as2)","disabled":true}],"variable":[{"key":"identifier","value":""}]}},"status":"Unprocessable Content","code":422,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Webhook Integration is not enabled\"\r\n}"}],"_postman_id":"2c4e30df-7d9e-4911-899a-cb585748ad90"},{"name":"Update Station","id":"b6fa208b-dd5e-4cb1-98a0-88a60d8a82eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{auth_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Station Name Updated\",\r\n    \"identifier\": \"station\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/station","description":"<p>This endpoint can be used to update the existing station.</p>\n<hr />\n<p>Request Headers</p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token.</li>\n</ul>\n<p>Request Body:</p>\n<p>Should be a valid JSON with following fields. Specify the fields you want to be updated in the request body. Non specified fields will not get affected.</p>\n<p>Common Mandatory fields (This fields must be specified)</p>\n<ul>\n<li><strong>identifier</strong> - Station identifier (String | Required).</li>\n</ul>\n<p>Common Optional fields</p>\n<ul>\n<li><p><strong>name</strong> - Station name (String).</p>\n</li>\n<li><p><strong>email</strong> - Comma separated list of emails (up to maximum of 3 emails) (String).</p>\n</li>\n</ul>\n<blockquote>\n<p>Fields Associated with Advanced Options </p>\n</blockquote>\n<ul>\n<li><p><strong>receivedMessageNotifications</strong> - Enable email notifications for received messages (Boolean | Default: false)</p>\n</li>\n<li><p><strong>failedMessageNotifications</strong> - Enable email notifications for message send failures (Boolean | Default: true)</p>\n</li>\n<li><p><strong>incompleteMessageNotifications</strong> - Enable email notifications for messages marked as incomplete (Boolean | Default: false)</p>\n</li>\n<li><p><strong>failedMdnNotifications</strong> - Enable email notifications for MDN related issues (Boolean | Default: false)</p>\n</li>\n<li><p><strong>largePayloadSupport</strong> - Receive messages with payload size larger than 3MB with static IP address (Business/Enterprise tier feature) (Boolean | Default: false)</p>\n</li>\n<li><p><strong>description</strong> - Station description (String).</p>\n</li>\n<li><p><strong>isDefaultStation -</strong> Set the station as default (Boolean | Default: false)</p>\n</li>\n</ul>\n<blockquote>\n<p>Fields Associated with Change Station Certificate </p>\n</blockquote>\n<ul>\n<li><strong>certificate</strong> - nested JSON object with station identity certificate configuration - refer <strong>Station Certificate</strong> section below for details. (object)</li>\n</ul>\n<p>Station Certificate</p>\n<ul>\n<li><p><strong>type</strong> - Certificate configuration type. (Required) Allowed values: 'FROM_CERTIFICATE_STORE'</p>\n</li>\n<li><p><strong>alias</strong> - <strong>Station</strong> type certificate alias (String | Required)</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["station"],"host":["api","mftgateway","com"],"query":[],"variable":[]}},"response":[{"id":"16a980a1-c1c2-4694-a9e0-e6e8420c936b","name":"Success Response","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Station Name Updated\",\r\n    \"identifier\": \"station_with_self_signed_certificate\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.mftgateway.com/station"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"26"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Tue, 03 Feb 2026 07:16:48 GMT"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"x-amzn-RequestId","value":"6520f43d-545b-40ab-902d-52dfe2f1f234"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token"},{"key":"x-amzn-ErrorType","value":"UnauthorizedException"},{"key":"x-amz-apigw-id","value":"YMYTKEkMIAMEigg="},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 98ea96628235c7f4d1257c7521fc0a14.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"IAD89-P3"},{"key":"X-Amz-Cf-Id","value":"txNCaf-_VsW4XN8yIVrifJ8krBk2e-tgSuCr9X4s29MClV2NnP3q0Q=="}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": 1463909584377727,\n    \"identifier\": \"station_with_self_signed_certificate\",\n    \"message\": \"Station updated successfully\"\n}"}],"_postman_id":"b6fa208b-dd5e-4cb1-98a0-88a60d8a82eb"},{"name":"Delete Station","id":"62830b86-fdb3-43c8-8fd3-13d45b63c524","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"auth-token","type":"text"}],"url":"https://api.mftgateway.com/station/:identifier","description":"<p>This endpoint can be used to delete a station by its identifier.</p>\n<hr />\n<p>Request Headers</p>\n<ul>\n<li><strong>Authorization</strong> - Authorization header with auth token</li>\n</ul>\n<p>Mandatory Path variable:</p>\n<ul>\n<li><strong>identifier</strong> - Station identifier (String)</li>\n</ul>\n<p>Optional Query Parameter:</p>\n<ul>\n<li><strong>forceDelete</strong> - Use this to force delete a linked station (Boolean)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["station",":identifier"],"host":["api","mftgateway","com"],"query":[{"disabled":true,"description":{"content":"<p>Allowed value: 'as2' (Default: as2)</p>\n","type":"text/plain"},"key":"service","value":"as2"},{"disabled":true,"description":{"content":"<p>Use this to force delete a linked station. Defaults to true</p>\n","type":"text/plain"},"key":"forceDelete","value":"true"}],"variable":[{"type":"any","value":"","key":"identifier"}]}},"response":[{"id":"2cc87daf-b161-42df-a4b4-15b709ad2531","name":"Success Response","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"apiToken","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.mftgateway.com/station/:identifier","protocol":"https","host":["api","mftgateway","com"],"path":["station",":identifier"],"variable":[{"key":"identifier","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"70"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Mon, 04 Oct 2021 11:58:52 GMT"},{"key":"x-amzn-RequestId","value":"b00d9913-ede4-4012-ba08-0a62d157dd0c"},{"key":"x-amzn-Remapped-content-length","value":"70"},{"key":"x-amz-apigw-id","value":"GrngVFYWoAMFa2Q="},{"key":"etag","value":"W/\"46-4U6McMR55nj0knxYOaIFEgq+TaI\""},{"key":"x-powered-by","value":"Express"},{"key":"X-Amzn-Trace-Id","value":"Root=1-615aec68-3587182b40e76d161221d6e8;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 08244b1866fe32276ce5a76c3d8b5ec7.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"SIN52-C2"},{"key":"X-Amz-Cf-Id","value":"_QPlxtkzSY0pi4LDyRb5kDA6JaQtUpC1KDqo41os1fKQTcRR29yv-Q=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1410427347071793,\n    \"message\": \"Successfully deleted as2 station with identifier; test-station\"\n}"}],"_postman_id":"62830b86-fdb3-43c8-8fd3-13d45b63c524"}],"id":"db1e1ab0-f288-4012-bf2d-337f8781325f","_postman_id":"db1e1ab0-f288-4012-bf2d-337f8781325f","description":""}],"event":[{"listen":"prerequest","script":{"id":"a6c9fbc3-3d4f-4805-83a1-68a747721228","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5120cba9-ed55-4f8b-9b31-6e733f4006cd","type":"text/javascript","exec":[""]}}],"variable":[{"id":"e3e368d1-95e1-4c6d-8ba1-ad0c16e2a437","key":"baseURL","value":""}]}