{ "opencollection": "1.0.0", "info": { "name": "Provider callbacks", "version": "0.0.1" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://smsemarsys.accounts.ondemand.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Delivery Reports", "type": "folder" }, "items": [ { "info": { "name": "Delivery reports callback", "type": "http" }, "http": { "method": "POST", "url": "https://api.emarsys.net/sms/partner/v1/clients/:clientId/deliveryReports", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://smsemarsys.accounts.ondemand.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delivery reports callback" } ] }, { "info": { "name": "inbound-messages", "type": "folder" }, "items": [ { "info": { "name": "Inbound messages callback", "type": "http" }, "http": { "method": "POST", "url": "https://api.emarsys.net/sms/partner/v1/clients/:clientId/inboundMessages", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://smsemarsys.accounts.ondemand.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Inbound messages callback" } ] } ], "bundled": true }