{"info":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","description":"<html><head></head><body><p>Create an account at <a href=\"https://reminders-api.com\">https://reminders-api.com</a></p>\n<p>Reminders API allows you to create simple or complex reminders that will contact your server every time they fire. For example, you can set a reminder to fire every other Thursday, and you will receive a webhook with the reminder object to your server on that day.</p>\n<h1 id=\"getting-started\">Getting started</h1>\n<ol>\n<li><p>Create an account at <a href=\"https://reminders-api.com\">https://reminders-api.com</a></p>\n</li>\n<li><p>Create an API Token at <a href=\"https://reminders-api.com/user/api-tokens\">https://reminders-api.com/user/api-tokens</a></p>\n</li>\n<li><p>Create an application</p>\n</li>\n<li><p>Create a reminder</p>\n</li>\n<li><p>Receive a webhook</p>\n</li>\n</ol>\n<h1 id=\"authorization\">Authorization</h1>\n<p>Each API call expects the bearer token created in step 2 as an authorization header, like so:</p>\n<p><code>Authorization: Bearer</code></p>\n<h1 id=\"reminder-types\">Reminder types</h1>\n<p>You can create a variety of reminder rules using the Reminder object.</p>\n<p>Each reminder requires a date and time (if the time is not specified it will fall back to the application default), and can have a recurrence rule following the <a href=\"https://tools.ietf.org/html/rfc5545\">RFC 5545</a>. You can find practical examples on <a href=\"https://icalendar.org/iCalendar-RFC-5545/3-8-5-3-recurrence-rule.html\">this page</a> on the official iCalendar website.</p>\n<p>For example, you can create a reminder to be notified:</p>\n<ul>\n<li><p><strong>Every day</strong></p>\n</li>\n<li><p><strong>Every 2 weeks</strong></p>\n</li>\n<li><p><strong>Every 3 weeks on Wednesday and Firday</strong></p>\n</li>\n<li><p><strong>Every month on the 4th and the 21st</strong></p>\n</li>\n<li><p><strong>Every 4 months on the last Friday</strong></p>\n</li>\n<li><p><strong>Every year in July and December</strong></p>\n</li>\n<li><p><strong>Every 2 years on the first Saturday of March</strong></p>\n</li>\n<li><p><strong>etc.</strong></p>\n</li>\n</ul>\n<p>Here are some examples:</p>\n<h2 id=\"remind-only-once\">Remind only once</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    [...]\n    \"date_tz\": \"2020-02-01\",\n    \"time_tz\": \"12:00:00\"\n    [...]\n}\n\n</code></pre>\n<h2 id=\"repeat-every-3-days--weeks--month--years\">Repeat every 3 days / weeks / month / years</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    [...]\n    \"date_tz\": \"2020-02-01\",\n    \"time_tz\": \"12:00\"\n    \"rrule\": \"FREQ=DAILY;INTERVAL=3\",\n    [...]\n}\n\n</code></pre>\n<p>Will repeat on:</p>\n<ul>\n<li><p><code>2020-02-01 12:00:00</code></p>\n</li>\n<li><p><code>2020-02-04 12:00:00</code></p>\n</li>\n<li><p><code>2020-02-07 12:00:00</code></p>\n</li>\n<li><p><code>etc.</code></p>\n</li>\n</ul>\n<hr>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    [...]\n    \"date_tz\": \"2020-01-31\",\n    \"time_tz\": \"12:00\"\n    \"rrule\": \"FREQ=MONTHLY;INTERVAL=1\",\n    [...]\n}\n\n</code></pre>\n<p>Will repeat on:</p>\n<ul>\n<li><p><code>2020-01-31 12:00:00</code></p>\n</li>\n<li><p><code>2020-02-29 12:00:00</code></p>\n</li>\n<li><p><code>2020-03-31 12:00:00</code></p>\n</li>\n<li><p><code>2020-04-30 12:00:00</code></p>\n</li>\n<li><p><code>etc.</code></p>\n</li>\n</ul>\n<h2 id=\"every-2-weeks-on-monday-wednesday-and-friday\">Every 2 weeks, on Monday, Wednesday, and Friday</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    [...]\n    \"date_tz\": \"2020-02-01\",\n    \"time_tz\": \"12:00:00\",\n    \"rrule\": \"FREQ=WEEKLY;INTERVAL=2;BYDAY=MO,WE,FR\",\n    [...]\n}\n\n</code></pre>\n<p>Will repeat on:</p>\n<ul>\n<li><p><code>2020-02-01 12:00:00</code> (first notification based on <code>date_tz</code> and <code>time_tz</code>)</p>\n</li>\n<li><p><code>2020-02-10 12:00:00</code> (Monday)</p>\n</li>\n<li><p><code>2020-02-12 12:00:00</code> (Wednesday)</p>\n</li>\n<li><p><code>2020-02-14 12:00:00</code> (Friday)</p>\n</li>\n<li><p><code>2020-02-24 12:00:00</code> (Monday)</p>\n</li>\n<li><p><code>etc.</code></p>\n</li>\n</ul>\n<h2 id=\"every-2-months-on-the-4th-and-the-15th\">Every 2 months, on the 4th and the 15th</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    [...]\n    \"date_tz\": \"2020-02-01\",\n    \"time_tz\": \"12:00:00\",\n    \"rrule\": \"FREQ=MONTHLY;INTERVAL=2;BYMONTHDAY=4,15\",\n    [...]\n}\n\n</code></pre>\n<p>Will repeat on:</p>\n<ul>\n<li><p><code>2020-02-01 12:00:00</code> (first notification based on <code>date_tz</code> and <code>time_tz</code>)</p>\n</li>\n<li><p><code>2020-02-04 12:00:00</code></p>\n</li>\n<li><p><code>2020-02-15 12:00:00</code></p>\n</li>\n<li><p><code>2020-04-04 12:00:00</code></p>\n</li>\n<li><p><code>2020-04-15 12:00:00</code></p>\n</li>\n<li><p><code>etc.</code></p>\n</li>\n</ul>\n<h2 id=\"every-month-on-the-first-sunday\">Every month on the first Sunday</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    [...]\n    \"date_tz\": \"2020-02-01\",\n    \"time_tz\": \"12:00:00\",\n    \"rrule\": \"FREQ=MONTHLY;INTERVAL=1;BYDAY=1SU\"\n    [...]\n}\n\n</code></pre>\n<p>Will repeat on:</p>\n<ul>\n<li><p><code>2020-02-01 12:00:00</code> (first notification based on <code>date_tz</code> and <code>time_tz</code>)</p>\n</li>\n<li><p><code>2020-03-01 12:00:00</code> (Sunday)</p>\n</li>\n<li><p><code>2020-04-05 12:00:00</code> (Sunday)</p>\n</li>\n<li><p><code>etc.</code></p>\n</li>\n</ul>\n<h2 id=\"every-2-years-in-july-and-december\">Every 2 years, in July and December</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    [...]\n    \"date_tz\": \"2020-02-01\",\n    \"time_tz\": \"12:00:00\",\n    \"rrule\": \"FREQ=YEARLY;INTERVAL=2;BYMONTH=7,12\"\n    [...]\n}\n\n</code></pre>\n<p>Will repeat on:</p>\n<ul>\n<li><p><code>2020-02-01 12:00:00</code> (first notification based on <code>date_tz</code> and <code>time_tz</code>)</p>\n</li>\n<li><p><code>2020-07-01 12:00:00</code></p>\n</li>\n<li><p><code>2020-12-01 12:00:00</code></p>\n</li>\n<li><p><code>2022-07-01 12:00:00</code></p>\n</li>\n<li><p><code>2022-12-01 12:00:00</code></p>\n</li>\n<li><p><code>etc.</code></p>\n</li>\n</ul>\n<h2 id=\"every-2-years-in-july-and-december-on-the-last-thursday\">Every 2 years, in July and December on the last Thursday</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    [...] \n    \"date_tz\": \"2020-02-01\",\n    \"time_tz\": \"12:00:00\",\n    \"rrule\": \"FREQ=YEARLY;INTERVAL=2;BYMONTH=7,12;BYDAY=-1TH\"\n    [...]\n}\n\n</code></pre>\n<p>Will repeat on:</p>\n<ul>\n<li><p><code>2020-02-01 12:00:00</code> (first notification based on <code>date_tz</code> and <code>time_tz</code>)</p>\n</li>\n<li><p><code>2020-07-30 12:00:00</code></p>\n</li>\n<li><p><code>2020-12-31 12:00:00</code></p>\n</li>\n<li><p><code>2022-07-28 12:00:00</code></p>\n</li>\n<li><p><code>2022-12-29 12:00:00</code></p>\n</li>\n<li><p><code>etc.</code></p>\n</li>\n</ul>\n<h1 id=\"the-webhook\">The Webhook</h1>\n<p>When one or more reminders fire, you will receive a webhook to the <code>webhooks_url</code> specified in your application. The request will send a basic authentication header using the <code>http_basic_auth_username</code> and <code>http_basic_auth_password</code> you specified, and will have the following body:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"application\": {\n      \"id\": 1,\n      \"user_id\": 1,\n      \"name\": \"My Application\",\n      \"default_reminder_time_tz\": \"09:00:00\",\n      \"webhook_url\": \"https://your-site-as8df7.com\",\n      \"http_basic_auth_username\": \"user\",\n      \"http_basic_auth_password\": \"pass\",\n      \"created_at\": \"2020-10-07T16:52:47.000000Z\",\n      \"updated_at\": \"2020-10-07T16:52:47.000000Z\"\n    },\n    \"notification_datetime_utc\": \"2020-10-07 16:59:00\",\n    \"reminders_notified\": [\n      {\n        \"id\": 1,\n        \"user_id\": 1,\n        \"application_id\": 1,\n        \"title\": \"Do something\",\n        \"notes\": null,\n        \"timezone\": \"Europe/Tallinn\",\n        \"date_tz\": \"2020-10-07\",\n        \"time_tz\": \"19:59:00\",\n        \"rrule\": null,\n        \"notify_in_advance\": null,\n        \"next_tz\": \"2020-10-07 19:59:00\",\n        \"next_utc\": \"2020-10-07 16:59:00\",\n        \"snoozed\": 0,\n        \"created_at\": \"2020-10-07T16:53:11.000000Z\",\n        \"updated_at\": \"2020-10-07T16:59:02.000000Z\"\n      }\n    ]\n}\n\n</code></pre>\n<h1 id=\"completing-a-reminder\">Completing a reminder</h1>\n<p>The endpoint <code>/reminders/:id/complete</code> will do one of two things, depending on the reminder:</p>\n<ul>\n<li><p>For one-time reminders (without a <code>rrule</code>), it will set the property <code>exhausted</code> to true right away.</p>\n</li>\n<li><p>For recurring reminders (with an <code>rrule</code>), it will move the next expected occurrence (<code>next_tz</code> / <code>next_utc</code>) to the following recurrence based on the <code>rrule</code>. The property <code>exhausted</code> will be set to <code>true</code> when all the expected occurrences are finished, based on a COUNT property in the <code>rrule</code>, or an end date in the reminder.</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Getting started","slug":"getting-started"},{"content":"Authorization","slug":"authorization"},{"content":"Reminder types","slug":"reminder-types"},{"content":"The Webhook","slug":"the-webhook"},{"content":"Completing a reminder","slug":"completing-a-reminder"}],"owner":"9648928","collectionId":"27fc544d-1054-4e48-a505-af3d95b46738","publishedId":"SWEB3wHi","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"3B7CE5"},"publishDate":"2019-12-17T03:39:39.000Z"},"item":[{"name":"User info","id":"10dc3565-7837-4bc7-8f1a-89da19ce0693","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://reminders-api.com/api/user","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","type":"collection"}},"urlObject":{"path":["user"],"host":["https://reminders-api.com/api"],"query":[],"variable":[]}},"response":[{"id":"d3a2f6bc-57f3-4cd1-9410-59ee347eac02","name":"User info","originalRequest":{"method":"GET","header":[],"url":"https://reminders-api.com/api/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2019 03:18:52 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"name\": \"Dalton Larson\",\n    \"email\": \"aaron35@example.net\",\n    \"created_at\": \"2020-12-15 13:01:45\",\n    \"updated_at\": \"2020-12-15 13:01:45\"\n}"}],"_postman_id":"10dc3565-7837-4bc7-8f1a-89da19ce0693"},{"name":"Create an application","id":"3d7aa00a-27bd-4a5b-ae21-775ec6d2b153","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"Another Application","description":"<p><strong>Required</strong> - The name of your application.</p>\n","type":"text"},{"key":"default_reminder_time_tz","value":"12:00","description":"<p>Notification time for the reminders created in this application (unless a different notification time is set to the reminder).</p>\n","type":"text"},{"key":"webhook_url","value":"https://your-site-2.com/callback","description":"<p>The url where the reminders' notifications will be sent.</p>\n","type":"text"},{"key":"http_basic_auth_username","value":"","description":"<p>Username for webhook authentication.</p>\n","type":"text"},{"key":"http_basic_auth_password","value":"","description":"<p>Password for webhook authentication.</p>\n","type":"text"}]},"url":"https://reminders-api.com/api/applications/","description":"<p>Create a new application.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","type":"collection"}},"urlObject":{"path":["applications",""],"host":["https://reminders-api.com/api"],"query":[],"variable":[]}},"response":[{"id":"784d407e-7510-4f54-a1d6-c2f53849da64","name":"Create an application","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Another Application\",\n    \"default_reminder_time_tz\": \"12:00\",\n    \"webhook_url\": \"https://your-site-2.com/callback\"\n}","options":{"raw":{"language":"json"}}},"url":"https://reminders-api.com/api/applications/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2019 03:23:26 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"user_id\": \"1\",\n    \"name\": \"My Application\",\n    \"default_reminder_time_tz\": \"12:00:00\",\n    \"webhook_url\": \"https://your-site-2.com/callback\",\n    \"created_at\": \"2020-12-17 03:23:26\",\n    \"updated_at\": \"2020-12-17 03:23:26\"\n}"}],"_postman_id":"3d7aa00a-27bd-4a5b-ae21-775ec6d2b153"},{"name":"Update an application","id":"7bedd4d2-4ab2-4296-9248-359ad246342e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"webhook_url\": \"https://enkkzkfvbr20e.x.pipedream.net\",\n    \"http_basic_auth_username\": \"username1\",\n    \"http_basic_auth_password\": \"password2\"\n}","options":{"raw":{"language":"json"}}},"url":"https://reminders-api.com/api/applications/:application_id","description":"<p>Update an existing application.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","type":"collection"}},"urlObject":{"path":["applications",":application_id"],"host":["https://reminders-api.com/api"],"query":[],"variable":[{"type":"string","value":"1","key":"application_id"}]}},"response":[{"id":"c97bf347-cf59-4bd5-a61f-5c6074e0ccb7","name":"Update an application","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Default Application\",\n    \"webhook_url\": \"https://a-different-url.com/callback\",\n    \"default_reminder_time_tz\": \"09:30:00\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://reminders-api.com/api/applications/:application_id","host":["https://reminders-api.com/api"],"path":["applications",":application_id"],"variable":[{"key":"application_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2019 03:26:58 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1\",\n    \"user_id\": \"1\",\n    \"name\": \"My Application\",\n    \"default_reminder_time_tz\": \"09:00:00\",\n    \"webhook_url\": \"https://your-site-2.com/callback\",\n    \"created_at\": \"2020-12-17 03:23:26\",\n    \"updated_at\": \"2020-12-17 03:23:26\"\n}"}],"_postman_id":"7bedd4d2-4ab2-4296-9248-359ad246342e"},{"name":"Delete an application","id":"1d431ea9-e83a-409e-9d06-754f3866164e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://reminders-api.com/api/applications/:application_id","description":"<p>Delete an existing application.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","type":"collection"}},"urlObject":{"path":["applications",":application_id"],"host":["https://reminders-api.com/api"],"query":[],"variable":[{"type":"string","value":"1","key":"application_id"}]}},"response":[{"id":"8afc1ede-7cb9-4f41-afd0-6d8355065b31","name":"Delete an application","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"https://reminders-api.com/api/applications/:application_id","host":["https://reminders-api.com/api"],"path":["applications",":application_id"],"variable":[{"key":"application_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2019 03:25:16 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Application deleted.\"\n}"}],"_postman_id":"1d431ea9-e83a-409e-9d06-754f3866164e"},{"name":"Get all applications","id":"7d1f376e-0727-491f-afb7-1a31d0060609","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://reminders-api.com/api/applications/","description":"<p>Get all the application for the current user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","type":"collection"}},"urlObject":{"path":["applications",""],"host":["https://reminders-api.com/api"],"query":[],"variable":[]}},"response":[{"id":"0f876d8b-94ce-4ba0-aeb6-2e94d778b2d4","name":"Get all applications","originalRequest":{"method":"GET","header":[],"url":"https://reminders-api.com/api/applications/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2019 03:19:10 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"55"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"1\",\n            \"user_id\": \"1\",\n            \"name\": \"My Application\",\n            \"default_reminder_time_tz\": \"09:00:00\",\n            \"webhook_url\": \"https://your-site.com/callback\",\n            \"created_at\": \"2019-12-15 14:54:13\",\n            \"updated_at\": \"2019-12-15 14:54:13\"\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 10,\n        \"has_more_pages\": false,\n        \"last_page\": 1\n    }\n}"}],"_postman_id":"7d1f376e-0727-491f-afb7-1a31d0060609"},{"name":"Get one application","id":"9d831ff4-c24f-4baf-97e4-7a8670d913cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://reminders-api.com/api/applications/:application_id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","type":"collection"}},"urlObject":{"path":["applications",":application_id"],"host":["https://reminders-api.com/api"],"query":[],"variable":[{"type":"string","value":"4a144f5d-68ef-4784-9f52-31caea0aea68","key":"application_id"}]}},"response":[{"id":"ea950e58-952e-4b32-b08a-af69b2dd30b7","name":"Get one application","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://reminders-api.com/api/applications/:application_id","host":["https://reminders-api.com/api"],"path":["applications",":application_id"],"variable":[{"key":"application_id","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2019 03:28:46 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1\",\n        \"user_id\": \"1\",\n        \"name\": \"Default Application\",\n        \"default_reminder_time_tz\": \"09:30:00\",\n        \"webhook_url\": \"https://a-different-url.com/callback\",\n        \"created_at\": \"2019-12-15 14:54:13\",\n        \"updated_at\": \"2019-12-17 03:26:58\"\n    }\n}"}],"_postman_id":"9d831ff4-c24f-4baf-97e4-7a8670d913cc"},{"name":"Create a reminder","id":"3cf4e42c-315c-4268-958f-fbbab0564454","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"title","value":"Reminder of a specific user","type":"text","description":"<p><strong>Required</strong> - The title of the reminder.</p>\n"},{"key":"timezone","value":"Europe/Helsinki","type":"text","description":"<p><strong>Required</strong> - The timezone for the reminder.</p>\n"},{"key":"date_tz","value":"2020-02-15","type":"text","description":"<p><strong>Required</strong> - Date of the reminder in local timezone.</p>\n"},{"key":"time_tz","value":"09:45","description":"<p><strong>Required</strong> - Time of the reminder in local timezone.</p>\n","type":"text"},{"key":"notify_in_advance","value":"","description":"<p>How much time in advance should the reminder fire (minutes - weeks). Examples of valid values are: \"10 minutes\", \"2 hours\", \"1 day\", \"3 weeks\". An invalid value is \"1 month\".</p>\n","type":"text"},{"key":"rrule","value":"","description":"<p>Recursion rule</p>\n","type":"text"},{"key":"snoozed","value":"","description":"<p>If set to 1 (true), the reminder will not fire.</p>\n","type":"text"}]},"url":"https://reminders-api.com/api/applications/:application_id/reminders/","description":"<p>Create a new reminder.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","type":"collection"}},"urlObject":{"path":["applications",":application_id","reminders",""],"host":["https://reminders-api.com/api"],"query":[],"variable":[{"type":"string","value":"18","key":"application_id"}]}},"response":[{"id":"d7976c82-151e-4c0f-b905-f0cbd5e63652","name":"Create a reminder","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"Basic Reminder\",\n\t\"timezone\": \"Europe/Helsinki\",\n\t\"remind_on_date_tz\": \"2020-02-15\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://reminders-api.com/api/applications/:application_id/reminders/","host":["https://reminders-api.com/api"],"path":["applications",":application_id","reminders",""],"variable":[{"key":"application_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2019 03:31:52 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"user_id\": 1,\n    \"application_id\": 1,\n    \"title\": \"Do something\",\n    \"notes\": null,\n    \"timezone\": \"Europe/Helsinki\",\n    \"date_tz\": \"2021-06-04\",\n    \"time_tz\": \"19:54:00\",\n    \"rrule\": null,\n    \"notify_in_advance\": null,\n    \"next_tz\": \"2021-06-04 19:54:00\",\n    \"next_utc\": \"2021-06-04 16:54:00\",\n    \"snoozed\": 0,\n    \"created_at\": \"2020-10-07T17:09:22.000000Z\",\n    \"updated_at\": \"2020-10-07T17:09:22.000000Z\"\n}"}],"_postman_id":"3cf4e42c-315c-4268-958f-fbbab0564454"},{"name":"Update a reminder","id":"a1019199-cfa3-48f8-ade5-0fabe6d2401b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"timezone\": \"Europe/tallinn\",\n\t\"date_tz\": \"2019-12-17\",\n\t\"time_tz\": \"15:42:00\"\n}","options":{"raw":{"language":"json"}}},"url":"https://reminders-api.com/api/reminders/:reminder_id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","type":"collection"}},"urlObject":{"path":["reminders",":reminder_id"],"host":["https://reminders-api.com/api"],"query":[],"variable":[{"type":"string","value":"1","key":"reminder_id"}]}},"response":[{"id":"ec147495-e8b5-4710-b1bd-225970f052fd","name":"Update a reminder","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"repeat_every\": null,\n\t\"timezone\": \"Europe/tallinn\",\n\t\"remind_on_date_tz\": \"2019-12-17\",\n\t\"remind_on_time_tz\": \"15:42:00\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://reminders-api.com/api/reminders/:reminder_id","host":["https://reminders-api.com/api"],"path":["reminders",":reminder_id"],"variable":[{"key":"reminder_id","value":"1"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"user_id\": 1,\n    \"application_id\": 1,\n    \"title\": \"Do something\",\n    \"notes\": null,\n    \"timezone\": \"Europe/Tallinn\",\n    \"date_tz\": \"2020-10-07\",\n    \"time_tz\": \"19:59:00\",\n    \"rrule\": \"FREQ=DAILY\",\n    \"notify_in_advance\": null,\n    \"next_tz\": \"2020-10-08 19:59:00\",\n    \"next_utc\": \"2020-10-08 16:59:00\",\n    \"snoozed\": 0,\n    \"created_at\": \"2020-10-07T16:53:11.000000Z\",\n    \"updated_at\": \"2020-10-07T17:10:17.000000Z\"\n}"}],"_postman_id":"a1019199-cfa3-48f8-ade5-0fabe6d2401b"},{"name":"Delete a reminder","id":"c1a862f7-ed47-44ff-8fc0-23b9bfa02f9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":"https://reminders-api.com/api/reminders/:reminder_id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","type":"collection"}},"urlObject":{"path":["reminders",":reminder_id"],"host":["https://reminders-api.com/api"],"query":[],"variable":[{"type":"string","value":"1","key":"reminder_id"}]}},"response":[{"id":"bd042c58-2a68-435a-b570-ac844108fb9c","name":"Delete a reminder","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"https://reminders-api.com/api/reminders/:reminder_id","host":["https://reminders-api.com/api"],"path":["reminders",":reminder_id"],"variable":[{"key":"reminder_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2019 03:34:33 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Reminder deleted.\"\n}"}],"_postman_id":"c1a862f7-ed47-44ff-8fc0-23b9bfa02f9e"},{"name":"Get all reminders","id":"96284c67-56f4-4e3d-9db9-28ff7b14e66c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://reminders-api.com/api/reminders","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","type":"collection"}},"urlObject":{"path":["reminders"],"host":["https://reminders-api.com/api"],"query":[],"variable":[]}},"response":[{"id":"f41905c8-3c10-4430-9a5e-89367587e716","name":"Get all reminders","originalRequest":{"method":"GET","header":[],"url":"https://reminders-api.com/api/reminders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2019 03:34:44 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"user_id\": 1,\n            \"application_id\": 1,\n            \"title\": \"Do something\",\n            \"notes\": null,\n            \"timezone\": \"Europe/Helsinki\",\n            \"date_tz\": \"2021-06-04\",\n            \"time_tz\": \"19:54:00\",\n            \"rrule\": null,\n            \"notify_in_advance\": null,\n            \"next_tz\": \"2021-06-04 19:54:00\",\n            \"next_utc\": \"2021-06-04 16:54:00\",\n            \"snoozed\": 0,\n            \"created_at\": \"2020-10-07T17:09:22.000000Z\",\n            \"updated_at\": \"2020-10-07T17:09:22.000000Z\"\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 25,\n        \"has_more_pages\": false,\n        \"last_page\": 1\n    }\n}"}],"_postman_id":"96284c67-56f4-4e3d-9db9-28ff7b14e66c"},{"name":"Get one reminder","id":"24141439-252b-40ed-b67c-600ed3a20ed9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://reminders-api.com/api/reminders/:reminder_id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","type":"collection"}},"urlObject":{"path":["reminders",":reminder_id"],"host":["https://reminders-api.com/api"],"query":[],"variable":[{"type":"string","value":"1","key":"reminder_id"}]}},"response":[{"id":"a1b5721f-ac13-41c1-8d75-855a9ea9bfef","name":"Get one reminder","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://reminders-api.com/api/reminders/:reminder_id","host":["https://reminders-api.com/api"],"path":["reminders",":reminder_id"],"variable":[{"key":"reminder_id","value":"2"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"user_id\": 1,\n    \"application_id\": 1,\n    \"title\": \"Do something\",\n    \"notes\": null,\n    \"timezone\": \"Europe/Helsinki\",\n    \"date_tz\": \"2021-06-04\",\n    \"time_tz\": \"19:54:00\",\n    \"rrule\": null,\n    \"notify_in_advance\": null,\n    \"next_tz\": \"2021-06-04 19:54:00\",\n    \"next_utc\": \"2021-06-04 16:54:00\",\n    \"snoozed\": 0,\n    \"created_at\": \"2020-10-07T17:09:22.000000Z\",\n    \"updated_at\": \"2020-10-07T17:09:22.000000Z\"\n}"}],"_postman_id":"24141439-252b-40ed-b67c-600ed3a20ed9"},{"name":"Complete a reminder","id":"1c2d0283-579b-44fd-a017-f743e17970aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://reminders-api.com/api/reminders/:reminder_id/complete","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","type":"collection"}},"urlObject":{"path":["reminders",":reminder_id","complete"],"host":["https://reminders-api.com/api"],"query":[],"variable":[{"type":"string","value":"1","key":"reminder_id"}]}},"response":[],"_postman_id":"1c2d0283-579b-44fd-a017-f743e17970aa"},{"name":"Get reminders for an application","id":"5f4ba2d6-6db3-4786-8a34-12d7e284cef5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://reminders-api.com/api/applications/:application_id/reminders","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"27fc544d-1054-4e48-a505-af3d95b46738","id":"27fc544d-1054-4e48-a505-af3d95b46738","name":"Reminders API","type":"collection"}},"urlObject":{"path":["applications",":application_id","reminders"],"host":["https://reminders-api.com/api"],"query":[],"variable":[{"type":"string","value":"1","key":"application_id"}]}},"response":[{"id":"65378836-d07e-434d-86ac-8fa4472bacc0","name":"Get reminders for an application","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://reminders-api.com/api/applications/:application_id/reminders","host":["https://reminders-api.com/api"],"path":["applications",":application_id","reminders"],"variable":[{"key":"application_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Tue, 17 Dec 2019 03:35:23 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 2,\n            \"user_id\": 1,\n            \"application_id\": 1,\n            \"title\": \"Do something\",\n            \"notes\": null,\n            \"timezone\": \"Europe/Helsinki\",\n            \"date_tz\": \"2021-06-04\",\n            \"time_tz\": \"19:54:00\",\n            \"rrule\": null,\n            \"notify_in_advance\": null,\n            \"next_tz\": \"2021-06-04 19:54:00\",\n            \"next_utc\": \"2021-06-04 16:54:00\",\n            \"snoozed\": 0,\n            \"created_at\": \"2020-10-07T17:09:22.000000Z\",\n            \"updated_at\": \"2020-10-07T17:09:22.000000Z\"\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"per_page\": 25,\n        \"has_more_pages\": false,\n        \"last_page\": 1\n    }\n}"}],"_postman_id":"5f4ba2d6-6db3-4786-8a34-12d7e284cef5"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"13cd0268-5d89-4d0e-9d6b-0a604395375a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"67514d3e-1604-4150-8a1e-53d0749a2da9","type":"text/javascript","exec":[""]}}],"variable":[{"key":"base_url","value":"https://reminders-api.com/api"},{"key":"base_url","value":"https://reminders-api.test/api","disabled":true}]}