{"info":{"_postman_id":"1431c0b8-95b8-43cb-aaf8-952bf5115869","name":"Datatrics API (deprecated)","description":"# Deprecation notification\n\nWe are deprecating this api after the **1st of December 2024** in favour of our new v3 api ([https://api-v3.datatrics.com/docs](https://api-v3.datatrics.com/docs))\n\n### **Postman**\n\nThe easiest way to start using the Datatrics API is by clicking the Run in Postman button above. Postman is a free tool which helps developers run and API requests. Every endpoint you see documented here is readily available by running our Postman collection.\n\n## Need help?\n\nDatatrics is always around to answer your questions. Send your questions to [api@datatrics.com](https://mailto:api@datatrics.com)\n\n## API Endpoint\n\nThis shows a basic API endpoint. All endpoints are relative to this path.\n\n```\nhttps://api.datatrics.com/2.0/\n\n ```\n\nMost endpoints have their own set of additional parameters. Those can either be added to the endpoint URL or be set as HTTP POST parameters.\n\n## Authentication\n\nThe Datatrics API uses authentication based on a API key. Authenticate your requests when using the API by including your API key in the request.\n\nYour API key carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such GitHub, client-side code etc.\n\nAll API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.\n\n<img src=\"https://www.datatrics.com/content/accountsettings_apikey.PNG\" alt=\"alt text\">\n\n## Response\n\nEvery request gets back a response which contains response headers and response body.\n\n### Response Headers\n\nYou will receive following response headers with every response.\n\n| Response Header | Description |\n| --- | --- |\n| `content-length` | The length of response body |\n| `content-type` | The type of this content |\n\n### Response Body\n\nResponses are always JSON.\n\n## SUCCESS RESPONSE\n\n```\n{\n    \"status\": 200,\n    \"message\": \"successfully removed profile: 1\"\n}\n\n ```\n\n## ERROR RESPONSE\n\n```\n{\n    \"status\": 400,\n    \"message\": \"Invalid request, please provide source as a request parameter.\"\n}\n\n ```\n\n## Response Codes\n\nDatatrics uses HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that failed given the information provided and codes in the 5xx range indicate an error with the Datatrics server (this happens rarely).\n\n| Response Code | Description |\n| --- | --- |\n| 200 | Request successful. |\n| 400 | Invalid request. |\n| 403 | Access is denied because you have not used the proper access token for the request. |\n| 404 | Endpoint URL is invalid. |\n| 424 | The request failed because it depended on another request and that request failed. |\n| 500 | Internal server error. |\n\n# Feedback\n\nWe love feedback, Please give us feedback on this API at [api@datatrics.com](https://mailto:api@datatrics.com). Do you want to be the part of our journey to create the best and simplest API for feedback? Take a look at the Datatrics [career page](https://www.datatrics.com/careers).\n\n# API Reference","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Audience","item":[{"name":"Get Profile","event":[{"listen":"test","script":{"id":"2d815138-de82-4625-aa58-0aac23e5ea07","type":"text/javascript","exec":[""]}}],"id":"55a74709-74ae-47a0-b7fd-93e1d97daba9","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/profile/{{profileid}}","description":"Retrieve a specific profile from your project.\n\n#### Request Parameters\n| Parameter | Required | Description                         |\n| --------- |----------| ----------------------------------- |\n| source    | Required | The source of the requested profile |"},"response":[{"id":"caaf72de-2f2a-4419-91cd-1fb4a3a0eaaf","name":"Get Profile","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://api.datatrics.com/2.0/project/{{projectId}}/profile/{{profileid}}?source={{source}}","protocol":"https","host":["api","datatrics","com"],"path":["2.0","project","{{projectId}}","profile","{{profileid}}"],"query":[{"key":"source","value":"{{source}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n\t\"profileid\": \"1234\",\n\t\"source\": \"twitter\",\n\t\"name\": \"Example Profile\",\n\t\"firstname\": \"Example\",\n\t\"lastname\": \"Profile\",\n\t\"email\": \"example@profile.com\",\n\t\"country\": \"The Netherlands\",\n\t\"created\": \"2018-01-01 12:00:00\",\n\t\"updated\": \"2018-01-02 13:41:21\"\n}"}],"_postman_id":"55a74709-74ae-47a0-b7fd-93e1d97daba9"},{"name":"Get Profiles","id":"53cda996-f6b5-43d4-8689-649cf17fc674","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/profile","description":"Retrieve a list of profiles from your project.\n\n#### Request Parameters\n| Parameter | Required | Description                          |\n| --------- |----------| ------------------------------------ |\n| limit     | Optional | The maximum number of profiles per page. (Defaults to 100) |\n| page      | Optional | The requested page. (Defaults to 1) |\n| sort      | Optional | Sort by specific field. (Defaults to `created`) |\n| order     | Optional | Order by descending (-1) or ascending (1). (Defaults to 1)  |\n| source    | Optional | The source of the requested profiles |"},"response":[{"id":"7513a733-107d-48ed-8fd6-fa3fe76fbc90","name":"Get Profiles","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n\t\"total_elements\": 1,\n\t\"total_pages\": 1,\n\t\"page\": 1,\n\t\"size\": 1,\n\t\"items\": [\n\t\t{\n\t\t  \"profileid\": \"1234\",\n\t\t  \"source\": \"twitter\",\n\t\t  \"name\": \"Example Profile\",\n\t\t  \"firstname\": \"Example\",\n\t\t  \"lastname\": \"Profile\",\n\t\t  \"email\": \"example@profile.com\",\n\t\t  \"country\": \"The Netherlands\",\n\t\t  \"created\": \"2018-01-01 12:00:00\",\n\t\t  \"updated\": \"2018-01-02 13:41:21\"\n\t\t}\t\n\t]\n}"}],"_postman_id":"53cda996-f6b5-43d4-8689-649cf17fc674"},{"name":"Create Profile","event":[{"listen":"test","script":{"id":"2d815138-de82-4625-aa58-0aac23e5ea07","type":"text/javascript","exec":[""]}}],"id":"9d2c91e3-5db0-41b2-8736-9e6888b6dfc4","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n\t\"profileid\": \"1234\",\n\t\"source\": \"twitter\",\n\t\"profile\": {\n\t  \"name\": \"Example Profile\",\n\t  \"firstname\": \"Example\",\n\t  \"lastname\": \"Profile\",\n\t  \"email\": \"example@profile.com\",\n\t  \"country\": \"The Netherlands\",\n\t  \"created\": \"2018-01-01 12:00:00\",\n\t  \"updated\": \"2018-01-02 13:41:21\"\n\t}\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/profile","description":"Add a profile to your project."},"response":[{"id":"97deaf26-7d94-4325-8ce7-f3fe9b4ab2d9","name":"Create Profile","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n\t\"profileid\": \"1234\",\n\t\"source\": \"twitter\",\n\t\"profile\": {\n\t  \"name\": \"Example Profile\",\n\t  \"firstname\": \"Example\",\n\t  \"lastname\": \"Profile\",\n\t  \"email\": \"example@profile.com\",\n\t  \"country\": \"The Netherlands\",\n\t  \"created\": \"2018-01-01 12:00:00\",\n\t  \"updated\": \"2018-01-02 13:41:21\"\n\t}\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/profile"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n\t\"profileid\": \"1234\",\n\t\"source\": \"twitter\",\n\t\"name\": \"Example Profile\",\n\t\"firstname\": \"Example\",\n\t\"lastname\": \"Profile\",\n\t\"email\": \"example@profile.com\",\n\t\"country\": \"The Netherlands\",\n\t\"created\": \"2018-01-01 12:00:00\",\n\t\"updated\": \"2018-01-02 13:41:21\"\n}"}],"_postman_id":"9d2c91e3-5db0-41b2-8736-9e6888b6dfc4"},{"name":"Update Profile","event":[{"listen":"test","script":{"id":"2d815138-de82-4625-aa58-0aac23e5ea07","type":"text/javascript","exec":[""]}}],"id":"c981476c-74a6-471f-8e7c-8ad08c6929b1","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n\t\"profileid\": \"1234\",\n\t\"source\": \"twitter\",\n\t\"profile\": {\n\t  \"name\": \"Example Profile\",\n\t  \"firstname\": \"Example\",\n\t  \"lastname\": \"Profile\",\n\t  \"email\": \"example@profile.com\",\n\t  \"country\": \"The Netherlands\",\n\t  \"created\": \"2018-01-01 12:00:00\",\n\t  \"updated\": \"2018-01-02 13:41:21\"\n\t}\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/profile/{{profileid}}","description":"Update a specific profile from your project."},"response":[{"id":"3c964cf3-121e-43a5-9242-69eef7db0d41","name":"Update Profile","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n\t\"profileid\": \"1234\",\n\t\"source\": \"twitter\",\n\t\"profile\": {\n\t  \"name\": \"Example Profile\",\n\t  \"firstname\": \"Example\",\n\t  \"lastname\": \"Profile\",\n\t  \"email\": \"example@profile.com\",\n\t  \"country\": \"The Netherlands\",\n\t  \"created\": \"2018-01-01 12:00:00\",\n\t  \"updated\": \"2018-01-02 13:41:21\"\n\t}\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/profile/{{profileid}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n\t\"profileid\": \"1234\",\n\t\"source\": \"twitter\",\n\t\"name\": \"Example Profile\",\n\t\"firstname\": \"Example\",\n\t\"lastname\": \"Profile\",\n\t\"email\": \"example@profile.com\",\n\t\"country\": \"The Netherlands\",\n\t\"created\": \"2018-01-01 12:00:00\",\n\t\"updated\": \"2018-01-02 13:41:21\"\n}"}],"_postman_id":"c981476c-74a6-471f-8e7c-8ad08c6929b1"},{"name":"Bulk Create/Update Profile","event":[{"listen":"test","script":{"id":"2d815138-de82-4625-aa58-0aac23e5ea07","exec":[""],"type":"text/javascript"}}],"id":"3cc4245c-3ded-4985-8e6e-32aa4b23c805","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\t\n\t\"profiles\": [\n\t\t{\n\t\t\t\"profileid\": \"1234\",\n\t\t\t\"source\": \"twitter\",\n\t\t\t\"profile\": {\n\t\t\t  \"name\": \"Example Profile\",\n\t\t\t  \"firstname\": \"Example\",\n\t\t\t  \"lastname\": \"Profile\",\n\t\t\t  \"email\": \"example@profile.com\",\n\t\t\t  \"country\": \"The Netherlands\",\n\t\t\t  \"created\": \"2018-01-01 12:00:00\",\n\t\t\t  \"updated\": \"2018-01-02 13:41:21\"\n\t\t\t}\n\t\t}\n\t]\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/profile/bulk","description":"Create and Update profiles from your project."},"response":[{"id":"04df92a7-06c9-4b6a-bf73-a555b9c3ccb5","name":"Bulk Create/Update","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\t\n\t\"profiles\": [\n\t\t{\n\t\t\t\"profileid\": \"1234\",\n\t\t\t\"source\": \"twitter\",\n\t\t\t\"profile\": {\n\t\t\t  \"name\": \"Example Profile\",\n\t\t\t  \"firstname\": \"Example\",\n\t\t\t  \"lastname\": \"Profile\",\n\t\t\t  \"email\": \"example@profile.com\",\n\t\t\t  \"country\": \"The Netherlands\",\n\t\t\t  \"created\": \"2018-01-01 12:00:00\",\n\t\t\t  \"updated\": \"2018-01-02 13:41:21\"\n\t\t\t}\n\t\t}\n\t]\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/profile/bulk"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n\t\"totalElements\": 1,\n\t\"totalPages\": 1,\n\t\"page\": 1,\n\t\"size\": 1,\n\t\"items\": [\n\t\t{\n\t\t\t\"profileid\": \"1234\",\n\t\t\t\"source\": \"twitter\",\n\t\t\t\"name\": \"Example Profile\",\n\t\t\t\"firstname\": \"Example\",\n\t\t\t\"lastname\": \"Profile\",\n\t\t\t\"email\": \"example@profile.com\",\n\t\t\t\"country\": \"The Netherlands\",\n\t\t\t\"created\": \"2018-01-01 12:00:00\",\n\t\t\t\"updated\": \"2018-01-02 13:41:21\"\n\t\t}\t\n\t]\n}"}],"_postman_id":"3cc4245c-3ded-4985-8e6e-32aa4b23c805"}],"id":"30c1801b-7bf4-4289-935b-981597da9025","_postman_id":"30c1801b-7bf4-4289-935b-981597da9025"},{"name":"Content","item":[{"name":"Get Content","id":"7a94f4e2-6d9f-43c5-8890-2ea6e05a5a6f","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/content/{{contentId}}","description":"Retrieve a specific content item from your project.\n\n#### Request Parameters\n| Parameter | Required | Description                         |\n| --------- |----------| ----------------------------------- |\n| source    | Required | The source of the requested content |\n| type      | Required | The type of content. (item or category) |"},"response":[{"id":"d1c514ff-92b8-4fa4-aeb2-fddcc5d8c005","name":"Get Content","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/content/{{contentId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n\t\"id\": \"1234\",\r\n\t\"name\": \"Example content\",\r\n\t\"description\": \"Example content description\",\r\n\t\"short_description\": \"Example content short description\",\r\n\t\"url\": \"https://example.com/product/1234\",\r\n\t\"metadata\": {\r\n\t\t\"source\": \"ExampleCRM\",\r\n\t\t\"created\": \"2018-06-01 02:14:55\",\r\n\t\t\"updated\": \"2018-06-01 02:14:55\",\r\n\t\t\"image\": \"https://example.com/images/product-1234\",\r\n\t\t\"itemtype\": \"product\",\r\n\t\t\"objecttype\": \"item\"\r\n\t}\r\n}"}],"_postman_id":"7a94f4e2-6d9f-43c5-8890-2ea6e05a5a6f"},{"name":"Get Contents","id":"61458d7e-d072-40aa-9081-9b543ae2068d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"url":"https://api.datatrics.com/2.0/project/{{projectId}}/content","description":"Retrieve content from your project.\n\n#### Request Parameters\n| Parameter | Required | Description                         |\n| --------- |----------| ----------------------------------- |\n| type      | Required | The type of content. (item or category) |\n| limit     | Optional | The maximum number of content items per page. (Defaults to 500) |\n| page      | Optional | The requested page. (Defaults to 1) |\n| sort      | Optional | Sort by specific field. (Defaults to `created`) |\n| order     | Optional | Order by descending (-1) or ascending (1). (Defaults to -1)  |"},"response":[{"id":"0f1f3125-dc42-4c32-a900-ac0f1b5f7dd9","name":"Get Contents","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/content"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"totalElements\": 1,\n  \"totalPages\": 1,\n  \"page\": 1,\n  \"size\": 1,\n  \"items\": [\n    {\n\t    \"id\": \"1234\",\n\t    \"name\": \"Example content\",\n\t    \"description\": \"Example content description\",\n\t    \"short_description\": \"Example content short description\",\n\t    \"url\": \"https://example.com/product/1234\",\n\t    \"metadata\": {\n\t        \"source\": \"ExampleCRM\",\n\t        \"created\": \"2018-06-01 02:14:55\",\n\t        \"updated\": \"2018-06-01 02:14:55\",\n\t        \"image\": \"https://example.com/images/product-1234\",\n\t        \"itemtype\": \"product\",\n\t        \"objecttype\": \"item\"\n\t    }\n\t}\n  ]\n}"}],"_postman_id":"61458d7e-d072-40aa-9081-9b543ae2068d"},{"name":"Create Content","id":"6bbb71bc-a3a4-4f6e-82ed-7118268f6300","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"itemid\": \"1234\",\n    \"source\": \"ExampleCRM\", \n    \"item\": {\n\t    \"name\": \"Example content\",\n\t    \"description\": \"Example content description\",\n\t    \"short_description\": \"Example content short description\",\n\t    \"url\": \"https://example.com/product/1234\",\n\t    \"created\": \"2018-06-01 02:14:55\",\n\t    \"updated\": \"2018-06-01 02:14:55\",\n\t    \"image\": \"https://example.com/images/product-1234\"\n    }\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/content","description":"Add content to your your project.\n\n#### Request Parameters\n| Parameter | Required | Description                         |\n| --------- |----------| ----------------------------------- |\n| type      | Required | The type of content. (item or category) |"},"response":[{"id":"8b141b7b-6247-4d10-8c52-9e04dc7c39ba","name":"Create Content","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"itemid\": \"1234\",\n    \"source\": \"ExampleCRM\", \n    \"item\": {\n\t    \"name\": \"Example content\",\n\t    \"description\": \"Example content description\",\n\t    \"short_description\": \"Example content short description\",\n\t    \"url\": \"https://example.com/product/1234\",\n\t    \"created\": \"2018-06-01 02:14:55\",\n\t    \"updated\": \"2018-06-01 02:14:55\",\n\t    \"image\": \"https://example.com/images/product-1234\"\n    }\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/content"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1234\",\n    \"name\": \"Example content\",\n    \"description\": \"Example content description\",\n    \"short_description\": \"Example content short description\",\n    \"url\": \"https://example.com/product/1234\",\n    \"metadata\": {\n        \"source\": \"ExampleCRM\",\n        \"created\": \"2018-06-01 02:14:55\",\n        \"updated\": \"2018-06-01 02:14:55\",\n        \"image\": \"https://example.com/images/product-1234\",\n        \"itemtype\": \"product\",\n        \"objecttype\": \"item\"\n    }\n}"}],"_postman_id":"6bbb71bc-a3a4-4f6e-82ed-7118268f6300"},{"name":"Update Content","id":"17ffeb98-6c4a-470c-bb60-5ebe99af08e8","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"itemid\": \"1234\",\n    \"source\": \"ExampleCRM\", \n    \"item\": {\n\t    \"name\": \"Example content\",\n\t    \"description\": \"Example content description\",\n\t    \"short_description\": \"Example content short description\",\n\t    \"url\": \"https://example.com/product/1234\",\n\t    \"created\": \"2018-06-01 02:14:55\",\n\t    \"updated\": \"2018-06-01 02:14:55\",\n\t    \"image\": \"https://example.com/images/product-1234\"\n    }\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/content/{{contentId}}","description":"Update content from your project.\n\n#### Request Parameters\n| Parameter | Required | Description                         |\n| --------- |----------| ----------------------------------- |\n| type      | Required | The type of content. (item or category) |"},"response":[{"id":"80118a83-425c-49b1-a77e-f5affb35357b","name":"Update Content","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"itemid\": \"1234\",\n    \"source\": \"ExampleCRM\", \n    \"item\": {\n\t    \"name\": \"Example content\",\n\t    \"description\": \"Example content description\",\n\t    \"short_description\": \"Example content short description\",\n\t    \"url\": \"https://example.com/product/1234\",\n\t    \"created\": \"2018-06-01 02:14:55\",\n\t    \"updated\": \"2018-06-01 02:14:55\",\n\t    \"image\": \"https://example.com/images/product-1234\"\n    }\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/content/{{contentId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1234\",\n    \"name\": \"Example content\",\n    \"description\": \"Example content description\",\n    \"short_description\": \"Example content short description\",\n    \"url\": \"https://example.com/product/1234\",\n    \"metadata\": {\n        \"source\": \"ExampleCRM\",\n        \"created\": \"2018-06-01 02:14:55\",\n        \"updated\": \"2018-06-01 02:14:55\",\n        \"image\": \"https://example.com/images/product-1234\",\n        \"itemtype\": \"product\",\n        \"objecttype\": \"item\"\n    }\n}"}],"_postman_id":"17ffeb98-6c4a-470c-bb60-5ebe99af08e8"},{"name":"Bulk Create/Update Content","id":"ec0b6297-53e9-4b6b-b2ed-379af4894c58","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n\t\"items\": [\n\t\t{\n\t\t    \"itemid\": \"1234\",\n\t\t    \"source\": \"ExampleCRM\", \n\t\t    \"item\": {\n\t\t\t    \"name\": \"Example content\",\n\t\t\t    \"description\": \"Example content description\",\n\t\t\t    \"short_description\": \"Example content short description\",\n\t\t\t    \"url\": \"https://example.com/product/1234\",\n\t\t\t    \"created\": \"2018-06-01 02:14:55\",\n\t\t\t    \"updated\": \"2018-06-01 02:14:55\",\n\t\t\t    \"image\": \"https://example.com/images/product-1234\"\n\t\t    }\n\t\t}\n\t]\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/content/bulk","description":"Create and Update content from your project.\n\n#### Request Parameters\n| Parameter | Required | Description                         |\n| --------- |----------| ----------------------------------- |\n| type      | Required | The type of content. (items or categories) |"},"response":[{"id":"7cb8ecdc-171a-4513-bbf4-4c6f238bc0e6","name":"Bulk Create/Update Content","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n\t\"items\": [\n\t\t{\n\t\t    \"itemid\": \"1234\",\n\t\t    \"source\": \"ExampleCRM\", \n\t\t    \"item\": {\n\t\t\t    \"name\": \"Example content\",\n\t\t\t    \"description\": \"Example content description\",\n\t\t\t    \"short_description\": \"Example content short description\",\n\t\t\t    \"url\": \"https://example.com/product/1234\",\n\t\t\t    \"created\": \"2018-06-01 02:14:55\",\n\t\t\t    \"updated\": \"2018-06-01 02:14:55\",\n\t\t\t    \"image\": \"https://example.com/images/product-1234\"\n\t\t    }\n\t\t}\n\t]\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/content/bulk"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"totalElements\": 1,\n    \"totalPages\": 1,\n    \"page\": 1,\n    \"size\": 1,\n    \"items\": [\n        {\n            \"id\": \"1234\",\n            \"name\": \"Example content\",\n            \"description\": \"Example content description\",\n            \"short_description\": \"Example content short description\",\n            \"url\": \"https://example.com/product/1234\",\n            \"metadata\": {\n                \"source\": \"ExampleCRM\",\n                \"created\": \"2018-06-01 02:14:55\",\n                \"updated\": \"2018-06-01 02:14:55\",\n                \"image\": \"https://example.com/images/product-1234\",\n                \"itemtype\": \"product\",\n                \"objecttype\": \"item\"\n            }\n        }\n    ]\n}"}],"_postman_id":"ec0b6297-53e9-4b6b-b2ed-379af4894c58"},{"name":"Delete Content","id":"c5bb4c8d-dec1-4a86-a172-10f98d406867","request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"source\": \"ExampleCRM\",\n    \"type\": \"item\"\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/content/{{contentId}}","description":"Remove content from your project.\n\n#### Request Parameters\n| Parameter | Required | Description                         |\n| --------- |----------| ----------------------------------- |\n| source    | Required | The source of the deleted content.  |\n| type      | Required | The type of content. (item or category) |"},"response":[{"id":"13aaf49e-a3ab-4561-acae-658fef78b93d","name":"Delete Content","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-apikey","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"source\": \"ExampleCRM\",\n    \"type\": \"item\"\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/content/{{contentId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"message\": \"Successfully deleted content.\"\n}"}],"_postman_id":"c5bb4c8d-dec1-4a86-a172-10f98d406867"}],"id":"e8689e06-ddcb-42b7-bb6b-1da43650a421","_postman_id":"e8689e06-ddcb-42b7-bb6b-1da43650a421"},{"name":"Conversions","item":[{"name":"Get Conversion","id":"2ef0e6b8-0720-4aea-afa0-8ebc27ff2a71","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-apikey","value":"{{apikey}}","type":"text"}],"url":"https://api.datatrics.com/2.0/project/{{projectId}}/sale/{{conversionId}}","description":"Retrieve a specific conversion from your project.\n\n#### Request Parameters\n| Parameter | Required | Description                         |\n| --------- |----------| ----------------------------------- |\n| source    | Required | The source of the requested conversion. |"},"response":[{"id":"6c9424cf-3f9b-423c-99ad-779ed711d062","name":"Get Conversion","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-apikey","value":"{{apikey}}","type":"text"}],"url":"https://api.datatrics.com/2.0/project/{{projectId}}/sale/{{conversionId}}"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"conversionid\": \"1\",\n\t\"source\": \"ExampleCRM\",\n\t\"created\": \"2018-10-20 09:00:00\",\n\t\"updated\": \"2018-10-20 09:11:12\",\n\t\"profileid\": \"1234\",\n\t\"email\": \"example@profile.com\",\n\t\"total\": 19.99,\n\t\"items\": [\n\t\t{\n\t\t\t\"itemid\": \"123\",\n\t\t\t\"name\": \"Example Product\",\n\t\t\t\"price\": 19.99,\n\t\t\t\"quantity\": 1,\n\t\t\t\"total\": 19.99\n\t\t}\t\n\t]\n}"}],"_postman_id":"2ef0e6b8-0720-4aea-afa0-8ebc27ff2a71"},{"name":"Get Conversions","id":"c9f4ca1c-09be-41d6-ac72-9233178a5b25","request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-apikey","type":"text","value":"{{apikey}}"}],"url":"https://api.datatrics.com/2.0/project/{{projectId}}/sale","description":"Retrieve conversions from your project.\n\n#### Request Parameters\n| Parameter | Required | Description                         |\n| --------- |----------| ----------------------------------- |\n| limit     | Optional | The maximum number of conversions per page. (Defaults to 500) |\n| page      | Optional | The requested page. (Defaults to 1) |\n| sort      | Optional | Sort by specific field. (Defaults to `created`) |\n| order     | Optional | Order by descending (-1) or ascending (1). (Defaults to -1)  |"},"response":[{"id":"e07f5008-7a0d-46bf-925d-7c732eb19b0a","name":"Get Conversions","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-apikey","value":"{{apikey}}","type":"text"}],"url":"https://api.datatrics.com/2.0/project/{{projectId}}/sale"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"total_items\": 2,\n\t\"total_pages\": 1,\n\t\"page\": 1,\n\t\"size\": 2,\n\t\"items\": [\n\t\t{\n\t\t\t\"conversionid\": \"1\",\n\t\t\t\"source\": \"ExampleCRM\",\n\t\t\t\"created\": \"2018-10-20 09:00:00\",\n\t\t\t\"updated\": \"2018-10-20 09:11:12\",\n\t\t\t\"profileid\": \"1234\",\n\t\t\t\"email\": \"example@profile.com\",\n\t\t\t\"total\": 19.99,\n\t\t\t\"items\": [\n\t\t\t\t{\n\t\t\t\t\t\"itemid\": \"123\",\n\t\t\t\t\t\"name\": \"Example Product\",\n\t\t\t\t\t\"price\": 19.99,\n\t\t\t\t\t\"quantity\": 1,\n\t\t\t\t\t\"total\": 19.99\n\t\t\t\t}\t\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t\"conversionid\": \"2\",\n\t\t\t\"source\": \"ExampleCRM\",\n\t\t\t\"created\": \"2018-10-21 09:00:00\",\n\t\t\t\"updated\": \"2018-10-21 09:11:12\",\n\t\t\t\"profileid\": \"1235\",\n\t\t\t\"email\": \"example2@profile.com\",\n\t\t\t\"total\": 39.98,\n\t\t\t\"items\": [\n\t\t\t\t{\n\t\t\t\t\t\"itemid\": \"123\",\n\t\t\t\t\t\"name\": \"Example Product\",\n\t\t\t\t\t\"price\": 19.99,\n\t\t\t\t\t\"quantity\": 1,\n\t\t\t\t\t\"total\": 39.98\n\t\t\t\t}\t\n\t\t\t]\n\t\t}\n\t]\n}"}],"_postman_id":"c9f4ca1c-09be-41d6-ac72-9233178a5b25"},{"name":"Create Conversion","id":"120b15b9-1ca9-4fab-89e9-a4f8862cddc7","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-apikey","value":"{{apikey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"conversionid\": \"1\",\n\t\"source\": \"ExampleCRM\",\n\t\"conversion\": {\n\t\t\"created\": \"2018-10-20 09:00:00\",\n\t\t\"updated\": \"2018-10-20 09:11:12\",\n\t\t\"profileid\": \"1234\",\n\t\t\"email\": \"example@profile.com\",\n\t\t\"total\": 19.99,\n\t\t\"items\": [\n\t\t\t{\n\t\t\t\t\"itemid\": \"123\",\n\t\t\t\t\"name\": \"Example Product\",\n\t\t\t\t\"price\": 19.99,\n\t\t\t\t\"quantity\": 1,\n\t\t\t\t\"total\": 19.99\n\t\t\t}\t\n\t\t]\n\t}\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/sale","description":"Add a conversion to your project."},"response":[{"id":"dd9a2d87-7995-4411-a32a-49df7b3a5845","name":"Create Conversion","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-apikey","value":"{{apikey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"conversionid\": \"1\",\n\t\"source\": \"ExampleCRM\",\n\t\"conversion\": {\n\t\t\"created\": \"2018-10-20 09:00:00\",\n\t\t\"updated\": \"2018-10-20 09:11:12\",\n\t\t\"profileid\": \"1234\",\n\t\t\"email\": \"example@profile.com\",\n\t\t\"total\": 19.99,\n\t\t\"items\": [\n\t\t\t{\n\t\t\t\t\"itemid\": \"123\",\n\t\t\t\t\"name\": \"Example Product\",\n\t\t\t\t\"price\": 19.99,\n\t\t\t\t\"quantity\": 1,\n\t\t\t\t\"total\": 19.99\n\t\t\t}\t\n\t\t]\n\t}\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/sale"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"conversionid\": \"1\",\n\t\"source\": \"ExampleCRM\",\n\t\"created\": \"2018-10-20 09:00:00\",\n\t\"updated\": \"2018-10-20 09:11:12\",\n\t\"profileid\": \"1234\",\n\t\"email\": \"example@profile.com\",\n\t\"total\": 19.99,\n\t\"items\": [\n\t\t{\n\t\t\t\"itemid\": \"123\",\n\t\t\t\"name\": \"Example Product\",\n\t\t\t\"price\": 19.99,\n\t\t\t\"quantity\": 1,\n\t\t\t\"total\": 19.99\n\t\t}\t\n\t]\n}"}],"_postman_id":"120b15b9-1ca9-4fab-89e9-a4f8862cddc7"},{"name":"Bulk Create/Update Conversions","id":"7881dc0f-825c-4794-a7d0-afef6d3a1d66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n\t\"source\": \"ExampleCRM\",\n\t\"items\": [\n\t\t{\n\t\t\t\"conversionid\": \"1\",\n\t\t\t\"source\": \"ExampleCRM\",\n\t\t\t\"conversion\": {\n\t\t\t\t\"created\": \"2018-10-20 09:00:00\",\n\t\t\t\t\"updated\": \"2018-10-20 09:11:12\",\n\t\t\t\t\"profileid\": \"1234\",\n\t\t\t\t\"email\": \"example@profile.com\",\n\t\t\t\t\"total\": 19.99,\n\t\t\t\t\"items\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"itemid\": \"123\",\n\t\t\t\t\t\t\"name\": \"Example Product\",\n\t\t\t\t\t\t\"price\": 19.99,\n\t\t\t\t\t\t\"quantity\": 1,\n\t\t\t\t\t\t\"total\": 19.99\n\t\t\t\t\t}\t\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"conversionid\": \"2\",\n\t\t\t\"source\": \"ExampleCRM\",\n\t\t\t\"conversion\": {\n\t\t\t\t\"created\": \"2018-10-20 09:00:00\",\n\t\t\t\t\"updated\": \"2018-10-20 09:11:12\",\n\t\t\t\t\"profileid\": \"1235\",\n\t\t\t\t\"email\": \"example2@profile.com\",\n\t\t\t\t\"total\": 39.98,\n\t\t\t\t\"items\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"itemid\": \"123\",\n\t\t\t\t\t\t\"name\": \"Example Product\",\n\t\t\t\t\t\t\"price\": 19.99,\n\t\t\t\t\t\t\"quantity\": 2,\n\t\t\t\t\t\t\"total\": 39.98\n\t\t\t\t\t}\t\n\t\t\t\t]\n\t\t\t}\n\t\t}\t\n\t]\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/sale/bulk","description":"Add conversions to your project."},"response":[{"id":"cea456b3-1162-429e-bcfa-30ad66e7f330","name":"Bulk Create/Update Conversions","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-apikey","value":"{{apikey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"source\": \"ExampleCRM\",\n\t\"items\": [\n\t\t{\n\t\t\t\"conversionid\": \"1\",\n\t\t\t\"source\": \"ExampleCRM\",\n\t\t\t\"conversion\": {\n\t\t\t\t\"created\": \"2018-10-20 09:00:00\",\n\t\t\t\t\"updated\": \"2018-10-20 09:11:12\",\n\t\t\t\t\"profileid\": \"1234\",\n\t\t\t\t\"email\": \"example@profile.com\",\n\t\t\t\t\"total\": 19.99,\n\t\t\t\t\"items\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"itemid\": \"123\",\n\t\t\t\t\t\t\"name\": \"Example Product\",\n\t\t\t\t\t\t\"price\": 19.99,\n\t\t\t\t\t\t\"quantity\": 1,\n\t\t\t\t\t\t\"total\": 19.99\n\t\t\t\t\t}\t\n\t\t\t\t]\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"conversionid\": \"2\",\n\t\t\t\"source\": \"ExampleCRM\",\n\t\t\t\"conversion\": {\n\t\t\t\t\"created\": \"2018-10-20 09:00:00\",\n\t\t\t\t\"updated\": \"2018-10-20 09:11:12\",\n\t\t\t\t\"profileid\": \"1235\",\n\t\t\t\t\"email\": \"example2@profile.com\",\n\t\t\t\t\"total\": 39.98,\n\t\t\t\t\"items\": [\n\t\t\t\t\t{\n\t\t\t\t\t\t\"itemid\": \"123\",\n\t\t\t\t\t\t\"name\": \"Example Product\",\n\t\t\t\t\t\t\"price\": 19.99,\n\t\t\t\t\t\t\"quantity\": 2,\n\t\t\t\t\t\t\"total\": 39.98\n\t\t\t\t\t}\t\n\t\t\t\t]\n\t\t\t}\n\t\t}\t\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/sale/bulk"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"total_items\": 2,\n\t\"total_pages\": 1,\n\t\"page\": 1,\n\t\"size\": 2,\n\t\"items\": [\n\t\t{\n\t\t\t\"conversionid\": \"1\",\n\t\t\t\"source\": \"ExampleCRM\",\n\t\t\t\"created\": \"2018-10-20 09:00:00\",\n\t\t\t\"updated\": \"2018-10-20 09:11:12\",\n\t\t\t\"profileid\": \"1234\",\n\t\t\t\"email\": \"example@profile.com\",\n\t\t\t\"total\": 19.99,\n\t\t\t\"items\": [\n\t\t\t\t{\n\t\t\t\t\t\"itemid\": \"123\",\n\t\t\t\t\t\"name\": \"Example Product\",\n\t\t\t\t\t\"price\": 19.99,\n\t\t\t\t\t\"quantity\": 1,\n\t\t\t\t\t\"total\": 19.99\n\t\t\t\t}\t\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t\"conversionid\": \"2\",\n\t\t\t\"source\": \"ExampleCRM\",\n\t\t\t\"created\": \"2018-10-21 09:00:00\",\n\t\t\t\"updated\": \"2018-10-21 09:11:12\",\n\t\t\t\"profileid\": \"1235\",\n\t\t\t\"email\": \"example2@profile.com\",\n\t\t\t\"total\": 39.98,\n\t\t\t\"items\": [\n\t\t\t\t{\n\t\t\t\t\t\"itemid\": \"123\",\n\t\t\t\t\t\"name\": \"Example Product\",\n\t\t\t\t\t\"price\": 19.99,\n\t\t\t\t\t\"quantity\": 1,\n\t\t\t\t\t\"total\": 39.98\n\t\t\t\t}\t\n\t\t\t]\n\t\t}\n\t]\n}"}],"_postman_id":"7881dc0f-825c-4794-a7d0-afef6d3a1d66"}],"id":"2526b901-f5ec-4a86-a49e-5f87c4a89d73","event":[{"listen":"prerequest","script":{"id":"606d001b-37a0-44b3-91c8-a908b0882736","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5b9f3ea7-380a-4aa7-be3d-2ad1981f60c1","type":"text/javascript","exec":[""]}}],"_postman_id":"2526b901-f5ec-4a86-a49e-5f87c4a89d73"},{"name":"Interactions","item":[{"name":"Get Interaction","id":"849b0c90-20b2-4f05-9d41-f72ed33611b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-apikey","value":"{{apikey}}","type":"text"}],"url":"https://api.datatrics.com/2.0/project/{{projectId}}/interaction/{{interactionId}}","description":"Retrieve a specific interaction from your project.\n\n#### Request Parameters\n| Parameter | Required | Description                         |\n| --------- |----------| ----------------------------------- |\n| source    | Required | The source of the requested interaction. |"},"response":[{"id":"00bb5932-61da-4432-9285-c31a23acd3ec","name":"Get Interaction","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-apikey","value":"{{apikey}}","type":"text"}],"url":{"raw":"https://api.datatrics.com/2.0/project/{{projectId}}/interaction/{{interactionId}}?source=ExampleESP","protocol":"https","host":["api","datatrics","com"],"path":["2.0","project","{{projectId}}","interaction","{{interactionId}}"],"query":[{"key":"source","value":"ExampleESP","type":"text"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"interactionid\": \"1\",\n\t\"source\": \"ExampleESP\",\n\t\"objecttype\": \"interaction\",\n\t\"metadata\": {\n\t\t\"datetime\": \"2020-03-23 09:51:31\",\n\t\t\"profileid\": \"1234\",\n\t\t\"event\": \"open\",\n\t\t\"emailid\": \"987654321\"\n\t}\n}"}],"_postman_id":"849b0c90-20b2-4f05-9d41-f72ed33611b7"},{"name":"Get Interactions","id":"8f8cffcb-1d13-4004-b7b9-3d6044f67aaf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-apikey","type":"text","value":"{{apikey}}"}],"url":"https://api.datatrics.com/2.0/project/{{projectId}}/interaction","description":"Retrieve interactions from your project.\n\n#### Request Parameters\n| Parameter | Required | Description                         |\n| --------- |----------| ----------------------------------- |\n| limit     | Optional | The maximum number of interactions per page. (Defaults to 500) |\n| page      | Optional | The requested page. (Defaults to 1) |\n| sort      | Optional | Sort by specific field. (Defaults to `created`) |\n| order     | Optional | Order by descending (-1) or ascending (1). (Defaults to -1)  |"},"response":[{"id":"bae091e7-b4a4-4709-ac4e-8424b6a1e576","name":"Get Interactions","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-apikey","type":"text","value":"{{apikey}}"}],"url":"https://api.datatrics.com/2.0/project/{{projectId}}/interaction"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"total_items\": 2,\n\t\"total_pages\": 1,\n\t\"page\": 1,\n\t\"size\": 2,\n    \"items\": [\n        {\n            \"interactionid\": \"1\",\n            \"source\": \"ExampleESP\",\n            \"objecttype\": \"interaction\",\n            \"metadata\": {\n                \"datetime\": \"2020-03-23 09:51:31\",\n                \"profileid\": \"1234\",\n                \"event\": \"open\",\n                \"emailid\": \"987654321\"\n            }\n        },\n        {\n            \"interactionid\": \"2\",\n            \"source\": \"ExampleESP\",\n            \"objecttype\": \"interaction\",\n            \"metadata\": {\n                \"datetime\": \"2020-03-23 09:52:09\",\n                \"profileid\": \"1234\",\n                \"event\": \"click\",\n                \"emailid\": \"987654321\"\n            }\n        }\n    ]\n}"}],"_postman_id":"8f8cffcb-1d13-4004-b7b9-3d6044f67aaf"},{"name":"Create Interaction","id":"2e515421-6da5-4371-a68f-ba9e96bab615","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n\t\"interactionid\": \"1\",\n\t\"source\": \"ExampleESP\",\n\t\"objecttype\": \"interaction\",\n\t\"interaction\": {\n\t\t\"datetime\": \"2020-03-23 09:51:31\",\n\t\t\"profileid\": \"1234\",\n\t\t\"event\": \"open\",\n\t\t\"emailid\": \"987654321\"\n\t}\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/interaction","description":"Add a interaction to your project."},"response":[{"id":"4d743169-0b3e-42b2-912c-d1c11eb7f135","name":"Create Interaction","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n\t\"interactionid\": \"1\",\n\t\"source\": \"ExampleESP\",\n\t\"objecttype\": \"interaction\",\n\t\"interaction\": {\n\t\t\"datetime\": \"2020-03-23 09:51:31\",\n\t\t\"profileid\": \"1234\",\n\t\t\"event\": \"open\",\n\t\t\"emailid\": \"987654321\"\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/interaction"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"interactionid\": \"1\",\n    \"source\": \"ExampleESP\",\n    \"objecttype\": \"interaction\",\n    \"metadata\": {\n        \"datetime\": \"2020-03-23 09:51:31\",\n        \"profileid\": \"1234\",\n        \"event\": \"open\",\n        \"emailid\": \"987654321\"\n    }\n}"}],"_postman_id":"2e515421-6da5-4371-a68f-ba9e96bab615"},{"name":"Bulk Create/Update Interactions","id":"5bd534ee-34be-4dd8-b26e-e3a2e044e618","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"x-apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n\t\"interactions\": [\n\t\t{\n\t\t\t\"interactionid\": \"1\",\n\t\t\t\"source\": \"ExampleESP\",\n\t\t\t\"objecttype\": \"interaction\",\n\t\t\t\"interaction\": {\n\t\t\t\t\"datetime\": \"2020-03-23 09:51:31\",\n\t\t\t\t\"profileid\": \"1234\",\n\t\t\t\t\"event\": \"open\",\n\t\t\t\t\"emailid\": \"987654321\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"interactionid\": \"2\",\n\t\t\t\"source\": \"ExampleESP\",\n\t\t\t\"objecttype\": \"interaction\",\n\t\t\t\"interaction\": {\n\t\t\t\t\"datetime\": \"2020-03-23 09:52:09\",\n\t\t\t\t\"profileid\": \"1234\",\n\t\t\t\t\"event\": \"click\",\n\t\t\t\t\"emailid\": \"987654321\"\n\t\t\t}\n\t\t}\t\n\t]\n}"},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/interaction/bulk","description":"Add interactions to your project."},"response":[{"id":"f95cc5d6-d268-4c99-b6df-90a3fe01e726","name":"Bulk Create/Update Interactions","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"x-apikey","type":"text","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n\t\"interactions\": [\n\t\t{\n\t\t\t\"interactionid\": \"1\",\n\t\t\t\"source\": \"ExampleESP\",\n\t\t\t\"objecttype\": \"interaction\",\n\t\t\t\"interaction\": {\n\t\t\t\t\"datetime\": \"2020-03-23 09:51:31\",\n\t\t\t\t\"profileid\": \"1234\",\n\t\t\t\t\"event\": \"open\",\n\t\t\t\t\"emailid\": \"987654321\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"interactionid\": \"2\",\n\t\t\t\"source\": \"ExampleESP\",\n\t\t\t\"objecttype\": \"interaction\",\n\t\t\t\"interaction\": {\n\t\t\t\t\"datetime\": \"2020-03-23 09:52:09\",\n\t\t\t\t\"profileid\": \"1234\",\n\t\t\t\t\"event\": \"click\",\n\t\t\t\t\"emailid\": \"987654321\"\n\t\t\t}\n\t\t}\t\n\t]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.datatrics.com/2.0/project/{{projectId}}/interaction/bulk"},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n\t\"total_items\": 2,\n\t\"total_pages\": 1,\n\t\"page\": 1,\n\t\"size\": 2,\n    \"items\": [\n        {\n            \"interactionid\": \"1\",\n            \"source\": \"ExampleESP\",\n            \"objecttype\": \"interaction\",\n            \"metadata\": {\n                \"datetime\": \"2020-03-23 09:51:31\",\n                \"profileid\": \"1234\",\n                \"event\": \"open\",\n                \"emailid\": \"987654321\"\n            }\n        },\n        {\n            \"interactionid\": \"2\",\n            \"source\": \"ExampleESP\",\n            \"objecttype\": \"interaction\",\n            \"metadata\": {\n                \"datetime\": \"2020-03-23 09:52:09\",\n                \"profileid\": \"1234\",\n                \"event\": \"click\",\n                \"emailid\": \"987654321\"\n            }\n        }\n    ]\n}"}],"_postman_id":"5bd534ee-34be-4dd8-b26e-e3a2e044e618"}],"id":"87ad62e2-5813-4b6b-bbd5-8b4a2cc2ab56","_postman_id":"87ad62e2-5813-4b6b-bbd5-8b4a2cc2ab56"}],"event":[{"listen":"prerequest","script":{"id":"a9bf81fe-81b8-48fa-b1df-0789ff43f9c2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dfcb97e0-d61a-40c5-b24f-50e878177f82","type":"text/javascript","exec":[""]}}]}