{"info":{"name":"SendTrix API","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"auth":{"type":"bearer","bearer":[{"key":"token","value":"{{apiKey}}","type":"string"}]},"variable":[{"key":"baseUrl","value":"https://control.sendtrix.io"},{"key":"apiKey","value":"st_test_…"}],"item":[{"name":"Sending","item":[{"name":"Send an email","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/v1/send","host":["{{baseUrl}}"],"path":["v1","send"]},"body":{"mode":"raw","raw":"{\n  \"from\": {\n    \"email\": \"hello@mail.example.com\",\n    \"name\": \"Example\"\n  },\n  \"to\": [\n    \"alice@gmail.com\"\n  ],\n  \"subject\": \"Your receipt\",\n  \"html\": \"<p>Thanks for your order!</p>\",\n  \"text\": \"Thanks for your order!\",\n  \"tags\": [\n    \"receipt\"\n  ]\n}","options":{"raw":{"language":"json"}}},"description":"One message to up to 1000 recipients. Add `send_at` to schedule (max 7 days ahead), `stream` to pick a message stream, `topic` to honour preference-centre opt-outs, or `template_id` + `variables` to use a template."}},{"name":"Send personalised copies (batch)","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/v1/send/batch","host":["{{baseUrl}}"],"path":["v1","send","batch"]},"body":{"mode":"raw","raw":"{\n  \"from\": {\n    \"email\": \"hello@mail.example.com\"\n  },\n  \"subject\": \"Hi {{name}}\",\n  \"text\": \"Hello {{name}}\",\n  \"messages\": [\n    {\n      \"to\": \"a@gmail.com\",\n      \"variables\": {\n        \"name\": \"Ann\"\n      }\n    },\n    {\n      \"to\": \"b@yahoo.com\",\n      \"variables\": {\n        \"name\": \"Bob\"\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"description":"Common fields once, then up to 500 `messages` each with its own `to` and `variables`."}},{"name":"List scheduled sends","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v1/scheduled","host":["{{baseUrl}}"],"path":["v1","scheduled"]},"description":""}},{"name":"Cancel a scheduled send","request":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/v1/scheduled/:id","host":["{{baseUrl}}"],"path":["v1","scheduled",":id"],"variable":[{"key":"id","value":""}]},"description":""}}]},{"name":"Templates","item":[{"name":"List published templates","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v1/templates","host":["{{baseUrl}}"],"path":["v1","templates"]},"description":""}}]},{"name":"Events","item":[{"name":"Delivery events (delivered, bounced, opened, …)","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v1/events","host":["{{baseUrl}}"],"path":["v1","events"],"query":[{"key":"type","value":"","disabled":true},{"key":"message_id","value":"","disabled":true},{"key":"rcpt","value":"","disabled":true},{"key":"domain","value":"","disabled":true},{"key":"since","value":"","disabled":true},{"key":"limit","value":"","disabled":true}]},"description":""}}]},{"name":"Suppressions","item":[{"name":"List suppressed addresses","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v1/suppressions","host":["{{baseUrl}}"],"path":["v1","suppressions"],"query":[{"key":"email","value":"","disabled":true},{"key":"limit","value":"","disabled":true},{"key":"offset","value":"","disabled":true}]},"description":""}},{"name":"Add addresses to the suppression list","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/v1/suppressions","host":["{{baseUrl}}"],"path":["v1","suppressions"]},"body":{"mode":"raw","raw":"{\n  \"emails\": [\n    \"old@example.com\"\n  ],\n  \"reason\": \"manual\"\n}","options":{"raw":{"language":"json"}}},"description":""}},{"name":"Remove an address from the suppression list","request":{"method":"DELETE","header":[],"url":{"raw":"{{baseUrl}}/v1/suppressions/:email","host":["{{baseUrl}}"],"path":["v1","suppressions",":email"],"variable":[{"key":"email","value":""}]},"description":""}}]},{"name":"Preferences","item":[{"name":"Preference-centre changes since a time","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v1/preferences","host":["{{baseUrl}}"],"path":["v1","preferences"],"query":[{"key":"since","value":"","disabled":true}]},"description":""}},{"name":"One recipient's preferences","request":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/v1/preferences/:email","host":["{{baseUrl}}"],"path":["v1","preferences",":email"],"variable":[{"key":"email","value":""}]},"description":""}}]},{"name":"Validation","item":[{"name":"Validate an email address","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"{{baseUrl}}/v1/validate","host":["{{baseUrl}}"],"path":["v1","validate"]},"body":{"mode":"raw","raw":"{\n  \"email\": \"someone@gmial.com\"\n}","options":{"raw":{"language":"json"}}},"description":""}}]}]}