{"info":{"_postman_id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","name":"Incent API (v1)","description":"<html><head></head><body><h1 id=\"about\">About</h1>\n<p>We are a company with the goal of making reward programs accessible to all businesses. Through our unique platform, we aim to enhance the satisfaction of your team, collaborators, and customers with a simple, agile, and innovative management solution.</p>\n<h1 id=\"get-started-here\">🚀 Get started here</h1>\n<p>This is the official Incent API documentation.</p>\n<h2 id=\"authentication\"><strong>Authentication</strong></h2>\n<p>To ensure the security and privacy of your data, our API requires authentication for every request. Authentication is performed by including a token in the header of your request. This ensures that only authorized users can access the resources of the Incent.</p>\n<h4 id=\"step-1-obtaining-your-api-key\"><strong>Step 1: Obtaining your API Key</strong></h4>\n<ol>\n<li><p><strong>Login</strong>: Access your account on the Incent: <a href=\"https://app.incent.mx\">https://app.incent.mx</a></p>\n</li>\n<li><p><strong>Navigate to API Tokens</strong>: Go to the “API Tokens” section in your user profile.</p>\n</li>\n<li><p><strong>Create Token</strong>: Click on “Create New Token” and provide a name for the token and set the permissions.</p>\n</li>\n<li><p><strong>Save Token</strong>: After creation, your new API token will be displayed. Copy and store it securely, as it will only be shown once.</p>\n</li>\n</ol>\n<h4 id=\"step-2-using-api-key\"><strong>Step 2: Using API Key</strong></h4>\n<ol>\n<li><p><strong>Include in Headers</strong>: For each API request, include your token in the request headers.</p>\n</li>\n<li><p><strong>Header Format</strong>: Use the following format:<br> <code>Authorization: Bearer YOUR_API_TOKEN</code></p>\n</li>\n<li><p><strong>Make Requests</strong>: Ensure the token is sent with every API request to authenticate and access the resources securely.</p>\n</li>\n</ol>\n<h4 id=\"step-3-set-url-ambient\"><strong>Step 3: Set URL Ambient</strong></h4>\n<ol>\n<li><p><strong>Staging</strong>: <a href=\"https://staging.app.incent.mx\">https://staging.app.incent.mx</a></p>\n</li>\n<li><p><strong>Production</strong>: <a href=\"https://app.incent.mx\">https://app.incent.mx</a></p>\n</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"About","slug":"about"},{"content":"🚀 Get started here","slug":"get-started-here"}],"owner":"3209541","collectionId":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","publishedId":"2sA3e5c7oR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"427ADB"},"publishDate":"2024-07-11T18:34:36.000Z"},"item":[{"name":"Gift cards","item":[{"name":"List Gift Cards","event":[{"listen":"test","script":{"id":"0003f6d6-6583-4148-a194-b15e0665a359","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"49149a39-1f02-42cd-8000-ae18c19ea6f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"campaign\": 67,\n    \"supplier\": \"amazon\",\n    \"per_page\" : 1\n}","options":{"raw":{"language":"json"}}},"url":"https://app.incent.mx/api/v1/giftcards","description":"<p>Retrieve a list of GiftCards with details.</p>\n<p><strong>Parameters</strong>:</p>\n<ul>\n<li><strong>status</strong>: string, optional. Filter by status of the GiftCard. Allowed values: claimed, purchased. Example: claimed</li>\n<li><strong>per_page</strong>: integer, optional. Number of results per page. Minimum: 1, Maximum: 50. Example: 10</li>\n<li><strong>campaign</strong>: integer, optional. Filter by campaign ID. Example: 1</li>\n<li><strong>supplier</strong>: string, optional. Filter by supplier of the GiftCard. Allowed values: amazon, uber, vix, airbnb. Example: amazon</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","name":"Incent API (v1)","type":"collection"}},"urlObject":{"path":["api","v1","giftcards"],"host":["https://app.incent.mx"],"query":[],"variable":[]}},"response":[{"id":"9ec1d357-161d-4a3f-95fa-411155dd2ff3","name":"List Gift Cards","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"campaign\": 67,\n    \"supplier\": \"amazon\",\n    \"per_page\" : 1\n}","options":{"raw":{"language":"json"}}},"url":"https://app.incent.mx/api/v1/giftcards"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.4"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 11 Jul 2024 17:19:00 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 8129,\n            \"name\": \"John\",\n            \"lastname\": \"Doe\",\n            \"mobile\": \"3316788934\",\n            \"email\": null,\n            \"supplier\": \"amazon\",\n            \"product\": \"amazon\",\n            \"amount\": \"200.00\",\n            \"giftcard_code\": \"CA6K-DUFFJ8-KHAN\",\n            \"campaign\": {\n                \"id\": 67,\n                \"name\": \"Cicero Padberg\",\n                \"description\": \"Pigeon; 'but I haven't been invited yet.' 'You'll see me there,' said the Footman, and began by taking the little creature down, and felt quite strange at first; but she knew that were of the.\",\n                \"start_date\": \"1974-11-29\",\n                \"end_date\": \"2012-03-23\",\n                \"status\": \"active\",\n                \"created_at\": \"2023-02-21 18:02:14\",\n                \"updated_at\": \"2023-02-21 18:02:14\"\n            },\n            \"notes\": \"Notes\",\n            \"status\": \"claimed\",\n            \"created_at\": \"2024-07-11 01:23:57\",\n            \"updated_at\": \"2024-07-11 01:23:57\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"https://app.incent.mx/api/v1/giftcards?page=1\",\n        \"last\": \"https://app.incent.mx/api/v1/giftcards?page=6\",\n        \"prev\": null,\n        \"next\": \"https://app.incent.mx/api/v1/giftcards?page=2\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 6,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Anterior\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/giftcards?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/giftcards?page=2\",\n                \"label\": \"2\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/giftcards?page=3\",\n                \"label\": \"3\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/giftcards?page=4\",\n                \"label\": \"4\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/giftcards?page=5\",\n                \"label\": \"5\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/giftcards?page=6\",\n                \"label\": \"6\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/giftcards?page=2\",\n                \"label\": \"Siguiente &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"https://app.incent.mx/api/v1/giftcards\",\n        \"per_page\": 1,\n        \"to\": 1,\n        \"total\": 6\n    }\n}"}],"_postman_id":"49149a39-1f02-42cd-8000-ae18c19ea6f9"},{"name":"Show Gift Card","event":[{"listen":"test","script":{"id":"0003f6d6-6583-4148-a194-b15e0665a359","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"40a40fac-ba62-47aa-bdb0-bb5992453270","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.incent.mx/api/v1/giftcards/8129","description":"<p>Retrieve details of a specific GiftCard.</p>\n<p><strong>Parameters</strong>:</p>\n<ul>\n<li><strong>id</strong>: integer, required. The ID of the GiftCard to retrieve. Example: 1</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","name":"Incent API (v1)","type":"collection"}},"urlObject":{"path":["api","v1","giftcards","8129"],"host":["https://app.incent.mx"],"query":[],"variable":[]}},"response":[{"id":"8a076a42-8e7e-4c4a-be0c-0fc53a2ad242","name":"Show Gift Card","originalRequest":{"method":"GET","header":[],"url":"https://app.incent.mx/api/v1/giftcards/8129"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.4"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 11 Jul 2024 17:21:13 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 8129,\n        \"name\": \"John\",\n        \"lastname\": \"Doe\",\n        \"mobile\": \"3316788934\",\n        \"email\": null,\n        \"supplier\": \"amazon\",\n        \"product\": \"amazon\",\n        \"amount\": \"200.00\",\n        \"giftcard_code\": \"CA6K-DUFFJ8-KHAN\",\n        \"campaign\": {\n            \"id\": 67,\n            \"name\": \"Cicero Padberg\",\n            \"description\": \"Pigeon; 'but I haven't been invited yet.' 'You'll see me there,' said the Footman, and began by taking the little creature down, and felt quite strange at first; but she knew that were of the.\",\n            \"start_date\": \"1974-11-29\",\n            \"end_date\": \"2012-03-23\",\n            \"status\": \"active\",\n            \"created_at\": \"2023-02-21 18:02:14\",\n            \"updated_at\": \"2023-02-21 18:02:14\"\n        },\n        \"notes\": \"Notes\",\n        \"status\": \"claimed\",\n        \"created_at\": \"2024-07-11 01:23:57\",\n        \"updated_at\": \"2024-07-11 01:23:57\"\n    }\n}"}],"_postman_id":"40a40fac-ba62-47aa-bdb0-bb5992453270"},{"name":"Create Gift Card","event":[{"listen":"test","script":{"id":"c2bad530-2b25-46e4-bf67-dd24ec868f39","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript","packages":{}}}],"id":"346b14f5-3a1a-46a3-be14-addae1ea0e53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"mobile\": \"1234567890\",\n    \"email\": \"john@example.com\",\n    \"supplier_code\": \"amazon_mx\",\n    \"product_sku\": \"gc-amazon-mx\",\n    \"amount\": 1000,\n    \"campaign\": 142,\n    \"notes\": \"Notes here\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.incent.mx/api/v1/giftcards","description":"<p>Create a new GiftCard with the specified details.</p>\n<p><strong>Parameters</strong>:</p>\n<ul>\n<li><p><strong>name</strong>: string, optional. The name of the recipient. Example: John</p>\n</li>\n<li><p><strong>lastname</strong>: string, optional. The lastname of the recipient. Example: Doe</p>\n</li>\n<li><p><strong>mobile</strong>: string, optional. The mobile number of the recipient. Example: 1234567890</p>\n</li>\n<li><p><strong>email</strong>: string, optional. The email of the recipient. Example: <a href=\"https://mailto:john@example.com\">john@example.com</a></p>\n</li>\n<li><p><strong>supplier_code</strong>: string, required. Check your dashboard to find the allowed suppliers and their associated products. Example: amazon_mx</p>\n</li>\n<li><p><strong>product_sku</strong>: string, required. Check your dashboard to find the allowed suppliers and their associated products. Example: gc-amazon-mx</p>\n</li>\n<li><p><strong>amount</strong>: integer, required. Check your dashboard to find the minimum and maximum amounts for each supplier. Example: 1000</p>\n</li>\n<li><p><strong>campaign_id</strong>: integer, required. The campaign ID associated with the GiftCard. Example: 1</p>\n</li>\n<li><p><strong>notes</strong>: string, optional. Any notes for the GiftCard. Example: Notes here</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","name":"Incent API (v1)","type":"collection"}},"urlObject":{"path":["api","v1","giftcards"],"host":["https://app.incent.mx"],"query":[],"variable":[]}},"response":[{"id":"8f873bbd-20b4-4138-8715-22f76be02e4b","name":"Create Gift Card","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"John\",\n    \"lastname\": \"Doe\",\n    \"mobile\": \"1234567890\",\n    \"email\": \"john@example.com\",\n    \"supplier_code\": \"amazon_mx\",\n    \"product_sku\": \"gc-amazon-mx\",\n    \"amount\": 1000,\n    \"campaign\": 142,\n    \"notes\": \"Notes here\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.incent.mx/api/v1/giftcards"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.4"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.3.17"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 19 Mar 2025 23:35:53 GMT"},{"key":"X-RateLimit-Limit","value":"120"},{"key":"X-RateLimit-Remaining","value":"119"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 8332,\n        \"name\": \"John\",\n        \"lastname\": \"Doe\",\n        \"mobile\": \"1234567890\",\n        \"email\": \"john@example.com\",\n        \"supplier\": \"Amazon MX\",\n        \"product\": \"Gift Card Amazon México\",\n        \"currency\": \"MXN\",\n        \"country\": \"México\",\n        \"amount\": \"1000.00\",\n        \"giftcard_code\": \"GPGK-TCH3MD-9DAM\",\n        \"campaign\": {\n            \"id\": 142,\n            \"name\": \"Miss Margarita Ankunding I\",\n            \"description\": \"Alice, in a low voice. 'Not at all,' said Alice: 'she's so extremely--' Just then she remembered how small she was beginning very angrily, but the Mouse had changed his mind, and was surprised to.\",\n            \"start_date\": \"1974-05-16\",\n            \"end_date\": \"2017-07-12\",\n            \"status\": \"active\",\n            \"created_at\": \"2023-02-21 18:02:14\",\n            \"updated_at\": \"2023-02-21 18:02:14\"\n        },\n        \"notes\": \"Notes here\",\n        \"status\": \"claimed\",\n        \"created_at\": \"2025-03-19 23:35:52\",\n        \"updated_at\": \"2025-03-19 23:35:53\"\n    }\n}"}],"_postman_id":"346b14f5-3a1a-46a3-be14-addae1ea0e53"}],"id":"dbd14a0b-3617-407d-b634-9bb384f31cff","description":"<p>The Gift Cards folder contains endpoints for managing gift cards within the Gift App. These endpoints allow you to create, list, and retrieve detailed information about gift cards.</p>\n","_postman_id":"dbd14a0b-3617-407d-b634-9bb384f31cff","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","name":"Incent API (v1)","type":"collection"}}},{"name":"Campaigns","item":[{"name":"List Campaigns","event":[{"listen":"test","script":{"id":"0003f6d6-6583-4148-a194-b15e0665a359","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"e7d7bec3-333d-4890-acf7-9ef41bb72aee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"status\": \"active\",\n    \"per_page\": 1\n\n}","options":{"raw":{"language":"json"}}},"url":"https://app.incent.mx/api/v1/campaigns","description":"<p>Retrieve a list of campaigns with specific filters.</p>\n<p><strong>Parameters</strong>:</p>\n<ul>\n<li><p><strong>status</strong>: string, optional. Filter by status of the campaign. Allowed values: active, inactive. Example: active</p>\n</li>\n<li><p><strong>per_page</strong>: integer, optional. Number of results per page. Minimum: 1, Maximum: 50. Example: 10</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","name":"Incent API (v1)","type":"collection"}},"urlObject":{"path":["api","v1","campaigns"],"host":["https://app.incent.mx"],"query":[],"variable":[]}},"response":[{"id":"5c4f0a97-7a37-4efd-901b-7f73f68867a9","name":"List Campaigns","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n    \"status\": \"active\",\n    \"per_page\": 1\n\n}","options":{"raw":{"language":"json"}}},"url":"https://app.incent.mx/api/v1/campaigns"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.4"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 11 Jul 2024 17:22:57 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 308,\n            \"name\": \"Campaign 109\",\n            \"description\": \"Description here 2\",\n            \"start_date\": \"2024-11-11\",\n            \"end_date\": \"2024-11-12\",\n            \"status\": \"active\",\n            \"created_at\": \"2024-07-10 22:37:01\",\n            \"updated_at\": \"2024-07-10 22:39:40\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"https://app.incent.mx/api/v1/campaigns?page=1\",\n        \"last\": \"https://app.incent.mx/api/v1/campaigns?page=6\",\n        \"prev\": null,\n        \"next\": \"https://app.incent.mx/api/v1/campaigns?page=2\"\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 6,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Anterior\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/campaigns?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/campaigns?page=2\",\n                \"label\": \"2\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/campaigns?page=3\",\n                \"label\": \"3\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/campaigns?page=4\",\n                \"label\": \"4\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/campaigns?page=5\",\n                \"label\": \"5\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/campaigns?page=6\",\n                \"label\": \"6\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://app.incent.mx/api/v1/campaigns?page=2\",\n                \"label\": \"Siguiente &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"https://app.incent.mx/api/v1/campaigns\",\n        \"per_page\": 1,\n        \"to\": 1,\n        \"total\": 6\n    }\n}"}],"_postman_id":"e7d7bec3-333d-4890-acf7-9ef41bb72aee"},{"name":"Show Campaign","event":[{"listen":"test","script":{"id":"0003f6d6-6583-4148-a194-b15e0665a359","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"31c94c44-fb95-4de0-a837-fc67df192249","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://app.incent.mx/api/v1/campaigns/67","description":"<p>Retrieve details of a specific campaign.</p>\n<p><strong>Parameters</strong>:</p>\n<ul>\n<li><strong>id</strong>: integer, required. The ID of the campaign to retrieve. Example: 1</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","name":"Incent API (v1)","type":"collection"}},"urlObject":{"path":["api","v1","campaigns","67"],"host":["https://app.incent.mx"],"query":[],"variable":[]}},"response":[{"id":"f5e4b8c9-aff0-4555-bfa3-f276fb08fd4b","name":"Show Campaign","originalRequest":{"method":"GET","header":[],"url":"https://app.incent.mx/api/v1/campaigns/67"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.4"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 11 Jul 2024 17:24:21 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 67,\n        \"name\": \"Cicero Padberg\",\n        \"description\": \"Pigeon; 'but I haven't been invited yet.' 'You'll see me there,' said the Footman, and began by taking the little creature down, and felt quite strange at first; but she knew that were of the.\",\n        \"start_date\": \"1974-11-29\",\n        \"end_date\": \"2012-03-23\",\n        \"status\": \"active\",\n        \"created_at\": \"2023-02-21 18:02:14\",\n        \"updated_at\": \"2023-02-21 18:02:14\"\n    }\n}"}],"_postman_id":"31c94c44-fb95-4de0-a837-fc67df192249"},{"name":"Create Campaign","event":[{"listen":"test","script":{"id":"c2bad530-2b25-46e4-bf67-dd24ec868f39","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript"}}],"id":"699b3a80-7d22-4839-8b9f-103a69f75105","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Campaign 130\",\n    \"description\": \"Description here\",\n    \"start_date\": \"2024-11-11\",\n    \"end_date\": \"2024-11-12\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.incent.mx/api/v1/campaigns","description":"<p>Create a new campaign with the specified details.  </p>\n<p><strong>Parameters</strong>:</p>\n<ul>\n<li><strong>name</strong>: string, required. The name of the campaign. Example: Campaign 109</li>\n<li><strong>description</strong>: string, required. The description of the campaign. Example: Description here 2</li>\n<li><strong>start_date</strong>: date, required. The start date of the campaign. Example: 2024-11-11</li>\n<li><strong>end_date</strong>: date, required. The end date of the campaign. Example: 2024-11-12</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","name":"Incent API (v1)","type":"collection"}},"urlObject":{"path":["api","v1","campaigns"],"host":["https://app.incent.mx"],"query":[],"variable":[]}},"response":[{"id":"1bc07967-9539-44e2-9496-f73c510d33d1","name":"Create Campaign","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Campaign 130\",\n    \"description\": \"Description here\",\n    \"start_date\": \"2024-11-11\",\n    \"end_date\": \"2024-11-12\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.incent.mx/api/v1/campaigns"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.4"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 11 Jul 2024 17:26:05 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 309,\n        \"name\": \"Campaign 130\",\n        \"description\": \"Description here\",\n        \"start_date\": \"2024-11-11\",\n        \"end_date\": \"2024-11-12\",\n        \"status\": \"active\",\n        \"created_at\": \"2024-07-11 11:26:05\",\n        \"updated_at\": \"2024-07-11 11:26:05\"\n    }\n}"}],"_postman_id":"699b3a80-7d22-4839-8b9f-103a69f75105"},{"name":"Update Campaign","event":[{"listen":"test","script":{"id":"c2bad530-2b25-46e4-bf67-dd24ec868f39","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript"}}],"id":"75e88bf3-ef8b-4fac-8a2c-9fbc63858f48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Campaign 309 change name\",\n    \"description\": \"Description here\",\n    \"start_date\": \"2024-11-11\",\n    \"end_date\": \"2024-11-12\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.incent.mx/api/v1/campaigns/309","description":"<p>Update an existing campaign with the specified details.</p>\n<p><strong>Parameters</strong>:</p>\n<ul>\n<li><p><strong>id</strong>: integer, required. The ID of the campaign to update. Example: 1</p>\n</li>\n<li><p><strong>name</strong>: string, optional. The name of the campaign. Example: Campaign 109 Updated</p>\n</li>\n<li><p><strong>description</strong>: string, optional. The description of the campaign. Example: Updated description</p>\n</li>\n<li><p><strong>start_date</strong>: date, optional. The start date of the campaign. Example: 2024-11-12</p>\n</li>\n<li><p><strong>end_date</strong>: date, optional. The end date of the campaign. Example: 2024-11-13</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","name":"Incent API (v1)","type":"collection"}},"urlObject":{"path":["api","v1","campaigns","309"],"host":["https://app.incent.mx"],"query":[],"variable":[]}},"response":[{"id":"0ba0e96e-9836-449c-8a98-59bb0a2d67ae","name":"Update Campaign","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Campaign 309 change name\",\n    \"description\": \"Description here\",\n    \"start_date\": \"2024-11-11\",\n    \"end_date\": \"2024-11-12\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.incent.mx/api/v1/campaigns/309"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.4"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"X-Powered-By","value":"PHP/8.1.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Thu, 11 Jul 2024 17:26:54 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 309,\n        \"name\": \"Campaign 309 change name\",\n        \"description\": \"Description here\",\n        \"start_date\": \"2024-11-11\",\n        \"end_date\": \"2024-11-12\",\n        \"status\": \"active\",\n        \"created_at\": \"2024-07-11 11:26:05\",\n        \"updated_at\": \"2024-07-11 11:26:54\"\n    }\n}"}],"_postman_id":"75e88bf3-ef8b-4fac-8a2c-9fbc63858f48"}],"id":"9cdce8dd-fff7-4370-bd7e-352e24cc8a83","description":"<p>The Campaigns folder contains endpoints for managing campaigns within the Gift App. These endpoints allow you to list, create, update, and retrieve detailed information about campaigns.</p>\n","_postman_id":"9cdce8dd-fff7-4370-bd7e-352e24cc8a83","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","id":"c5ff5d59-99d0-4c35-b557-07c92a628b3b","name":"Incent API (v1)","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"dd92d855-2a30-45fd-a51f-ac2b738c5279","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7a4134d4-2eab-4222-b704-29a83d04bea8","type":"text/javascript","exec":[""]}}],"variable":[{"key":"id","value":"1"},{"key":"base_url","value":"https://app.incent.mx"},{"key":"version","value":"v1","type":"string"},{"key":"auth_key","value":"","type":"string"}]}