{"info":{"_postman_id":"d650fc74-9a98-4474-9058-3477318749db","name":"Paxform API Collection","description":"<html><head></head><body><p>API endpoints for Paxform Laravel backend</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"28328497","collectionId":"d650fc74-9a98-4474-9058-3477318749db","publishedId":"2sB3WmS2SV","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-10-27T00:54:01.000Z"},"item":[{"name":"Authentication","item":[{"name":"Register","id":"928febd6-bba2-4e10-9082-b1082f8bd7e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"John Doe\",\n  \"email\": \"john@example.com\",\n  \"password\": \"password123\",\n  \"password_confirmation\": \"password123\"\n}"},"url":"http://localhost:8000/api/register","urlObject":{"path":["api","register"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"928febd6-bba2-4e10-9082-b1082f8bd7e0"},{"name":"Login","id":"ec70e893-a8e8-4d2d-8191-2e9cc41ca067","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"john@example.com\",\n  \"password\": \"password123\"\n//   https://form-builder-backend-production-e5f8.up.railway.app\n}"},"url":"http://localhost:8000/api/login","urlObject":{"path":["api","login"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec70e893-a8e8-4d2d-8191-2e9cc41ca067"},{"name":"Logout","id":"179ebded-db78-4a43-9f9f-839fafca7a56","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:8000/api/logout","urlObject":{"path":["api","logout"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"179ebded-db78-4a43-9f9f-839fafca7a56"},{"name":"Get Current User","id":"e12ee29d-041e-4948-8133-1cb4321d3ff6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:8000/api/me","urlObject":{"path":["api","me"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"e12ee29d-041e-4948-8133-1cb4321d3ff6"},{"name":"Refresh Token","id":"0eda220c-f535-4b7b-b84f-3fb390daecb1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:8000/api/refresh","urlObject":{"path":["api","refresh"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"0eda220c-f535-4b7b-b84f-3fb390daecb1"}],"id":"13629adf-2042-4658-a2bb-824ede5535a3","_postman_id":"13629adf-2042-4658-a2bb-824ede5535a3","description":""},{"name":"Forms","item":[{"name":"List Forms","id":"77cfa350-45e6-4676-80e1-de561ef8d02c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{UserToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":""}],"url":"http://localhost:8000/api/forms","urlObject":{"path":["api","forms"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"77cfa350-45e6-4676-80e1-de561ef8d02c"},{"name":"Create Form","id":"e43dffbc-7aa1-490d-bce1-8941ebf7f88c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{userToken}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"title\": \"Customer Feedback\",\n  \"description\": \"Collect feedback\",\n  \"structure\": {\n    \"sections\": [\n      {\n        \"id\": \"1\",\n        \"title\": \"Personal Info\",\n        \"groups\": [\n          {\n            \"id\": \"1\",\n            \"title\": \"Contact Details\",\n            \"fields\": [\n              { \"id\": \"1\", \"type\": \"text\", \"label\": \"Full Name\", \"required\": true },\n              { \"id\": \"2\", \"type\": \"text\", \"label\": \"Email Address\", \"required\": true },\n              { \"id\": \"3\", \"type\": \"checkbox\", \"label\": \"Subscribe to newsletter\", \"required\": false },\n              { \"id\": \"4\", \"type\": \"radio\", \"label\": \"Are you satisfied?\", \"required\": true }\n            ]\n          }\n        ]\n      }\n    ]\n  }\n}"},"url":"http://localhost:8000/api/forms","urlObject":{"path":["api","forms"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"e43dffbc-7aa1-490d-bce1-8941ebf7f88c"},{"name":"Get Form Details","id":"795cdc8d-e003-4d9c-b041-c9e091c54335","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:8000/api/forms/1","urlObject":{"path":["api","forms","1"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"795cdc8d-e003-4d9c-b041-c9e091c54335"},{"name":"Update Form","id":"8759d9eb-4c16-4a47-bf14-9302d9b80455","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer "},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/forms/1","urlObject":{"path":["api","forms","1"],"host":["http://localhost:8000"],"query":[],"variable":[]}},"response":[],"_postman_id":"8759d9eb-4c16-4a47-bf14-9302d9b80455"},{"name":"Delete Form","id":"474f8900-e907-4c32-b9f9-83b50c601994","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer "}],"url":"http://localhost:8000/api/forms/:id","urlObject":{"path":["api","forms",":id"],"host":["http://localhost:8000"],"query":[],"variable":[{"type":"any","key":"id"}]}},"response":[],"_postman_id":"474f8900-e907-4c32-b9f9-83b50c601994"}],"id":"15c3e7fe-7eaa-4b97-bd41-53ed571ee210","_postman_id":"15c3e7fe-7eaa-4b97-bd41-53ed571ee210","description":""}],"variable":[{"key":"base_url","value":"http://localhost:8000"},{"key":"token","value":""}]}