{ "opencollection": "1.0.0", "info": { "name": "AhaSend API v2 Accounts SMTP Credentials API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "SMTP Credentials", "type": "folder" }, "items": [ { "info": { "name": "AhaSend Get SMTP Credentials", "type": "http" }, "http": { "method": "GET", "url": "https://api.ahasend.com/v2/accounts/:account_id/smtp-credentials", "params": [ { "name": "account_id", "value": "500123", "type": "path", "description": "Account ID" }, { "name": "limit", "value": "1", "type": "query", "description": "Maximum number of items to return (1-100)" }, { "name": "after", "value": "example_value", "type": "query", "description": "Pagination cursor for the next page. Provide the value provided in `next_cursor` from the response." }, { "name": "before", "value": "example_value", "type": "query", "description": "Pagination cursor for the previous page." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a list of SMTP credentials for the account" }, { "info": { "name": "AhaSend Create SMTP Credential", "type": "http" }, "http": { "method": "POST", "url": "https://api.ahasend.com/v2/accounts/:account_id/smtp-credentials", "headers": [ { "name": "Idempotency-Key", "value": "user-12345-create-domain-20240101" } ], "params": [ { "name": "account_id", "value": "500123", "type": "path", "description": "Account ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a new SMTP credential for SMTP authentication" }, { "info": { "name": "AhaSend Get SMTP Credential", "type": "http" }, "http": { "method": "GET", "url": "https://api.ahasend.com/v2/accounts/:account_id/smtp-credentials/:smtp_credential_id", "params": [ { "name": "account_id", "value": "500123", "type": "path", "description": "Account ID" }, { "name": "smtp_credential_id", "value": "500123", "type": "path", "description": "SMTP Credential ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a specific SMTP credential by ID" }, { "info": { "name": "AhaSend Delete SMTP Credential", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.ahasend.com/v2/accounts/:account_id/smtp-credentials/:smtp_credential_id", "params": [ { "name": "account_id", "value": "500123", "type": "path", "description": "Account ID" }, { "name": "smtp_credential_id", "value": "500123", "type": "path", "description": "SMTP Credential ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deletes an SMTP credential" } ] } ], "bundled": true }