{"info":{"_postman_id":"c70a7a01-1499-4b47-802a-74b330559070","name":"ChatRail API","description":"<html><head></head><body><p>WhatsApp API for developers — link a number you already own and send over HTTP. No Meta app review.</p>\n<p>Documentation:&nbsp;<a href=\"https://www.chatrail.dev/docs\">https://www.chatrail.dev/docs</a>&nbsp;<br>API reference:&nbsp;<a href=\"https://www.chatrail.dev/api-reference\">https://www.chatrail.dev/api-reference</a></p>\n<p>Send, schedule and receive WhatsApp messages through a linked-device session.</p>\n<p><strong>Two things the API is careful about, which shape every endpoint below.</strong></p>\n<p><em>Accepted is not delivered.</em> A 202 means the message is durably stored and queued. Only the <code>status</code> field ever claims WhatsApp delivered anything, and <code>queued</code>, <code>submitted</code>, <code>sent</code>, <code>delivered</code> and <code>read</code> are deliberately distinct.</p>\n<p><em>A retry must not send twice.</em> Send <code>Idempotency-Key</code> on every send. A replay returns the original response; a concurrent duplicate is told to retry rather than allowed to race.  </p>\n<p>Website: <a href=\"https://www.chatrail.dev\">https://www.chatrail.dev</a><br>Published docs: <a href=\"https://documenter.getpostman.com/view/58506622/2sBYB4JmAX\">https://documenter.getpostman.com/view/58506622/2sBYB4JmAX</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"58506622","collectionId":"c70a7a01-1499-4b47-802a-74b330559070","publishedId":"2sBYB4JmAX","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-09-25T14:50:45.000Z"},"item":[{"name":"Messages","item":[{"name":"Send a message","id":"1d1ffc50-bcba-4c8e-a529-efb1ed269b91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Idempotency-Key","value":"5560bdd1-f383-4bd7-8083-54eafe260deb","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"connection\": \"main\",\n  \"to\": \"+15551234567\",\n  \"body\": \"Order CR-2048 has shipped.\",\n  \"context\": {\n    \"order_id\": \"CR-2048\",\n    \"status\": \"dispatched\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/messages/text","urlObject":{"path":["v1","messages","text"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"1d1ffc50-bcba-4c8e-a529-efb1ed269b91"},{"name":"List messages","id":"d348408b-3217-4491-8911-18986c10edd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/messages","urlObject":{"path":["v1","messages"],"host":["https://www.chatrail.dev"],"query":[{"disabled":true,"key":"limit","value":""},{"disabled":true,"key":"cursor","value":""},{"disabled":true,"key":"connection","value":""},{"disabled":true,"key":"status","value":""},{"disabled":true,"key":"direction","value":""}],"variable":[]}},"response":[],"_postman_id":"d348408b-3217-4491-8911-18986c10edd3"},{"name":"Get a message","id":"4f4b0ed7-e573-4f7b-9ac8-3ee5122d4548","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/messages/:id","urlObject":{"path":["v1","messages",":id"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"4f4b0ed7-e573-4f7b-9ac8-3ee5122d4548"},{"name":"Edit a message","id":"ba433213-184d-4b85-b55b-9a5051e06b76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"body\": \"Corrected: viewing is at 3pm, not 2pm.\",\n  \"context\": {\n    \"property\": {\n      \"address\": \"14 Mill Lane\",\n      \"viewing\": \"15:00\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/messages/:id","urlObject":{"path":["v1","messages",":id"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"ba433213-184d-4b85-b55b-9a5051e06b76"},{"name":"Cancel a message","id":"51154397-4681-40a5-9b34-27675aba259b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/messages/:id/cancel","urlObject":{"path":["v1","messages",":id","cancel"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"51154397-4681-40a5-9b34-27675aba259b"},{"name":"React to a message","id":"9700a20c-e0cd-4d78-ac34-caadde911c53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"emoji\": \"👍\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/messages/:id/reactions","urlObject":{"path":["v1","messages",":id","reactions"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"9700a20c-e0cd-4d78-ac34-caadde911c53"},{"name":"Mark a message read","id":"a9472242-00e8-4c0f-90aa-d230fedacedf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/messages/:id/read","urlObject":{"path":["v1","messages",":id","read"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"a9472242-00e8-4c0f-90aa-d230fedacedf"},{"name":"Show typing in a chat","id":"57a596c8-cd35-4ce7-94e9-747e6d367202","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"to\": \"+447700900123\",\n  \"state\": \"typing\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/connections/:connection/presence","urlObject":{"path":["v1","connections",":connection","presence"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"}]}},"response":[],"_postman_id":"57a596c8-cd35-4ce7-94e9-747e6d367202"},{"name":"Delete a message for everyone","id":"6e4c2304-8504-408e-9c7c-7a41554f3ced","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/messages/:id/revoke","urlObject":{"path":["v1","messages",":id","revoke"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"6e4c2304-8504-408e-9c7c-7a41554f3ced"},{"name":"Move a scheduled message","id":"594bd629-df4a-476b-87c7-952ddcd2feb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"send_at\": \"2026-10-01T09:00:00Z\",\n  \"timezone\": \"Europe/London\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/messages/:id/reschedule","urlObject":{"path":["v1","messages",":id","reschedule"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"594bd629-df4a-476b-87c7-952ddcd2feb0"},{"name":"Export delivery metadata as CSV","id":"29f8f34b-f494-48ae-956b-fae8b499c5aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/messages/export","urlObject":{"path":["v1","messages","export"],"host":["https://www.chatrail.dev"],"query":[{"disabled":true,"key":"connection","value":""},{"disabled":true,"key":"status","value":""},{"disabled":true,"key":"direction","value":""},{"disabled":true,"key":"days","value":""}],"variable":[]}},"response":[],"_postman_id":"29f8f34b-f494-48ae-956b-fae8b499c5aa"},{"name":"Check whether a number is on WhatsApp","id":"349d6feb-a10a-4d2a-88ce-0317037793dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/numbers/check","urlObject":{"path":["v1","numbers","check"],"host":["https://www.chatrail.dev"],"query":[{"disabled":true,"key":"phone","value":""},{"disabled":true,"key":"connection","value":""}],"variable":[]}},"response":[],"_postman_id":"349d6feb-a10a-4d2a-88ce-0317037793dc"},{"name":"Download an inbound attachment","id":"dc67380e-0696-4b98-b2ff-9c8086df07b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/messages/:id/media","urlObject":{"path":["v1","messages",":id","media"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"dc67380e-0696-4b98-b2ff-9c8086df07b3"},{"name":"Correct which message a reply answers","id":"9b29492c-845b-461c-93c6-e93463f5d2a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"reply_to_message_id\": \"019bf4a1-0000-7000-8000-000000000000\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/messages/:id/correlation","urlObject":{"path":["v1","messages",":id","correlation"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"9b29492c-845b-461c-93c6-e93463f5d2a0"}],"id":"09219d3e-bf34-406d-80ad-4337270fb613","description":"<p>Sending, delivery state and export.</p>\n","_postman_id":"09219d3e-bf34-406d-80ad-4337270fb613"},{"name":"Connections","item":[{"name":"Change connection settings","id":"c73f1d58-cd69-4d30-b22d-d75d7f951d75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"reject_calls\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/connections/:connection","urlObject":{"path":["v1","connections",":connection"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"}]}},"response":[],"_postman_id":"c73f1d58-cd69-4d30-b22d-d75d7f951d75"},{"name":"Get a connection","id":"3145a1e7-1a6b-4e37-a750-815cb9eb3605","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/connections/:connection","urlObject":{"path":["v1","connections",":connection"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"}]}},"response":[],"_postman_id":"3145a1e7-1a6b-4e37-a750-815cb9eb3605"},{"name":"Delete a connection","id":"3d12e4b9-9fa2-4aa5-b9c5-b0f5bff8824c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/connections/:connection","urlObject":{"path":["v1","connections",":connection"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"}]}},"response":[],"_postman_id":"3d12e4b9-9fa2-4aa5-b9c5-b0f5bff8824c"},{"name":"List WhatsApp groups","id":"c96ce725-37ac-48e0-b2bf-e14a61d6ddd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/connections/:connection/groups","urlObject":{"path":["v1","connections",":connection","groups"],"host":["https://www.chatrail.dev"],"query":[{"disabled":true,"key":"limit","value":""},{"disabled":true,"key":"offset","value":""}],"variable":[{"type":"any","key":"connection"}]}},"response":[],"_postman_id":"c96ce725-37ac-48e0-b2bf-e14a61d6ddd2"},{"name":"Create a connection","id":"44b49b07-9f28-40dd-97a4-9e058c5a9a97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"slug\": \"operations\",\n  \"name\": \"Operations line\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/connections","urlObject":{"path":["v1","connections"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"44b49b07-9f28-40dd-97a4-9e058c5a9a97"},{"name":"List connections","id":"913c3a91-7ae3-42b7-8b61-de0c0c7d8717","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/connections","urlObject":{"path":["v1","connections"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"913c3a91-7ae3-42b7-8b61-de0c0c7d8717"},{"name":"Begin pairing","id":"78371da8-bafc-43e9-8f39-9fa2a5e81978","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"method\": \"code\",\n  \"phone\": \"+447700900123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/connections/:connection/pair","urlObject":{"path":["v1","connections",":connection","pair"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"}]}},"response":[],"_postman_id":"78371da8-bafc-43e9-8f39-9fa2a5e81978"},{"name":"Redeem a QR grant","id":"0720633f-7a59-41ba-a222-440e304ec635","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/connections/:connection/qr/:grantId","urlObject":{"path":["v1","connections",":connection","qr",":grantId"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"},{"type":"any","key":"grantId"}]}},"response":[],"_postman_id":"0720633f-7a59-41ba-a222-440e304ec635"},{"name":"Suspend a connection","id":"92a77d5d-f952-43c3-b73e-3a19c130db80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/connections/:connection/suspend","urlObject":{"path":["v1","connections",":connection","suspend"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"}]}},"response":[],"_postman_id":"92a77d5d-f952-43c3-b73e-3a19c130db80"},{"name":"Resume a suspended connection","id":"ea299ded-112f-4c5f-b72b-e7304876bb45","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/connections/:connection/resume","urlObject":{"path":["v1","connections",":connection","resume"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"}]}},"response":[],"_postman_id":"ea299ded-112f-4c5f-b72b-e7304876bb45"}],"id":"32b1c604-d80a-40a1-a155-3de2440b5eb1","description":"<p>WhatsApp numbers and their pairing lifecycle.</p>\n","_postman_id":"32b1c604-d80a-40a1-a155-3de2440b5eb1"},{"name":"Groups","item":[{"name":"Create a group","id":"ed7b27d6-8dd4-4343-a9dd-768e8bb90bb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Riverside viewings\",\n  \"participants\": [\n    \"+447700900123\",\n    \"+447700900456\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/connections/:connection/groups","urlObject":{"path":["v1","connections",":connection","groups"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"}]}},"response":[],"_postman_id":"ed7b27d6-8dd4-4343-a9dd-768e8bb90bb7"},{"name":"Get a group","id":"4ead0021-f0b2-4cae-b0ee-5d093ef3f23a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/connections/:connection/groups/:group","urlObject":{"path":["v1","connections",":connection","groups",":group"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"},{"type":"any","key":"group"}]}},"response":[],"_postman_id":"4ead0021-f0b2-4cae-b0ee-5d093ef3f23a"},{"name":"Update a group","id":"b419d88b-e741-4a41-a471-4505d1cda5bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"messages_admins_only\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/connections/:connection/groups/:group","urlObject":{"path":["v1","connections",":connection","groups",":group"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"},{"type":"any","key":"group"}]}},"response":[],"_postman_id":"b419d88b-e741-4a41-a471-4505d1cda5bb"},{"name":"Change group members","id":"95ea4db3-52c2-42ec-9e86-a9a714025fef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"action\": \"add\",\n  \"participants\": [\n    \"+447700900789\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/connections/:connection/groups/:group/participants","urlObject":{"path":["v1","connections",":connection","groups",":group","participants"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"},{"type":"any","key":"group"}]}},"response":[],"_postman_id":"95ea4db3-52c2-42ec-9e86-a9a714025fef"},{"name":"Get a group invite link","id":"f799fdae-8c68-475e-aa40-9715c889076a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/connections/:connection/groups/:group/invite","urlObject":{"path":["v1","connections",":connection","groups",":group","invite"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"},{"type":"any","key":"group"}]}},"response":[],"_postman_id":"f799fdae-8c68-475e-aa40-9715c889076a"},{"name":"Revoke a group invite link","id":"49208a4b-38dc-41dc-874d-76c94a2475c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/connections/:connection/groups/:group/invite/revoke","urlObject":{"path":["v1","connections",":connection","groups",":group","invite","revoke"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"},{"type":"any","key":"group"}]}},"response":[],"_postman_id":"49208a4b-38dc-41dc-874d-76c94a2475c7"},{"name":"Leave a group","id":"69f7583b-2527-49ac-ab08-5534262d8cee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/connections/:connection/groups/:group/leave","urlObject":{"path":["v1","connections",":connection","groups",":group","leave"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"},{"type":"any","key":"group"}]}},"response":[],"_postman_id":"69f7583b-2527-49ac-ab08-5534262d8cee"}],"id":"9dd2ab27-c735-462e-9b3c-3ddbb97a5a79","description":"<p>Creating and running WhatsApp groups from a connected number.</p>\n","_postman_id":"9dd2ab27-c735-462e-9b3c-3ddbb97a5a79"},{"name":"Schedules","item":[{"name":"Create a recurring schedule","id":"4e5beda8-91e0-44e4-833b-20d693e48e8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Friday digest\",\n  \"timezone\": \"Europe/London\",\n  \"recurrence\": {\n    \"type\": \"weekly\",\n    \"hour\": 9,\n    \"minute\": 0,\n    \"days_of_week\": [\n      5\n    ]\n  },\n  \"message\": {\n    \"connection\": \"main\",\n    \"to\": \"+15551234567\",\n    \"body\": \"Your weekly digest is ready.\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/schedules","urlObject":{"path":["v1","schedules"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"4e5beda8-91e0-44e4-833b-20d693e48e8a"},{"name":"List schedules","id":"fa95fc86-2eb4-4685-a2e1-3d79c4994f5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/schedules","urlObject":{"path":["v1","schedules"],"host":["https://www.chatrail.dev"],"query":[{"disabled":true,"key":"status","value":""}],"variable":[]}},"response":[],"_postman_id":"fa95fc86-2eb4-4685-a2e1-3d79c4994f5d"},{"name":"Get a schedule","id":"d092591d-ceb9-4e92-aa41-9d59670f1e40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/schedules/:id","urlObject":{"path":["v1","schedules",":id"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"d092591d-ceb9-4e92-aa41-9d59670f1e40"},{"name":"Pause a schedule","id":"95c240f9-0ac7-4953-8ba8-17f12f5290ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/schedules/:id/pause","urlObject":{"path":["v1","schedules",":id","pause"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"95c240f9-0ac7-4953-8ba8-17f12f5290ed"},{"name":"Resume a schedule","id":"9597f898-93e8-4feb-add9-9c76d9262acd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/schedules/:id/resume","urlObject":{"path":["v1","schedules",":id","resume"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"9597f898-93e8-4feb-add9-9c76d9262acd"},{"name":"Cancel a schedule","id":"ca321462-5c73-47c9-9ab1-79f2dd16f8b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/schedules/:id/cancel","urlObject":{"path":["v1","schedules",":id","cancel"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"ca321462-5c73-47c9-9ab1-79f2dd16f8b3"}],"id":"defbc3d7-89f6-48f0-90c4-fc1f55e13a1d","description":"<p>Recurring sends.</p>\n","_postman_id":"defbc3d7-89f6-48f0-90c4-fc1f55e13a1d"},{"name":"Webhooks","item":[{"name":"Register a webhook endpoint","id":"d16915ae-2a18-4c22-96c0-c589509add67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"url\": \"https://example.com/hooks/chatrail\",\n  \"events\": [\n    \"message.received\",\n    \"message.delivered\",\n    \"message.failed\"\n  ],\n  \"description\": \"Order updates\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/webhook-endpoints","urlObject":{"path":["v1","webhook-endpoints"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"d16915ae-2a18-4c22-96c0-c589509add67"},{"name":"List webhook endpoints","id":"df8dd2a0-f31b-46ca-b93e-35eada6544c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/webhook-endpoints","urlObject":{"path":["v1","webhook-endpoints"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"df8dd2a0-f31b-46ca-b93e-35eada6544c5"},{"name":"Delete a webhook endpoint","id":"238765dd-ddfe-4bd8-beb7-682ec7479993","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/webhook-endpoints/:id","urlObject":{"path":["v1","webhook-endpoints",":id"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"238765dd-ddfe-4bd8-beb7-682ec7479993"}],"id":"a6741da3-a325-4499-a9b2-29ea08164260","description":"<p>Where inbound events and delivery updates are sent.</p>\n","_postman_id":"a6741da3-a325-4499-a9b2-29ea08164260"},{"name":"AI","item":[{"name":"Store a model provider credential","id":"11e8dfcd-4e30-4e73-8287-8b88c7c6c876","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"provider\": \"anthropic\",\n  \"label\": \"Production key\",\n  \"api_key\": \"sk-ant-replace-with-your-own-key\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/ai/credentials","urlObject":{"path":["v1","ai","credentials"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"11e8dfcd-4e30-4e73-8287-8b88c7c6c876"},{"name":"List credentials","id":"1226b03e-bf47-42c4-b8f6-658525c63ff5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/ai/credentials","urlObject":{"path":["v1","ai","credentials"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"1226b03e-bf47-42c4-b8f6-658525c63ff5"},{"name":"Delete a credential","id":"a33c773d-da75-4541-b042-8b2f3dacd2e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/ai/credentials/:id","urlObject":{"path":["v1","ai","credentials",":id"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"a33c773d-da75-4541-b042-8b2f3dacd2e6"},{"name":"Set the AI policy for a connection","id":"b7853322-28ea-4da8-8742-ed14563249dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"credential_id\": \"019bf4a1-0000-7000-8000-000000000000\",\n  \"enabled\": true,\n  \"mode\": \"draft\",\n  \"model\": \"claude-sonnet-4-5\",\n  \"system_instruction\": \"Answer only from the attached context. If the answer is not there, say so.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/ai/policies/:connection","urlObject":{"path":["v1","ai","policies",":connection"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"}]}},"response":[],"_postman_id":"b7853322-28ea-4da8-8742-ed14563249dc"},{"name":"Get the AI policy for a connection","id":"ecc3d414-b5d8-4b0a-a034-6d2d63533b97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/ai/policies/:connection","urlObject":{"path":["v1","ai","policies",":connection"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"connection"}]}},"response":[],"_postman_id":"ecc3d414-b5d8-4b0a-a034-6d2d63533b97"},{"name":"List AI runs","id":"2a898a92-fce0-4c93-aaf2-39bbb017ec2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/ai/runs","urlObject":{"path":["v1","ai","runs"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a898a92-fce0-4c93-aaf2-39bbb017ec2d"},{"name":"Send an AI draft","id":"6dc2ddbd-342b-4be3-b103-33760bc2f21c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/ai/runs/:id/send","urlObject":{"path":["v1","ai","runs",":id","send"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"6dc2ddbd-342b-4be3-b103-33760bc2f21c"},{"name":"Dismiss an AI draft","id":"c5573c8e-3f4a-49c0-ada2-713ac364fc4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"reason\": \"wrong_context\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/ai/runs/:id/dismiss","urlObject":{"path":["v1","ai","runs",":id","dismiss"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"c5573c8e-3f4a-49c0-ada2-713ac364fc4e"},{"name":"Summarise what happened to AI drafts","id":"aee49a2f-6f00-4659-8493-41fe9dda7e23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/ai/quality","urlObject":{"path":["v1","ai","quality"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"aee49a2f-6f00-4659-8493-41fe9dda7e23"}],"id":"d363764b-bf11-4763-a339-61593c3d8fd2","description":"<p>Optional, per connection, off by default.</p>\n","_postman_id":"d363764b-bf11-4763-a339-61593c3d8fd2"},{"name":"Team","item":[{"name":"List members and pending invitations","id":"2b0a2871-8939-4886-99b9-c9b9b58c72bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.chatrail.dev/v1/members","urlObject":{"path":["v1","members"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"2b0a2871-8939-4886-99b9-c9b9b58c72bd"},{"name":"Invite somebody","id":"4c289632-142d-4c08-8e5f-cbb921c3067d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"colleague@company.com\",\n  \"role\": \"viewer\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/members/invitations","urlObject":{"path":["v1","members","invitations"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"4c289632-142d-4c08-8e5f-cbb921c3067d"},{"name":"Revoke an invitation","id":"334931da-c1ba-4ea2-b97d-d147515f133b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://www.chatrail.dev/v1/members/invitations/:id","urlObject":{"path":["v1","members","invitations",":id"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"334931da-c1ba-4ea2-b97d-d147515f133b"},{"name":"Accept an invitation","id":"7ffe7426-bf1a-4ed5-98c3-0db6dcbe9a73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"token\": \"the token from the invitation link\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/members/accept","urlObject":{"path":["v1","members","accept"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ffe7426-bf1a-4ed5-98c3-0db6dcbe9a73"},{"name":"Change a member's role","id":"dceabcda-a7c1-4b35-b577-05034f518931","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"role\": \"developer\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/members/:id","urlObject":{"path":["v1","members",":id"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"dceabcda-a7c1-4b35-b577-05034f518931"},{"name":"Remove a member","id":"cef99271-16fe-4d92-b8e5-d11ce6e81b00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://www.chatrail.dev/v1/members/:id","urlObject":{"path":["v1","members",":id"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"cef99271-16fe-4d92-b8e5-d11ce6e81b00"}],"id":"69efb88e-b682-4225-bed1-2e71eca17e76","description":"<p>Membership and invitations. Dashboard sessions only.</p>\n","_postman_id":"69efb88e-b682-4225-bed1-2e71eca17e76"},{"name":"Workspace","item":[{"name":"Confirm a credential","id":"66dfea76-1445-4d75-a395-63a5be7ac7ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/whoami","urlObject":{"path":["v1","whoami"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"66dfea76-1445-4d75-a395-63a5be7ac7ac"},{"name":"Get the current workspace","id":"0e8293f6-e929-4fdb-a60b-7e2489b58de9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.chatrail.dev/v1/workspace","urlObject":{"path":["v1","workspace"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e8293f6-e929-4fdb-a60b-7e2489b58de9"},{"name":"Usage counts","id":"716ce7af-0c33-45c7-85cc-434e295755d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/usage","urlObject":{"path":["v1","usage"],"host":["https://www.chatrail.dev"],"query":[{"disabled":true,"key":"days","value":""}],"variable":[]}},"response":[],"_postman_id":"716ce7af-0c33-45c7-85cc-434e295755d5"},{"name":"Issue an API key","id":"7940cd0e-52bf-4a65-ab1c-0d7045fd2a1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Order service\",\n  \"scopes\": [\n    \"messages:write\",\n    \"messages:read\"\n  ],\n  \"environment\": \"live\"\n}","options":{"raw":{"language":"json"}}},"url":"https://www.chatrail.dev/v1/api-keys","urlObject":{"path":["v1","api-keys"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"7940cd0e-52bf-4a65-ab1c-0d7045fd2a1a"},{"name":"List API keys","id":"e35ac8bd-76c5-4659-b3b8-061a3b24b470","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.chatrail.dev/v1/api-keys","urlObject":{"path":["v1","api-keys"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"e35ac8bd-76c5-4659-b3b8-061a3b24b470"},{"name":"Revoke an API key","id":"e102d851-bdbf-4033-8a03-0a6aa36b8fdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://www.chatrail.dev/v1/api-keys/:id/revoke","urlObject":{"path":["v1","api-keys",":id","revoke"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"e102d851-bdbf-4033-8a03-0a6aa36b8fdf"},{"name":"Rotate an API key","id":"5c3a59b4-8f66-4976-811f-58e06d17e367","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://www.chatrail.dev/v1/api-keys/:id/rotate","urlObject":{"path":["v1","api-keys",":id","rotate"],"host":["https://www.chatrail.dev"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"5c3a59b4-8f66-4976-811f-58e06d17e367"}],"id":"2b7a165e-da64-4126-8044-e5132b571042","description":"<p>Identity, credentials, plan and usage.</p>\n","_postman_id":"2b7a165e-da64-4126-8044-e5132b571042"},{"name":"MCP","item":[{"name":"MCP endpoint","id":"7434f7af-ba51-49e1-b072-436c22ea3769","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/mcp","urlObject":{"path":["v1","mcp"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"7434f7af-ba51-49e1-b072-436c22ea3769"},{"name":"List MCP tools","id":"9aa69d36-28a2-4a64-a7fd-90e54d9af564","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://www.chatrail.dev/v1/mcp/tools","urlObject":{"path":["v1","mcp","tools"],"host":["https://www.chatrail.dev"],"query":[],"variable":[]}},"response":[],"_postman_id":"9aa69d36-28a2-4a64-a7fd-90e54d9af564"}],"id":"a5903c1d-187e-426a-923e-03a33a46d02b","description":"<p>Workspace tools for a coding assistant.</p>\n","_postman_id":"a5903c1d-187e-426a-923e-03a33a46d02b"}],"variable":[{"key":"base_url","value":"https://www.chatrail.dev"},{"key":"api_key","value":""}]}