{ "opencollection": "1.0.0", "info": { "name": "Management Applications Email Templates API", "version": "1" }, "items": [ { "info": { "name": "Email Templates", "type": "folder" }, "items": [ { "info": { "name": "Get Email Templates", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/~/emails/templates", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "cohort_id", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get Email Templates" }, { "info": { "name": "Create New Email Template", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/~/emails/templates", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create New Email Template" }, { "info": { "name": "Get Email Template", "type": "http" }, "http": { "method": "GET", "url": "https://api.moesif.com/v1/~/emails/templates/:id", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get Email Template" }, { "info": { "name": "Update an Email Template", "type": "http" }, "http": { "method": "POST", "url": "https://api.moesif.com/v1/~/emails/templates/:id", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update an Email Template" }, { "info": { "name": "Delete Email Template", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.moesif.com/v1/~/emails/templates/:id", "params": [ { "name": "orgId", "value": "", "type": "path" }, { "name": "app_id", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "https://api.moesif.com/v1/:orgId/oauth/access_tokens", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete Email Template" } ] } ], "bundled": true }