{"info":{"name":"TAS Courier API v0.1.0","description":"Synthetic data only. Populate variables locally. Never publish populated secrets. Read /docs for lifecycle and retry semantics.","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json"},"auth":{"type":"basic","basic":[{"key":"username","value":"{{key_id}}","type":"string"},{"key":"password","value":"{{api_token}}","type":"string"}]},"variable":[{"key":"base_url","value":"https://api.tascourier.com/api/v1"},{"key":"key_id","value":""},{"key":"api_token","value":""},{"key":"service_id","value":""},{"key":"account_id","value":""},{"key":"recipient_id","value":""},{"key":"message_id","value":""},{"key":"idempotency_key","value":"replace-with-stable-test-submission-id"}],"item":[{"name":"Getting started","item":[{"name":"Health","request":{"method":"GET","auth":{"type":"noauth"},"url":"{{base_url}}/health"}},{"name":"Integration identity","request":{"method":"GET","url":"{{base_url}}/me"}}]},{"name":"Accounts & recipients","item":[{"name":"List accounts","request":{"method":"GET","url":"{{base_url}}/services/{{service_id}}/accounts"}},{"name":"List recipients","request":{"method":"GET","url":"{{base_url}}/services/{{service_id}}/recipients"}}]},{"name":"Messages","item":[{"name":"Send synthetic message","request":{"method":"POST","url":"{{base_url}}/services/{{service_id}}/messages","header":[{"key":"Content-Type","value":"application/json"},{"key":"Idempotency-Key","value":"{{idempotency_key}}"}],"body":{"mode":"raw","raw":"{\n  \"channel\": \"secure\",\n  \"from\": \"{{account_id}}\",\n  \"to\": [\n    \"{{recipient_id}}\"\n  ],\n  \"content\": {\n    \"subject\": \"Test delivery\",\n    \"text\": \"This is a synthetic test message. Please mark it In Process, reply, and then mark it Completed.\"\n  },\n  \"external_id\": \"test-0001\",\n  \"source\": {\n    \"system\": \"test\",\n    \"installation_id\": \"courier-lab\"\n  },\n  \"priority\": \"normal\"\n}","options":{"raw":{"language":"json"}}}}},{"name":"Get message","request":{"method":"GET","url":"{{base_url}}/services/{{service_id}}/messages/{{message_id}}"}},{"name":"Get replies","request":{"method":"GET","url":"{{base_url}}/services/{{service_id}}/messages/{{message_id}}/replies"}}]},{"name":"Events & branding","item":[{"name":"Poll events","request":{"method":"GET","url":"{{base_url}}/services/{{service_id}}/events?after=0&limit=100"}},{"name":"Read brand profile","request":{"method":"GET","url":"{{base_url}}/services/{{service_id}}/branding"}}]}]}