{"info":{"_postman_id":"b369381f-aec7-41e0-ab23-f575f9db8634","name":"Ship a Postcard API","description":"<html><head></head><body><p>Print and mail physical postcards to US addresses. Postcards created through the API are verified (address, message, image), billed together every night at 23:59 UTC to the workspace owner's saved card with volume pricing, then printed and mailed. Senders can be anywhere; recipients must have a US address. Runnable examples in cURL, Node.js, PHP and Python: <a href=\"https://github.com/shipapostcard/shipapostcard-api-examples\">https://github.com/shipapostcard/shipapostcard-api-examples</a></p>\n<p>Contact Support:<br>Email: <a href=\"https://mailto:support@shipapostcard.com\">support@shipapostcard.com</a></p>\n<h2 id=\"get-an-api-key\">Get an API key</h2>\n<p>Create a free account at <a href=\"https://shipapostcard.com/register\">https://shipapostcard.com/register</a>, then go to <strong>Developer Hub → API Keys</strong> and create a key. Each key belongs to a workspace: every postcard it creates is billed to that workspace and shows up in its API logs.</p>\n<p>Add a payment method under <strong>Billing</strong>. API postcards are billed together every night at 23:59 UTC, with volume pricing, to the workspace owner's saved card.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">export SHIPAPOSTCARD_API_KEY=\"your-api-key\"\n</code></pre>\n<p>Send it as a Bearer token: <code>Authorization: Bearer $SHIPAPOSTCARD_API_KEY</code>.</p>\n<h2 id=\"get-notified-with-webhooks\">Get notified with webhooks</h2>\n<p>Add an endpoint under <strong>Developer Hub → Webhooks</strong> and pick the events:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Event</th>\n<th>When</th>\n<th><code>data</code></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>postcard.created</code></td>\n<td>The API accepted a postcard.</td>\n<td><code>id</code>, <code>status</code>, <code>amount</code></td>\n</tr>\n<tr>\n<td><code>postcard.sent_to_printer</code></td>\n<td>The nightly batch was paid and sent to the printer (one event per batch).</td>\n<td><code>batch_id</code>, <code>status</code>, <code>total_cards_processed</code>, <code>total_cards_failed</code>, <code>successful_order_ids</code></td>\n</tr>\n<tr>\n<td><code>postcard.delivered</code></td>\n<td>USPS delivered it.</td>\n<td><code>id</code>, <code>status</code>, <code>lob_id</code>, <code>delivered_at</code></td>\n</tr>\n<tr>\n<td><code>postcard.failed</code></td>\n<td>It can't be printed or mailed (e.g. undeliverable address, image that can't be downloaded).</td>\n<td><code>id</code>, <code>status</code>, <code>reason</code> (and <code>batch_id</code> when it failed at the printer)</td>\n</tr>\n<tr>\n<td><code>batch.payment_failed</code></td>\n<td>The nightly charge was declined; fulfillment is paused until the card is updated.</td>\n<td><code>batch_id</code>, <code>message</code>, <code>stripe_error</code>, <code>declined_amount</code>, <code>affected_cards</code>, <code>action_required</code></td>\n</tr>\n</tbody>\n</table>\n</div><p>Each request is a <code>POST</code> with a JSON body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"id\": \"evt_8sKq2...\",\n  \"type\": \"postcard.delivered\",\n  \"created_at\": 1760600000,\n  \"data\": {\n    \"id\": \"sap_order_1234\",\n    \"status\": \"delivered\",\n    \"lob_id\": \"psc_5c002b86ce47537a\",\n    \"delivered_at\": \"2026-10-16T14:03:11+00:00\"\n  }\n}\n</code></pre>\n<p>and two headers:</p>\n<ul>\n<li><code>ShipAPostcard-Signature: t=1760600000,v1=5257a869e7…</code> is an HMAC-SHA256 of <code>\"{t}.{raw body}\"</code> with your endpoint's signing secret, in hex.</li>\n<li><code>ShipAPostcard-Event-Id: evt_8sKq2...</code> stays the same across retries, so you can ignore duplicates.</li>\n</ul>\n<p><strong>Verify the signature on the raw body before parsing it</strong>, compare in constant time, and reject old timestamps (we use 5 minutes) to stop replays. Answer with a <code>2xx</code> within 10 seconds; otherwise the event is retried, up to 3 attempts a minute apart. Use a public HTTPS URL: URLs that point at private or internal addresses are refused.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6050671","collectionId":"b369381f-aec7-41e0-ab23-f575f9db8634","publishedId":"2sBYHSwzsR","public":true,"customColor":{"top-bar":"13233D","right-sidebar":"303030","highlight":"FF6B4A"},"publishDate":"2026-10-16T13:59:27.000Z"},"item":[{"name":"postcards","item":[{"name":"{id}","item":[{"name":"Retrieve a postcard","id":"61ca0d42-ae8b-4de3-aa35-4b94fe9709f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://shipapostcard.com/api/v1/postcards/:id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b369381f-aec7-41e0-ab23-f575f9db8634","id":"b369381f-aec7-41e0-ab23-f575f9db8634","name":"Ship a Postcard API","type":"collection"}},"urlObject":{"path":["postcards",":id"],"host":["https://shipapostcard.com/api/v1"],"query":[],"variable":[{"id":"4114d0ac-a64c-471c-9441-cbeeb420431f","description":{"content":"<p>The id returned on creation (\"sap_order_123\") or the plain number.</p>\n","type":"text/plain"},"type":"any","value":"sap_order_94812","key":"id"}]}},"response":[{"id":"559d172c-171c-4e65-9462-c1dde62f2a37","name":"The postcard.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://shipapostcard.com/api/v1/postcards/:id","host":["https://shipapostcard.com/api/v1"],"path":["postcards",":id"],"variable":[{"key":"id","value":"sap_order_94812","description":"The id returned on creation (\"sap_order_123\") or the plain number."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"sap_order_94812\",\n  \"status\": \"in_transit\",\n  \"amount\": 2.25,\n  \"message\": \"Thanks for your order! Enjoy 20% off your next one with THANKS20.\",\n  \"recipient_details\": {\n    \"name\": \"Jane Doe\",\n    \"address_line1\": \"185 Berry St\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"zip\": \"94107\",\n    \"country\": \"US\"\n  },\n  \"design_details\": {\n    \"image_url\": \"https://example.com/postcard-front.jpg\",\n    \"size\": \"4x6\",\n    \"orientation\": \"landscape\"\n  },\n  \"tracking\": {\n    \"expected_delivery_date\": \"2026-10-22\",\n    \"events\": [\n      {\n        \"event\": \"sent_to_printer\",\n        \"timestamp\": \"2026-10-16 23:59:41\"\n      },\n      {\n        \"event\": \"postcard.in_transit\",\n        \"timestamp\": \"2026-10-18 09:12:05\"\n      }\n    ]\n  },\n  \"created_at\": \"2026-10-16T14:03:11+00:00\",\n  \"updated_at\": \"2026-10-18T09:12:05+00:00\"\n}"},{"id":"ec33937e-06e5-4e99-b175-e5037fb578c6","name":"Missing, invalid or revoked API key.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://shipapostcard.com/api/v1/postcards/:id","host":["https://shipapostcard.com/api/v1"],"path":["postcards",":id"],"variable":[{"key":"id","value":"sap_order_94812","description":"The id returned on creation (\"sap_order_123\") or the plain number."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"message\": \"Unauthenticated\",\n  \"errors\": null,\n  \"error_code\": \"AUTH_ERROR\"\n}"},{"id":"1d06e38c-f6e8-458b-bacf-084d6d43ed00","name":"Not found in your workspace.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://shipapostcard.com/api/v1/postcards/:id","host":["https://shipapostcard.com/api/v1"],"path":["postcards",":id"],"variable":[{"key":"id","value":"sap_order_94812","description":"The id returned on creation (\"sap_order_123\") or the plain number."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"61ca0d42-ae8b-4de3-aa35-4b94fe9709f9"},{"name":"Cancel a postcard","id":"f5c04af3-59c7-402f-98b9-e7e740159812","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"}],"url":"https://shipapostcard.com/api/v1/postcards/:id","description":"<p>Allowed while the status is pending_batch or ready_for_batch.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b369381f-aec7-41e0-ab23-f575f9db8634","id":"b369381f-aec7-41e0-ab23-f575f9db8634","name":"Ship a Postcard API","type":"collection"}},"urlObject":{"path":["postcards",":id"],"host":["https://shipapostcard.com/api/v1"],"query":[],"variable":[{"id":"7991f3dd-a885-4dc5-bea4-0d238408af0a","description":{"content":"<p>The id returned on creation (\"sap_order_123\") or the plain number.</p>\n","type":"text/plain"},"type":"any","value":"sap_order_94812","key":"id"}]}},"response":[{"id":"ae589ed7-cb90-45af-a4d6-3d8ab32647d1","name":"Cancelled.","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://shipapostcard.com/api/v1/postcards/:id","host":["https://shipapostcard.com/api/v1"],"path":["postcards",":id"],"variable":[{"key":"id","value":"sap_order_94812","description":"The id returned on creation (\"sap_order_123\") or the plain number."}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"a73d3943-e9cc-496f-96c2-bf59c651a807","name":"Missing, invalid or revoked API key.","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://shipapostcard.com/api/v1/postcards/:id","host":["https://shipapostcard.com/api/v1"],"path":["postcards",":id"],"variable":[{"key":"id","value":"sap_order_94812","description":"The id returned on creation (\"sap_order_123\") or the plain number."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"message\": \"Unauthenticated\",\n  \"errors\": null,\n  \"error_code\": \"AUTH_ERROR\"\n}"},{"id":"9744625f-5459-4151-afda-21939545a4f5","name":"Already being billed, printed or mailed.","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://shipapostcard.com/api/v1/postcards/:id","host":["https://shipapostcard.com/api/v1"],"path":["postcards",":id"],"variable":[{"key":"id","value":"sap_order_94812","description":"The id returned on creation (\"sap_order_123\") or the plain number."}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"0f9884d4-e4cb-4074-ab82-dab447c9d0de","name":"Not found in your workspace.","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://shipapostcard.com/api/v1/postcards/:id","host":["https://shipapostcard.com/api/v1"],"path":["postcards",":id"],"variable":[{"key":"id","value":"sap_order_94812","description":"The id returned on creation (\"sap_order_123\") or the plain number."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"f5c04af3-59c7-402f-98b9-e7e740159812"}],"id":"9796c6ef-a8c2-4266-818c-00a353bacd5a","_postman_id":"9796c6ef-a8c2-4266-818c-00a353bacd5a","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b369381f-aec7-41e0-ab23-f575f9db8634","id":"b369381f-aec7-41e0-ab23-f575f9db8634","name":"Ship a Postcard API","type":"collection"}}},{"name":"Create a postcard","id":"94ddd4c7-a306-4f00-a76b-54a48b77a08b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"message\": \"Thanks for your order! Enjoy 20% off your next one with THANKS20.\",\n  \"recipient_details\": {\n    \"name\": \"Jane Doe\",\n    \"address_line1\": \"185 Berry St\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"zip\": \"94107\",\n    \"country\": \"US\"\n  },\n  \"design_details\": {\n    \"image_url\": \"https://example.com/postcard-front.jpg\",\n    \"size\": \"4x6\",\n    \"orientation\": \"landscape\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://shipapostcard.com/api/v1/postcards","description":"<p>Queues a postcard for the nightly batch. It can be cancelled until the batch picks it up.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b369381f-aec7-41e0-ab23-f575f9db8634","id":"b369381f-aec7-41e0-ab23-f575f9db8634","name":"Ship a Postcard API","type":"collection"}},"urlObject":{"path":["postcards"],"host":["https://shipapostcard.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"3042d000-22ef-4152-994c-0e81f27f67e5","name":"Postcard queued.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"message\": \"Thanks for your order! Enjoy 20% off your next one with THANKS20.\",\n  \"recipient_details\": {\n    \"name\": \"Jane Doe\",\n    \"address_line1\": \"185 Berry St\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"zip\": \"94107\",\n    \"country\": \"US\"\n  },\n  \"design_details\": {\n    \"image_url\": \"https://example.com/postcard-front.jpg\",\n    \"size\": \"4x6\",\n    \"orientation\": \"landscape\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://shipapostcard.com/api/v1/postcards"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"sap_order_94812\",\n  \"status\": \"pending_batch\",\n  \"amount\": 2.25,\n  \"message\": \"Postcard queued for daily batch processing.\"\n}"},{"id":"191de492-b080-4bb6-ba1f-c5584675d448","name":"Missing, invalid or revoked API key.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"message\": \"Thanks for your order! Enjoy 20% off your next one with THANKS20.\",\n  \"recipient_details\": {\n    \"name\": \"Jane Doe\",\n    \"address_line1\": \"185 Berry St\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"zip\": \"94107\",\n    \"country\": \"US\"\n  },\n  \"design_details\": {\n    \"image_url\": \"https://example.com/postcard-front.jpg\",\n    \"size\": \"4x6\",\n    \"orientation\": \"landscape\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://shipapostcard.com/api/v1/postcards"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"message\": \"Unauthenticated\",\n  \"errors\": null,\n  \"error_code\": \"AUTH_ERROR\"\n}"},{"id":"f0e0b171-6e7c-437a-8eb9-1343acd1b159","name":"Invalid parameters.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"message\": \"Thanks for your order! Enjoy 20% off your next one with THANKS20.\",\n  \"recipient_details\": {\n    \"name\": \"Jane Doe\",\n    \"address_line1\": \"185 Berry St\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"zip\": \"94107\",\n    \"country\": \"US\"\n  },\n  \"design_details\": {\n    \"image_url\": \"https://example.com/postcard-front.jpg\",\n    \"size\": \"4x6\",\n    \"orientation\": \"landscape\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://shipapostcard.com/api/v1/postcards"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"error\": \"Validation Failed\",\n  \"details\": {\n    \"recipient_details.zip\": [\n      \"The recipient details.zip field format is invalid.\"\n    ]\n  }\n}"}],"_postman_id":"94ddd4c7-a306-4f00-a76b-54a48b77a08b"},{"name":"List the postcards of your workspace","id":"a9e1feff-032e-4193-99fc-46ddf0f85ba9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://shipapostcard.com/api/v1/postcards?page=1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b369381f-aec7-41e0-ab23-f575f9db8634","id":"b369381f-aec7-41e0-ab23-f575f9db8634","name":"Ship a Postcard API","type":"collection"}},"urlObject":{"path":["postcards"],"host":["https://shipapostcard.com/api/v1"],"query":[{"key":"page","value":"1"}],"variable":[]}},"response":[{"id":"a8ac785d-2222-4dce-8e1d-0809d01a3789","name":"10 postcards per page, newest first.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://shipapostcard.com/api/v1/postcards?page=1","host":["https://shipapostcard.com/api/v1"],"path":["postcards"],"query":[{"key":"page","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"current_page\": 1,\n  \"data\": [\n    {\n      \"id\": \"sap_order_94812\",\n      \"status\": \"in_transit\",\n      \"amount\": 2.25,\n      \"message\": \"Thanks for your order! Enjoy 20% off your next one with THANKS20.\",\n      \"recipient_details\": {\n        \"name\": \"Jane Doe\",\n        \"address_line1\": \"185 Berry St\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"zip\": \"94107\",\n        \"country\": \"US\"\n      },\n      \"design_details\": {\n        \"image_url\": \"https://example.com/postcard-front.jpg\",\n        \"size\": \"4x6\",\n        \"orientation\": \"landscape\"\n      },\n      \"tracking\": {\n        \"expected_delivery_date\": \"2026-10-22\",\n        \"events\": [\n          {\n            \"event\": \"sent_to_printer\",\n            \"timestamp\": \"2026-10-16 23:59:41\"\n          },\n          {\n            \"event\": \"postcard.in_transit\",\n            \"timestamp\": \"2026-10-18 09:12:05\"\n          }\n        ]\n      },\n      \"created_at\": \"2026-10-16T14:03:11+00:00\",\n      \"updated_at\": \"2026-10-18T09:12:05+00:00\"\n    }\n  ],\n  \"per_page\": 10,\n  \"total\": 1,\n  \"next_page_url\": null\n}"},{"id":"f6e90edb-3357-40f2-a105-c086e141922d","name":"Missing, invalid or revoked API key.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"https://shipapostcard.com/api/v1/postcards?page=1","host":["https://shipapostcard.com/api/v1"],"path":["postcards"],"query":[{"key":"page","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"message\": \"Unauthenticated\",\n  \"errors\": null,\n  \"error_code\": \"AUTH_ERROR\"\n}"}],"_postman_id":"a9e1feff-032e-4193-99fc-46ddf0f85ba9"}],"id":"2f4fdd4b-2921-4512-b959-8b7b8a8c814c","_postman_id":"2f4fdd4b-2921-4512-b959-8b7b8a8c814c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b369381f-aec7-41e0-ab23-f575f9db8634","id":"b369381f-aec7-41e0-ab23-f575f9db8634","name":"Ship a Postcard API","type":"collection"}}},{"name":"user","item":[{"name":"Check your API key","id":"32f029d7-0df5-4e42-916f-08f139714cc9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://shipapostcard.com/api/v1/user","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b369381f-aec7-41e0-ab23-f575f9db8634","id":"b369381f-aec7-41e0-ab23-f575f9db8634","name":"Ship a Postcard API","type":"collection"}},"urlObject":{"path":["user"],"host":["https://shipapostcard.com/api/v1"],"query":[],"variable":[]}},"response":[{"id":"95093333-ca6e-4734-9f82-2aaca5995fa5","name":"The user the key belongs to.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://shipapostcard.com/api/v1/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": 7,\n  \"name\": \"Jane Doe\",\n  \"email\": \"jane@example.com\"\n}"},{"id":"9815b1b0-8ec2-4528-bd30-4b011baa35bb","name":"Missing, invalid or revoked API key.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"https://shipapostcard.com/api/v1/user"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"message\": \"Unauthenticated\",\n  \"errors\": null,\n  \"error_code\": \"AUTH_ERROR\"\n}"}],"_postman_id":"32f029d7-0df5-4e42-916f-08f139714cc9"}],"id":"7efb3fb8-10a0-4b29-9331-7a9f63fb28ac","_postman_id":"7efb3fb8-10a0-4b29-9331-7a9f63fb28ac","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"b369381f-aec7-41e0-ab23-f575f9db8634","id":"b369381f-aec7-41e0-ab23-f575f9db8634","name":"Ship a Postcard API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"variable":[{"key":"baseUrl","value":"https://shipapostcard.com/api/v1"},{"key":"bearerToken","value":""}]}