{ "opencollection": "1.0.0", "info": { "name": "AhaSend API v2 Accounts Routes API", "version": "2.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Routes", "type": "folder" }, "items": [ { "info": { "name": "AhaSend Get Routes", "type": "http" }, "http": { "method": "GET", "url": "https://api.ahasend.com/v2/accounts/:account_id/routes", "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 routes for the account" }, { "info": { "name": "AhaSend Create Route", "type": "http" }, "http": { "method": "POST", "url": "https://api.ahasend.com/v2/accounts/:account_id/routes", "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 route for inbound email routing" }, { "info": { "name": "AhaSend Get Route", "type": "http" }, "http": { "method": "GET", "url": "https://api.ahasend.com/v2/accounts/:account_id/routes/:route_id", "params": [ { "name": "account_id", "value": "500123", "type": "path", "description": "Account ID" }, { "name": "route_id", "value": "500123", "type": "path", "description": "Route ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a specific route by ID" }, { "info": { "name": "AhaSend Update Route", "type": "http" }, "http": { "method": "PUT", "url": "https://api.ahasend.com/v2/accounts/:account_id/routes/:route_id", "params": [ { "name": "account_id", "value": "500123", "type": "path", "description": "Account ID" }, { "name": "route_id", "value": "500123", "type": "path", "description": "Route ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Updates an existing route" }, { "info": { "name": "AhaSend Delete Route", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.ahasend.com/v2/accounts/:account_id/routes/:route_id", "params": [ { "name": "account_id", "value": "500123", "type": "path", "description": "Account ID" }, { "name": "route_id", "value": "500123", "type": "path", "description": "Route ID" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deletes a route" } ] } ], "bundled": true }