[{"data":1,"prerenderedAt":1044},["Reactive",2],{"navigation":3,"/developer/api":118,"/developer/api-surround":1040},[4,14,43,83,99],{"title":5,"_path":6,"children":7},"Welcome","/welcome",[8,11],{"title":9,"_path":10},"Feature List","/welcome/feature-list",{"title":12,"_path":13},"FAQs","/welcome/faqs",{"title":15,"_path":16,"children":17},"Getting Started","/getting-started",[18,19,22,25,28,31,34,37,40],{"title":15,"_path":16},{"title":20,"_path":21},"Pre-requisites","/getting-started/prerequisites",{"title":23,"_path":24},"Installation","/getting-started/installation",{"title":26,"_path":27},"Upgrading","/getting-started/upgrading",{"title":29,"_path":30},"Configuration","/getting-started/configuration",{"title":32,"_path":33},"DNS configuration","/getting-started/dns-configuration",{"title":35,"_path":36},"Upgrading to v3","/getting-started/upgrade-to-v3",{"title":38,"_path":39},"Upgrading to v2","/getting-started/upgrade-to-v2",{"title":41,"_path":42},"The postal command","/getting-started/postal-command",{"title":44,"_path":45,"children":46},"Features","/features",[47,50,53,56,59,62,65,68,71,74,77,80],{"title":48,"_path":49},"Click & Open Tracking","/features/click-and-open-tracking",{"title":51,"_path":52},"Health & Metrics","/features/health-metrics",{"title":54,"_path":55},"IP Pools","/features/ip-pools",{"title":57,"_path":58},"Logging","/features/logging",{"title":60,"_path":61},"Mail Server Settings","/features/mail-server-settings",{"title":63,"_path":64},"OpenID Connect","/features/oidc",{"title":66,"_path":67},"Routing Incoming E-Mail","/features/routing-incoming-email",{"title":69,"_path":70},"Sending Domains","/features/sending-domains",{"title":72,"_path":73},"SMTP Authentication","/features/smtp-authentication",{"title":75,"_path":76},"SMTP TLS","/features/smtp-tls",{"title":78,"_path":79},"Spam & Virus Checking","/features/spam-and-virus-checking",{"title":81,"_path":82},"Users & Permissions","/features/users-and-permissions",{"title":84,"_path":85,"children":86},"Developer","/developer",[87,90,93,96],{"title":88,"_path":89},"Using the API","/developer/api",{"title":91,"_path":92},"Client Libraries","/developer/client-libraries",{"title":94,"_path":95},"Receiving e-mail by HTTP","/developer/http-payloads",{"title":97,"_path":98},"Webhooks","/developer/webhooks",{"title":100,"_path":101,"children":102},"Other Notes","/other",[103,106,109,112,115],{"title":104,"_path":105},"Auto-Responders & Bounces","/other/auto-responders-and-bounces",{"title":107,"_path":108},"Our container image","/other/containers",{"title":110,"_path":111},"Debugging","/other/debugging",{"title":113,"_path":114},"Wildcards & Address Tags","/other/wildcards-and-address-tags",{"title":116,"_path":117},"Workers & Background Tasks","/other/workers-and-background-tasks",{"_path":89,"_dir":119,"_draft":120,"_partial":120,"_locale":121,"title":88,"description":121,"body":122,"_type":1035,"_id":1036,"_source":1037,"_file":1038,"_extension":1039},"developer",false,"",{"type":123,"children":124,"toc":1028},"root",[125,133,145,155,162,231,236,425,430,443,449,454,459,481,501,753,759,796,872,879,884,1022],{"type":126,"tag":127,"props":128,"children":129},"element","p",{},[130],{"type":131,"value":132},"text","The HTTP API allows you to send messages to us using JSON over HTTP. You can either talk to the API using your current HTTP library or you can use one of the pre-built libraries.",{"type":126,"tag":127,"props":134,"children":135},{},[136],{"type":126,"tag":137,"props":138,"children":142},"a",{"href":139,"rel":140},"https://apiv1.postalserver.io",[141],"nofollow",[143],{"type":131,"value":144},"Full API documentation",{"type":126,"tag":146,"props":147,"children":149},"callout",{"icon":148},"i-heroicons-information-circle",[150],{"type":126,"tag":127,"props":151,"children":152},{},[153],{"type":131,"value":154},"This API does not support managing all the functions of Postal. There are plans to introduce a new v2 API which will have more functionality and significantly better documentation. We do not have an ETA for this. Additionally, we will not be accepting any pull requests to extend the current API to have any further functionality than it currently does.",{"type":126,"tag":156,"props":157,"children":159},"h2",{"id":158},"general-api-instructions",[160],{"type":131,"value":161},"General API Instructions",{"type":126,"tag":163,"props":164,"children":165},"ul",{},[166,172,194],{"type":126,"tag":167,"props":168,"children":169},"li",{},[170],{"type":131,"value":171},"You should send POST requests to the URLs shown below.",{"type":126,"tag":167,"props":173,"children":174},{},[175,177,184,186,192],{"type":131,"value":176},"Parameters should be encoded in the body of the request and ",{"type":126,"tag":178,"props":179,"children":181},"code",{"className":180},[],[182],{"type":131,"value":183},"application/json",{"type":131,"value":185}," should be set as the ",{"type":126,"tag":178,"props":187,"children":189},{"className":188},[],[190],{"type":131,"value":191},"Content-Type",{"type":131,"value":193}," header.",{"type":126,"tag":167,"props":195,"children":196},{},[197,199,205,207,213,215,221,223,229],{"type":131,"value":198},"The response will always be provided as JSON. The status of a request can be determined from the ",{"type":126,"tag":178,"props":200,"children":202},{"className":201},[],[203],{"type":131,"value":204},"status",{"type":131,"value":206}," attribute in the payload you receive. It will be ",{"type":126,"tag":178,"props":208,"children":210},{"className":209},[],[211],{"type":131,"value":212},"success",{"type":131,"value":214}," or ",{"type":126,"tag":178,"props":216,"children":218},{"className":217},[],[219],{"type":131,"value":220},"error",{"type":131,"value":222},". Further details can be found in the ",{"type":126,"tag":178,"props":224,"children":226},{"className":225},[],[227],{"type":131,"value":228},"data",{"type":131,"value":230}," attribute.",{"type":126,"tag":127,"props":232,"children":233},{},[234],{"type":131,"value":235},"An example response body is shown below:",{"type":126,"tag":237,"props":238,"children":242},"pre",{"className":239,"code":240,"language":241,"meta":121,"style":121},"language-javascript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"status\":\"success\",\n  \"time\":0.02,\n  \"flags\":{},\n  \"data\":{\"message_id\":\"xxxx\"}\n}\n","javascript",[243],{"type":126,"tag":178,"props":244,"children":245},{"__ignoreMap":121},[246,258,300,331,357,417],{"type":126,"tag":247,"props":248,"children":251},"span",{"class":249,"line":250},"line",1,[252],{"type":126,"tag":247,"props":253,"children":255},{"style":254},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[256],{"type":131,"value":257},"{\n",{"type":126,"tag":247,"props":259,"children":261},{"class":249,"line":260},2,[262,267,272,277,283,287,291,295],{"type":126,"tag":247,"props":263,"children":264},{"style":254},[265],{"type":131,"value":266},"  \"",{"type":126,"tag":247,"props":268,"children":270},{"style":269},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[271],{"type":131,"value":204},{"type":126,"tag":247,"props":273,"children":274},{"style":254},[275],{"type":131,"value":276},"\"",{"type":126,"tag":247,"props":278,"children":280},{"style":279},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[281],{"type":131,"value":282},":",{"type":126,"tag":247,"props":284,"children":285},{"style":254},[286],{"type":131,"value":276},{"type":126,"tag":247,"props":288,"children":289},{"style":269},[290],{"type":131,"value":212},{"type":126,"tag":247,"props":292,"children":293},{"style":254},[294],{"type":131,"value":276},{"type":126,"tag":247,"props":296,"children":297},{"style":254},[298],{"type":131,"value":299},",\n",{"type":126,"tag":247,"props":301,"children":303},{"class":249,"line":302},3,[304,308,313,317,321,327],{"type":126,"tag":247,"props":305,"children":306},{"style":254},[307],{"type":131,"value":266},{"type":126,"tag":247,"props":309,"children":310},{"style":269},[311],{"type":131,"value":312},"time",{"type":126,"tag":247,"props":314,"children":315},{"style":254},[316],{"type":131,"value":276},{"type":126,"tag":247,"props":318,"children":319},{"style":279},[320],{"type":131,"value":282},{"type":126,"tag":247,"props":322,"children":324},{"style":323},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[325],{"type":131,"value":326},"0.02",{"type":126,"tag":247,"props":328,"children":329},{"style":254},[330],{"type":131,"value":299},{"type":126,"tag":247,"props":332,"children":334},{"class":249,"line":333},4,[335,339,344,348,352],{"type":126,"tag":247,"props":336,"children":337},{"style":254},[338],{"type":131,"value":266},{"type":126,"tag":247,"props":340,"children":341},{"style":269},[342],{"type":131,"value":343},"flags",{"type":126,"tag":247,"props":345,"children":346},{"style":254},[347],{"type":131,"value":276},{"type":126,"tag":247,"props":349,"children":350},{"style":279},[351],{"type":131,"value":282},{"type":126,"tag":247,"props":353,"children":354},{"style":254},[355],{"type":131,"value":356},"{},\n",{"type":126,"tag":247,"props":358,"children":360},{"class":249,"line":359},5,[361,365,369,373,377,382,386,391,395,399,403,408,412],{"type":126,"tag":247,"props":362,"children":363},{"style":254},[364],{"type":131,"value":266},{"type":126,"tag":247,"props":366,"children":367},{"style":269},[368],{"type":131,"value":228},{"type":126,"tag":247,"props":370,"children":371},{"style":254},[372],{"type":131,"value":276},{"type":126,"tag":247,"props":374,"children":375},{"style":279},[376],{"type":131,"value":282},{"type":126,"tag":247,"props":378,"children":379},{"style":254},[380],{"type":131,"value":381},"{",{"type":126,"tag":247,"props":383,"children":384},{"style":254},[385],{"type":131,"value":276},{"type":126,"tag":247,"props":387,"children":388},{"style":279},[389],{"type":131,"value":390},"message_id",{"type":126,"tag":247,"props":392,"children":393},{"style":254},[394],{"type":131,"value":276},{"type":126,"tag":247,"props":396,"children":397},{"style":254},[398],{"type":131,"value":282},{"type":126,"tag":247,"props":400,"children":401},{"style":254},[402],{"type":131,"value":276},{"type":126,"tag":247,"props":404,"children":405},{"style":269},[406],{"type":131,"value":407},"xxxx",{"type":126,"tag":247,"props":409,"children":410},{"style":254},[411],{"type":131,"value":276},{"type":126,"tag":247,"props":413,"children":414},{"style":254},[415],{"type":131,"value":416},"}\n",{"type":126,"tag":247,"props":418,"children":420},{"class":249,"line":419},6,[421],{"type":126,"tag":247,"props":422,"children":423},{"style":254},[424],{"type":131,"value":416},{"type":126,"tag":127,"props":426,"children":427},{},[428],{"type":131,"value":429},"To authenticate to the API you'll need to create an API credential for your mail server through the web interface. This is a random string which is unique to your server.",{"type":126,"tag":127,"props":431,"children":432},{},[433,435,441],{"type":131,"value":434},"To authenticate a request to the API, you need to pass this key in the ",{"type":126,"tag":178,"props":436,"children":438},{"className":437},[],[439],{"type":131,"value":440},"X-Server-API-Key",{"type":131,"value":442}," HTTP header.",{"type":126,"tag":156,"props":444,"children":446},{"id":445},"sending-a-message",[447],{"type":131,"value":448},"Sending a message",{"type":126,"tag":127,"props":450,"children":451},{},[452],{"type":131,"value":453},"There are two ways to send a message - you can either provide each attribute needed for the e-mail individually or you can craft your own RFC 2822 message and send this instead.",{"type":126,"tag":127,"props":455,"children":456},{},[457],{"type":131,"value":458},"Full details about these two methods can be found in our API documentation:",{"type":126,"tag":163,"props":460,"children":461},{},[462,471],{"type":126,"tag":167,"props":463,"children":464},{},[465],{"type":126,"tag":137,"props":466,"children":469},{"href":467,"rel":468},"https://postalserver.github.io/postal-api/controllers/send/message",[141],[470],{"type":131,"value":448},{"type":126,"tag":167,"props":472,"children":473},{},[474],{"type":126,"tag":137,"props":475,"children":478},{"href":476,"rel":477},"https://postalserver.github.io/postal-api/controllers/send/raw",[141],[479],{"type":131,"value":480},"Sending an RFC 2822 message",{"type":126,"tag":127,"props":482,"children":483},{},[484,486,491,493,499],{"type":131,"value":485},"For both these methods, the API will return the same information as the result. It will contain the ",{"type":126,"tag":178,"props":487,"children":489},{"className":488},[],[490],{"type":131,"value":390},{"type":131,"value":492}," of the message that was sent plus a ",{"type":126,"tag":178,"props":494,"children":496},{"className":495},[],[497],{"type":131,"value":498},"messages",{"type":131,"value":500}," hash with the IDs of the messages that were sent by the server to each recipient.",{"type":126,"tag":237,"props":502,"children":504},{"className":239,"code":503,"language":241,"meta":121,"style":121},"{\n  \"message_id\":\"message-id-in-uuid-format@rp.postal.yourdomain.com\",\n  \"messages\":{\n    \"john@example.com\":{\"id\":37171, \"token\":\"a4udnay1\"},\n    \"mary@example.com\":{\"id\":37172, \"token\":\"bsfhjsdfs\"}\n  }\n}\n",[505],{"type":126,"tag":178,"props":506,"children":507},{"__ignoreMap":121},[508,515,551,574,659,737,745],{"type":126,"tag":247,"props":509,"children":510},{"class":249,"line":250},[511],{"type":126,"tag":247,"props":512,"children":513},{"style":254},[514],{"type":131,"value":257},{"type":126,"tag":247,"props":516,"children":517},{"class":249,"line":260},[518,522,526,530,534,538,543,547],{"type":126,"tag":247,"props":519,"children":520},{"style":254},[521],{"type":131,"value":266},{"type":126,"tag":247,"props":523,"children":524},{"style":269},[525],{"type":131,"value":390},{"type":126,"tag":247,"props":527,"children":528},{"style":254},[529],{"type":131,"value":276},{"type":126,"tag":247,"props":531,"children":532},{"style":279},[533],{"type":131,"value":282},{"type":126,"tag":247,"props":535,"children":536},{"style":254},[537],{"type":131,"value":276},{"type":126,"tag":247,"props":539,"children":540},{"style":269},[541],{"type":131,"value":542},"message-id-in-uuid-format@rp.postal.yourdomain.com",{"type":126,"tag":247,"props":544,"children":545},{"style":254},[546],{"type":131,"value":276},{"type":126,"tag":247,"props":548,"children":549},{"style":254},[550],{"type":131,"value":299},{"type":126,"tag":247,"props":552,"children":553},{"class":249,"line":302},[554,558,562,566,570],{"type":126,"tag":247,"props":555,"children":556},{"style":254},[557],{"type":131,"value":266},{"type":126,"tag":247,"props":559,"children":560},{"style":269},[561],{"type":131,"value":498},{"type":126,"tag":247,"props":563,"children":564},{"style":254},[565],{"type":131,"value":276},{"type":126,"tag":247,"props":567,"children":568},{"style":279},[569],{"type":131,"value":282},{"type":126,"tag":247,"props":571,"children":572},{"style":254},[573],{"type":131,"value":257},{"type":126,"tag":247,"props":575,"children":576},{"class":249,"line":333},[577,582,587,591,596,600,605,609,613,618,623,628,633,637,641,645,650,654],{"type":126,"tag":247,"props":578,"children":579},{"style":254},[580],{"type":131,"value":581},"    \"",{"type":126,"tag":247,"props":583,"children":584},{"style":279},[585],{"type":131,"value":586},"john@example.com",{"type":126,"tag":247,"props":588,"children":589},{"style":254},[590],{"type":131,"value":276},{"type":126,"tag":247,"props":592,"children":593},{"style":254},[594],{"type":131,"value":595},":{",{"type":126,"tag":247,"props":597,"children":598},{"style":254},[599],{"type":131,"value":276},{"type":126,"tag":247,"props":601,"children":602},{"style":279},[603],{"type":131,"value":604},"id",{"type":126,"tag":247,"props":606,"children":607},{"style":254},[608],{"type":131,"value":276},{"type":126,"tag":247,"props":610,"children":611},{"style":254},[612],{"type":131,"value":282},{"type":126,"tag":247,"props":614,"children":615},{"style":323},[616],{"type":131,"value":617},"37171",{"type":126,"tag":247,"props":619,"children":620},{"style":254},[621],{"type":131,"value":622},",",{"type":126,"tag":247,"props":624,"children":625},{"style":254},[626],{"type":131,"value":627}," \"",{"type":126,"tag":247,"props":629,"children":630},{"style":279},[631],{"type":131,"value":632},"token",{"type":126,"tag":247,"props":634,"children":635},{"style":254},[636],{"type":131,"value":276},{"type":126,"tag":247,"props":638,"children":639},{"style":254},[640],{"type":131,"value":282},{"type":126,"tag":247,"props":642,"children":643},{"style":254},[644],{"type":131,"value":276},{"type":126,"tag":247,"props":646,"children":647},{"style":269},[648],{"type":131,"value":649},"a4udnay1",{"type":126,"tag":247,"props":651,"children":652},{"style":254},[653],{"type":131,"value":276},{"type":126,"tag":247,"props":655,"children":656},{"style":254},[657],{"type":131,"value":658},"},\n",{"type":126,"tag":247,"props":660,"children":661},{"class":249,"line":359},[662,666,671,675,679,683,687,691,695,700,704,708,712,716,720,724,729,733],{"type":126,"tag":247,"props":663,"children":664},{"style":254},[665],{"type":131,"value":581},{"type":126,"tag":247,"props":667,"children":668},{"style":279},[669],{"type":131,"value":670},"mary@example.com",{"type":126,"tag":247,"props":672,"children":673},{"style":254},[674],{"type":131,"value":276},{"type":126,"tag":247,"props":676,"children":677},{"style":254},[678],{"type":131,"value":595},{"type":126,"tag":247,"props":680,"children":681},{"style":254},[682],{"type":131,"value":276},{"type":126,"tag":247,"props":684,"children":685},{"style":279},[686],{"type":131,"value":604},{"type":126,"tag":247,"props":688,"children":689},{"style":254},[690],{"type":131,"value":276},{"type":126,"tag":247,"props":692,"children":693},{"style":254},[694],{"type":131,"value":282},{"type":126,"tag":247,"props":696,"children":697},{"style":323},[698],{"type":131,"value":699},"37172",{"type":126,"tag":247,"props":701,"children":702},{"style":254},[703],{"type":131,"value":622},{"type":126,"tag":247,"props":705,"children":706},{"style":254},[707],{"type":131,"value":627},{"type":126,"tag":247,"props":709,"children":710},{"style":279},[711],{"type":131,"value":632},{"type":126,"tag":247,"props":713,"children":714},{"style":254},[715],{"type":131,"value":276},{"type":126,"tag":247,"props":717,"children":718},{"style":254},[719],{"type":131,"value":282},{"type":126,"tag":247,"props":721,"children":722},{"style":254},[723],{"type":131,"value":276},{"type":126,"tag":247,"props":725,"children":726},{"style":269},[727],{"type":131,"value":728},"bsfhjsdfs",{"type":126,"tag":247,"props":730,"children":731},{"style":254},[732],{"type":131,"value":276},{"type":126,"tag":247,"props":734,"children":735},{"style":254},[736],{"type":131,"value":416},{"type":126,"tag":247,"props":738,"children":739},{"class":249,"line":419},[740],{"type":126,"tag":247,"props":741,"children":742},{"style":254},[743],{"type":131,"value":744},"  }\n",{"type":126,"tag":247,"props":746,"children":748},{"class":249,"line":747},7,[749],{"type":126,"tag":247,"props":750,"children":751},{"style":254},[752],{"type":131,"value":416},{"type":126,"tag":156,"props":754,"children":756},{"id":755},"get-message",[757],{"type":131,"value":758},"GET Message",{"type":126,"tag":127,"props":760,"children":761},{},[762,764,770,772,777,779,785,787,794],{"type":131,"value":763},"To retrieve a message and its contents, use the ",{"type":126,"tag":178,"props":765,"children":767},{"className":766},[],[768],{"type":131,"value":769},"GET",{"type":131,"value":771}," method with the ",{"type":126,"tag":178,"props":773,"children":775},{"className":774},[],[776],{"type":131,"value":604},{"type":131,"value":778}," (received when sending the message) and ",{"type":126,"tag":178,"props":780,"children":782},{"className":781},[],[783],{"type":131,"value":784},"_expansions",{"type":131,"value":786}," parameters (if you need more information than the basics) for the message from Postal. For more details, refer to the ",{"type":126,"tag":137,"props":788,"children":791},{"href":789,"rel":790},"https://postalserver.github.io/postal-api/controllers/messages/message.html",[141],[792],{"type":131,"value":793},"Postal API documentation",{"type":131,"value":795},".",{"type":126,"tag":237,"props":797,"children":801},{"className":798,"code":799,"language":800,"meta":121,"style":121},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"id\": 14,\n  \"_expansions\": true\n}\n","json",[802],{"type":126,"tag":178,"props":803,"children":804},{"__ignoreMap":121},[805,812,841,865],{"type":126,"tag":247,"props":806,"children":807},{"class":249,"line":250},[808],{"type":126,"tag":247,"props":809,"children":810},{"style":254},[811],{"type":131,"value":257},{"type":126,"tag":247,"props":813,"children":814},{"class":249,"line":260},[815,819,824,828,832,837],{"type":126,"tag":247,"props":816,"children":817},{"style":254},[818],{"type":131,"value":266},{"type":126,"tag":247,"props":820,"children":822},{"style":821},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[823],{"type":131,"value":604},{"type":126,"tag":247,"props":825,"children":826},{"style":254},[827],{"type":131,"value":276},{"type":126,"tag":247,"props":829,"children":830},{"style":254},[831],{"type":131,"value":282},{"type":126,"tag":247,"props":833,"children":834},{"style":323},[835],{"type":131,"value":836}," 14",{"type":126,"tag":247,"props":838,"children":839},{"style":254},[840],{"type":131,"value":299},{"type":126,"tag":247,"props":842,"children":843},{"class":249,"line":302},[844,848,852,856,860],{"type":126,"tag":247,"props":845,"children":846},{"style":254},[847],{"type":131,"value":266},{"type":126,"tag":247,"props":849,"children":850},{"style":821},[851],{"type":131,"value":784},{"type":126,"tag":247,"props":853,"children":854},{"style":254},[855],{"type":131,"value":276},{"type":126,"tag":247,"props":857,"children":858},{"style":254},[859],{"type":131,"value":282},{"type":126,"tag":247,"props":861,"children":862},{"style":254},[863],{"type":131,"value":864}," true\n",{"type":126,"tag":247,"props":866,"children":867},{"class":249,"line":333},[868],{"type":126,"tag":247,"props":869,"children":870},{"style":254},[871],{"type":131,"value":416},{"type":126,"tag":873,"props":874,"children":876},"h3",{"id":875},"example-curl-request",[877],{"type":131,"value":878},"Example cURL Request",{"type":126,"tag":127,"props":880,"children":881},{},[882],{"type":131,"value":883},"You can use the following cURL command to make the request:",{"type":126,"tag":237,"props":885,"children":889},{"className":886,"code":887,"language":888,"meta":121,"style":121},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","curl --location 'https://\u003Cyour.postal.domain.com>/api/v1/messages/message' \\\n--header 'X-Server-API-Key: $yourAPIKeyFromTheCredentialsPage' \\\n--header 'Content-Type: application/json' \\\n--data '{\n  \"id\": 14,\n  \"_expansions\": true\n}'\n","bash",[890],{"type":126,"tag":178,"props":891,"children":892},{"__ignoreMap":121},[893,928,953,977,993,1001,1009],{"type":126,"tag":247,"props":894,"children":895},{"class":249,"line":250},[896,902,907,912,917,922],{"type":126,"tag":247,"props":897,"children":899},{"style":898},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[900],{"type":131,"value":901},"curl",{"type":126,"tag":247,"props":903,"children":904},{"style":269},[905],{"type":131,"value":906}," --location",{"type":126,"tag":247,"props":908,"children":909},{"style":254},[910],{"type":131,"value":911}," '",{"type":126,"tag":247,"props":913,"children":914},{"style":269},[915],{"type":131,"value":916},"https://\u003Cyour.postal.domain.com>/api/v1/messages/message",{"type":126,"tag":247,"props":918,"children":919},{"style":254},[920],{"type":131,"value":921},"'",{"type":126,"tag":247,"props":923,"children":925},{"style":924},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[926],{"type":131,"value":927}," \\\n",{"type":126,"tag":247,"props":929,"children":930},{"class":249,"line":260},[931,936,940,945,949],{"type":126,"tag":247,"props":932,"children":933},{"style":924},[934],{"type":131,"value":935},"--header ",{"type":126,"tag":247,"props":937,"children":938},{"style":254},[939],{"type":131,"value":921},{"type":126,"tag":247,"props":941,"children":942},{"style":269},[943],{"type":131,"value":944},"X-Server-API-Key: $yourAPIKeyFromTheCredentialsPage",{"type":126,"tag":247,"props":946,"children":947},{"style":254},[948],{"type":131,"value":921},{"type":126,"tag":247,"props":950,"children":951},{"style":924},[952],{"type":131,"value":927},{"type":126,"tag":247,"props":954,"children":955},{"class":249,"line":302},[956,960,964,969,973],{"type":126,"tag":247,"props":957,"children":958},{"style":924},[959],{"type":131,"value":935},{"type":126,"tag":247,"props":961,"children":962},{"style":254},[963],{"type":131,"value":921},{"type":126,"tag":247,"props":965,"children":966},{"style":269},[967],{"type":131,"value":968},"Content-Type: application/json",{"type":126,"tag":247,"props":970,"children":971},{"style":254},[972],{"type":131,"value":921},{"type":126,"tag":247,"props":974,"children":975},{"style":924},[976],{"type":131,"value":927},{"type":126,"tag":247,"props":978,"children":979},{"class":249,"line":333},[980,985,989],{"type":126,"tag":247,"props":981,"children":982},{"style":924},[983],{"type":131,"value":984},"--data ",{"type":126,"tag":247,"props":986,"children":987},{"style":254},[988],{"type":131,"value":921},{"type":126,"tag":247,"props":990,"children":991},{"style":269},[992],{"type":131,"value":257},{"type":126,"tag":247,"props":994,"children":995},{"class":249,"line":359},[996],{"type":126,"tag":247,"props":997,"children":998},{"style":269},[999],{"type":131,"value":1000},"  \"id\": 14,\n",{"type":126,"tag":247,"props":1002,"children":1003},{"class":249,"line":419},[1004],{"type":126,"tag":247,"props":1005,"children":1006},{"style":269},[1007],{"type":131,"value":1008},"  \"_expansions\": true\n",{"type":126,"tag":247,"props":1010,"children":1011},{"class":249,"line":747},[1012,1017],{"type":126,"tag":247,"props":1013,"children":1014},{"style":269},[1015],{"type":131,"value":1016},"}",{"type":126,"tag":247,"props":1018,"children":1019},{"style":254},[1020],{"type":131,"value":1021},"'\n",{"type":126,"tag":1023,"props":1024,"children":1025},"style",{},[1026],{"type":131,"value":1027},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":121,"searchDepth":260,"depth":260,"links":1029},[1030,1031,1032],{"id":158,"depth":260,"text":161},{"id":445,"depth":260,"text":448},{"id":755,"depth":260,"text":758,"children":1033},[1034],{"id":875,"depth":302,"text":878},"markdown","content:4.developer:1.api.md","content","4.developer/1.api.md","md",[1041,1043],{"_path":82,"title":81,"description":1042},"Global administrators, organization members and what each can do.",{"_path":92,"title":91,"description":121},1789749433814]