{"info":{"_postman_id":"1d1a8a64-4721-4498-b2b3-7da9750838c1","name":"Thanks.IO Public API v1 (Deprecated)","description":"<html><head></head><body><p>Utilizing OAuth2 for authentication. You can generate \"clients\" or \"personal access tokens\" in the ThanksIO dashbaord in the user menu under API Access. </p>\n<p>API Clients: Similar to Facebook Login, where the user's can authenticate themselves and perform various actions.</p>\n<p>Personal access token: An easy way to authenticate a single ThanksIO account.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"4566474","collectionId":"1d1a8a64-4721-4498-b2b3-7da9750838c1","publishedId":"RWMHL73o","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"F24124"},"publishDate":"2018-07-23T02:01:27.000Z"},"item":[{"name":"Recipients","item":[{"name":"Create a recipient","id":"dde286fe-ff7f-4b04-8a10-7f014139294c","request":{"method":"POST","header":[{"key":"","value":""},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"mailing_list\": 1,\n  \"name\":\"Tobias\",\n  \"address\":\"7779 QUIVIRA RD\",\n  \"address2\":null,\n  \"city\":\"LENEXA\",\n  \"province\":\"KS\",\n  \"postal_code\":\"66216\",\n  \"country\":\"us\",\n  \"dob\":\"04/23/1981\",\n  \"custom1\":null,\n  \"custom2\":null\n}"},"url":"https://api.thanks.io/api/recipients","description":"<p>Add a recipient</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}]},"isInherited":true,"source":{"_postman_id":"1d1a8a64-4721-4498-b2b3-7da9750838c1","id":"1d1a8a64-4721-4498-b2b3-7da9750838c1","name":"Thanks.IO Public API v1 (Deprecated)","type":"collection"}},"urlObject":{"protocol":"https","path":["api","recipients"],"host":["api","thanks","io"],"query":[],"variable":[]}},"response":[{"id":"aec5d592-40ca-46e9-9751-e61b4300b36c","name":"Create a recipient","originalRequest":{"method":"POST","header":[{"key":"","value":""},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"id\":1,\n\t\"mailing_list\": 1,\n\t\"name\":\"Tobias\",\n\t\"address\":\"7779 QUIVIRA RD\",\n\t\"address2\":null,\n\t\"city\":\"LENEXA\",\n\t\"province\":\"KS\",\n\t\"postal_code\":\"66216\",\n\t\"country\":\"us\",\n\t\"dob\":\"04/23/1981\",\n\t\"custom1\":null,\n\t\"custom2\":null\n}"},"url":"https://api.thanks.io/api/recipients"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 01 Jun 2018 21:52:23 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.13.6","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"60","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"57","name":"X-RateLimit-Remaining","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"api.thanks.io","path":"/","secure":false,"value":"eyJpdiI6IjhIeUU2bFFOdWVvMWU5OFlpM05JVGc9PSIsInZhbHVlIjoiV2d0b0d3SEg3ZDh4NVFZZVJPOHBWOWdOTVJaWlQ3UWlcL0xhZ21GZTY0Z0hZZTBIMEpta3NEaVBSM0Qwa24xT25LVDVlVGNkUTY0RFY1Nk1NRXUzbDJ3PT0iLCJtYWMiOiJlNDQ0Yzk3YzAzZGRjNzg2NzI3N2ZmMGU4NTc5MTAxMDliNjUyOThhM2FlZjE4NWEwNzFmODVhMTUyNTY5Mjg4In0%3D","key":"XSRF-TOKEN"},{"expires":"Invalid Date","httpOnly":true,"domain":"api.thanks.io","path":"/","secure":false,"value":"eyJpdiI6Im5TSWwyQmVKbTQ1Z0N5NVZGKzl0T0E9PSIsInZhbHVlIjoiTE10WjU3XC9MMmtWcFRZWkp1dVpsa1JJRFlWNDFkS1A3dmE5TVhcL3ZPYmhJVUJvTUtGWG55UXA5Y2wzRGNhRVNvNVc4MkVtTDRGblwveFNUcVkyNkxJWnc9PSIsIm1hYyI6ImQ3ZDdhODA1NDZiNWIzMWI0NTQ4YzAzNGVkYzQ0YjdjZWQ2NDFhMjZmNzczYjgwYzg1ZDQxMmYxODY0YjFmZGMifQ%3D%3D","key":"thanksio_session"}],"responseTime":null,"body":"{\"name\":\"Tobias\",\"address\":\"7779 QUIVIRA RD\",\"city\":\"LENEXA\",\"province\":\"KS\",\"postal_code\":\"66216\",\"dob\":\"04\\/23\\/1981\",\"custom1\":null,\"custom2\":null,\"mailing_list_id\":1,\"can_deliver\":true,\"deliverability\":\"deliverable\",\"updated_at\":\"2018-06-01 21:52:23\",\"created_at\":\"2018-06-01 21:52:23\",\"id\":5}"}],"_postman_id":"dde286fe-ff7f-4b04-8a10-7f014139294c"},{"name":"Get a recipients details","id":"f89abb82-3be2-4489-b1ea-b0126fe2ecaf","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.thanks.io/api/recipients/1","description":"<p>Gets a specific recipient by ID</p>\n","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}]},"isInherited":true,"source":{"_postman_id":"1d1a8a64-4721-4498-b2b3-7da9750838c1","id":"1d1a8a64-4721-4498-b2b3-7da9750838c1","name":"Thanks.IO Public API v1 (Deprecated)","type":"collection"}},"urlObject":{"protocol":"https","path":["api","recipients","1"],"host":["api","thanks","io"],"query":[],"variable":[]}},"response":[{"id":"afc02721-7397-43ca-b2ba-7bf107af79d6","name":"Get a recipients details","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.thanks.io/api/recipients/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 01 Jun 2018 21:53:48 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.13.6","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"60","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"57","name":"X-RateLimit-Remaining","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"api.thanks.io","path":"/","secure":false,"value":"eyJpdiI6IjhIeUU2bFFOdWVvMWU5OFlpM05JVGc9PSIsInZhbHVlIjoiV2d0b0d3SEg3ZDh4NVFZZVJPOHBWOWdOTVJaWlQ3UWlcL0xhZ21GZTY0Z0hZZTBIMEpta3NEaVBSM0Qwa24xT25LVDVlVGNkUTY0RFY1Nk1NRXUzbDJ3PT0iLCJtYWMiOiJlNDQ0Yzk3YzAzZGRjNzg2NzI3N2ZmMGU4NTc5MTAxMDliNjUyOThhM2FlZjE4NWEwNzFmODVhMTUyNTY5Mjg4In0%3D","key":"XSRF-TOKEN"},{"expires":"Invalid Date","httpOnly":true,"domain":"api.thanks.io","path":"/","secure":false,"value":"eyJpdiI6Im5TSWwyQmVKbTQ1Z0N5NVZGKzl0T0E9PSIsInZhbHVlIjoiTE10WjU3XC9MMmtWcFRZWkp1dVpsa1JJRFlWNDFkS1A3dmE5TVhcL3ZPYmhJVUJvTUtGWG55UXA5Y2wzRGNhRVNvNVc4MkVtTDRGblwveFNUcVkyNkxJWnc9PSIsIm1hYyI6ImQ3ZDdhODA1NDZiNWIzMWI0NTQ4YzAzNGVkYzQ0YjdjZWQ2NDFhMjZmNzczYjgwYzg1ZDQxMmYxODY0YjFmZGMifQ%3D%3D","key":"thanksio_session"}],"responseTime":null,"body":"{\"id\":1,\"mailing_list_id\":1,\"session_id\":null,\"name\":\"Robert Kehoe\",\"address\":\"14352 METCALF AVE\",\"address2\":null,\"city\":\"OVERLAND PARK\",\"province\":\"KS\",\"postal_code\":\"66223\",\"country\":\"us\",\"dob\":null,\"custom1\":null,\"custom2\":null,\"deliverability\":\"deliverable\",\"can_deliver\":1,\"created_at\":\"2018-05-29 15:54:01\",\"updated_at\":\"2018-05-29 15:54:01\",\"mailing_list\":{\"id\":1,\"user_id\":1,\"type\":\"manual\",\"description\":\"Test List\",\"file\":null,\"field_map\":null,\"shape_data\":null,\"total_recipients\":0,\"processed\":1,\"created_at\":\"3 days ago\",\"updated_at\":\"2018-05-29 15:53:46\"}}"}],"_postman_id":"f89abb82-3be2-4489-b1ea-b0126fe2ecaf"},{"name":"Update recipient","id":"0bec403d-27e9-4ade-a419-757afc3edb4f","request":{"method":"PUT","header":[{"key":"","value":""},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id\":1,\n  \"name\":\"Tobias\",\n  \"address\":\"7779 QUIVIRA RD\",\n  \"address2\":null,\n  \"city\":\"LENEXA\",\n  \"province\":\"KS\",\n  \"postal_code\":\"66216\",\n  \"country\":\"us\",\n  \"dob\":\"04/23/1981\",\n  \"custom1\":null,\n  \"custom2\":null\n}"},"url":"https://api.thanks.io/api/recipients/1","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}]},"isInherited":true,"source":{"_postman_id":"1d1a8a64-4721-4498-b2b3-7da9750838c1","id":"1d1a8a64-4721-4498-b2b3-7da9750838c1","name":"Thanks.IO Public API v1 (Deprecated)","type":"collection"}},"urlObject":{"protocol":"https","path":["api","recipients","1"],"host":["api","thanks","io"],"query":[],"variable":[]}},"response":[{"id":"15fba227-5ab9-4acf-b833-826cf6c73db1","name":"Update recipient","originalRequest":{"method":"PUT","header":[{"key":"","value":""},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"id\":1,\n\t\"name\":\"Tobias\",\n\t\"address\":\"7779 QUIVIRA RD\",\n\t\"address2\":null,\n\t\"city\":\"LENEXA\",\n\t\"province\":\"KS\",\n\t\"postal_code\":\"66216\",\n\t\"country\":\"us\",\n\t\"dob\":\"04/23/1981\",\n\t\"custom1\":null,\n\t\"custom2\":null\n}"},"url":"https://api.thanks.io/api/recipients/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-cache, private","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Type","value":"application/json","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Fri, 01 Jun 2018 21:54:48 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"Server","value":"nginx/1.13.6","name":"Server","description":"A name for the server"},{"key":"Transfer-Encoding","value":"chunked","name":"Transfer-Encoding","description":"The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity."},{"key":"X-RateLimit-Limit","value":"60","name":"X-RateLimit-Limit","description":"Custom header"},{"key":"X-RateLimit-Remaining","value":"59","name":"X-RateLimit-Remaining","description":"Custom header"}],"cookie":[{"expires":"Invalid Date","httpOnly":false,"domain":"api.thanks.io","path":"/","secure":false,"value":"eyJpdiI6IjhIeUU2bFFOdWVvMWU5OFlpM05JVGc9PSIsInZhbHVlIjoiV2d0b0d3SEg3ZDh4NVFZZVJPOHBWOWdOTVJaWlQ3UWlcL0xhZ21GZTY0Z0hZZTBIMEpta3NEaVBSM0Qwa24xT25LVDVlVGNkUTY0RFY1Nk1NRXUzbDJ3PT0iLCJtYWMiOiJlNDQ0Yzk3YzAzZGRjNzg2NzI3N2ZmMGU4NTc5MTAxMDliNjUyOThhM2FlZjE4NWEwNzFmODVhMTUyNTY5Mjg4In0%3D","key":"XSRF-TOKEN"},{"expires":"Invalid Date","httpOnly":true,"domain":"api.thanks.io","path":"/","secure":false,"value":"eyJpdiI6Im5TSWwyQmVKbTQ1Z0N5NVZGKzl0T0E9PSIsInZhbHVlIjoiTE10WjU3XC9MMmtWcFRZWkp1dVpsa1JJRFlWNDFkS1A3dmE5TVhcL3ZPYmhJVUJvTUtGWG55UXA5Y2wzRGNhRVNvNVc4MkVtTDRGblwveFNUcVkyNkxJWnc9PSIsIm1hYyI6ImQ3ZDdhODA1NDZiNWIzMWI0NTQ4YzAzNGVkYzQ0YjdjZWQ2NDFhMjZmNzczYjgwYzg1ZDQxMmYxODY0YjFmZGMifQ%3D%3D","key":"thanksio_session"}],"responseTime":null,"body":"{\"id\":1,\"mailing_list_id\":1,\"session_id\":null,\"name\":\"Tobias\",\"address\":\"7779 QUIVIRA RD\",\"address2\":null,\"city\":\"LENEXA\",\"province\":\"KS\",\"postal_code\":\"66216\",\"country\":\"us\",\"dob\":\"04\\/23\\/1981\",\"custom1\":null,\"custom2\":null,\"deliverability\":\"deliverable\",\"can_deliver\":true,\"created_at\":\"2018-05-29 15:54:01\",\"updated_at\":\"2018-06-01 21:54:48\",\"mailing_list\":{\"id\":1,\"user_id\":1,\"type\":\"manual\",\"description\":\"Test List\",\"file\":null,\"field_map\":null,\"shape_data\":null,\"total_recipients\":0,\"processed\":1,\"created_at\":\"3 days ago\",\"updated_at\":\"2018-05-29 15:53:46\"}}"}],"_postman_id":"0bec403d-27e9-4ade-a419-757afc3edb4f"},{"name":"Delete a recipient","id":"bca01e4a-e44e-403f-a52e-6cd32c88f0f4","request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"https://api.thanks.io/api/recipients/1","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}]},"isInherited":true,"source":{"_postman_id":"1d1a8a64-4721-4498-b2b3-7da9750838c1","id":"1d1a8a64-4721-4498-b2b3-7da9750838c1","name":"Thanks.IO Public API v1 (Deprecated)","type":"collection"}},"urlObject":{"protocol":"https","path":["api","recipients","1"],"host":["api","thanks","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"bca01e4a-e44e-403f-a52e-6cd32c88f0f4"}],"id":"df569f22-ec9f-4cb2-b46e-e15f87d9f794","_postman_id":"df569f22-ec9f-4cb2-b46e-e15f87d9f794","description":"","auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}]},"isInherited":true,"source":{"_postman_id":"1d1a8a64-4721-4498-b2b3-7da9750838c1","id":"1d1a8a64-4721-4498-b2b3-7da9750838c1","name":"Thanks.IO Public API v1 (Deprecated)","type":"collection"}}},{"name":"Send Postcard (Single)","id":"e5e0d071-1d64-4683-8b74-88547034e2a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Sample Name","type":"text"},{"key":"address","value":"123 Main Street, Sample City, NY 10001","type":"text"},{"key":"message","value":"","description":"<p>(optional) Message to use on back of card.</p>\n","type":"text"},{"key":"message_id","value":"","description":"<p>(optional) Message Template ID to use for back of card.</p>\n","type":"text"},{"key":"front_image_url","value":"","description":"<p>(optional) Front Image URL to use for front of card.</p>\n","type":"text"},{"key":"image_id","value":"","description":"<p>(optional) Front Image ID to use for front of card.</p>\n","type":"text"}]},"url":"https://api.thanks.io/api/postcard/send/single","urlObject":{"protocol":"https","path":["api","postcard","send","single"],"host":["api","thanks","io"],"query":[],"variable":[]}},"response":[],"_postman_id":"e5e0d071-1d64-4683-8b74-88547034e2a2"}],"auth":{"type":"oauth2","oauth2":{"basicConfig":[{"key":"accessToken","value":"<access-token>"}]}},"event":[{"listen":"prerequest","script":{"id":"40ce8669-c25e-46e6-bde2-581d53fa6b80","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"21fa2634-a951-4c57-8180-ddceb0d9d30e","type":"text/javascript","exec":[""]}}]}