{
 "info": {
  "_postman_id": "c5f144e9-b066-503e-8bf9-b1c26b748652",
  "name": "SocialRoute API",
  "description": "Kendi yazılımınızı platforma bağlamak için özel API anahtarıyla çağrılabilen uçlar. Anahtar bir firmaya aittir ve üye yetkisiyle çalışır.",
  "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
 },
 "auth": {
  "type": "bearer",
  "bearer": [
   {
    "key": "token",
    "value": "{{apiKey}}",
    "type": "string"
   }
  ]
 },
 "variable": [
  {
   "key": "baseUrl",
   "value": "https://socialroute.tr",
   "type": "string"
  },
  {
   "key": "apiKey",
   "value": "sa_...",
   "type": "string"
  }
 ],
 "item": [
  {
   "name": "Müşteriler",
   "item": [
    {
     "name": "Kartları listele ve ara",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/contacts?q=Elif",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "contacts"
       ],
       "query": [
        {
         "key": "q",
         "value": "Elif",
         "disabled": false
        },
        {
         "key": "limit",
         "value": "",
         "disabled": true
        },
        {
         "key": "offset",
         "value": "",
         "disabled": true
        }
       ]
      }
     }
    },
    {
     "name": "Kart aç",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/api/contacts",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "contacts"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"number\": \"0532 111 22 33\",\n  \"name\": \"Elif Yıldız\",\n  \"company\": \"Yıldız Turizm\",\n  \"email\": \"elif@ornek.com\",\n  \"code\": \"M-1001\",\n  \"tags\": [\n    \"vip\"\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      }
     }
    },
    {
     "name": "Numaradan kartı bul",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/contacts/by-number/:number",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "contacts",
        "by-number",
        ":number"
       ],
       "variable": [
        {
         "key": "number",
         "value": ""
        }
       ]
      }
     }
    },
    {
     "name": "Kartı ve altındakileri oku",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/contacts/:contact_id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "contacts",
        ":contact_id"
       ],
       "variable": [
        {
         "key": "contact_id",
         "value": ""
        }
       ]
      }
     }
    },
    {
     "name": "Kartı değiştir",
     "request": {
      "method": "PUT",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/api/contacts/:contact_id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "contacts",
        ":contact_id"
       ],
       "variable": [
        {
         "key": "contact_id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"number\": \"0532 111 22 33\",\n  \"name\": \"Elif Yıldız\",\n  \"company\": \"Yıldız Turizm\",\n  \"email\": \"elif@ornek.com\",\n  \"code\": \"M-1001\",\n  \"tags\": [\n    \"vip\",\n    \"vize\"\n  ]\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      }
     }
    },
    {
     "name": "Karta not ekle",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/api/contacts/:contact_id/notes",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "contacts",
        ":contact_id",
        "notes"
       ],
       "variable": [
        {
         "key": "contact_id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"text\": \"Cuma günü geri aranacak.\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      }
     }
    },
    {
     "name": "Notu sil",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/contacts/:contact_id/notes/:note_id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "contacts",
        ":contact_id",
        "notes",
        ":note_id"
       ],
       "variable": [
        {
         "key": "contact_id",
         "value": ""
        },
        {
         "key": "note_id",
         "value": ""
        }
       ]
      }
     }
    },
    {
     "name": "Karta başka numara ya da e-posta ekle",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/api/contacts/:contact_id/kimlikler",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "contacts",
        ":contact_id",
        "kimlikler"
       ],
       "variable": [
        {
         "key": "contact_id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"tur\": \"telefon\",\n  \"deger\": \"0533 444 55 66\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      }
     }
    },
    {
     "name": "Karttan numarayı ya da e-postayı kaldır",
     "request": {
      "method": "DELETE",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/contacts/:contact_id/kimlikler/:kimlik_id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "contacts",
        ":contact_id",
        "kimlikler",
        ":kimlik_id"
       ],
       "variable": [
        {
         "key": "contact_id",
         "value": ""
        },
        {
         "key": "kimlik_id",
         "value": ""
        }
       ]
      }
     }
    }
   ]
  },
  {
   "name": "Ticketlar",
   "item": [
    {
     "name": "Ticketları listele",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/tickets?status=open&late=true",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "tickets"
       ],
       "query": [
        {
         "key": "status",
         "value": "open",
         "disabled": false
        },
        {
         "key": "assignee",
         "value": "",
         "disabled": true
        },
        {
         "key": "contact_id",
         "value": "",
         "disabled": true
        },
        {
         "key": "q",
         "value": "",
         "disabled": true
        },
        {
         "key": "late",
         "value": "true",
         "disabled": false
        },
        {
         "key": "source",
         "value": "",
         "disabled": true
        },
        {
         "key": "limit",
         "value": "",
         "disabled": true
        },
        {
         "key": "offset",
         "value": "",
         "disabled": true
        }
       ]
      }
     }
    },
    {
     "name": "Ticket aç",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/api/tickets",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "tickets"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"title\": \"Pasaport teslimi\",\n  \"description\": \"Cuma günü ofisten alacak.\",\n  \"priority\": \"high\",\n  \"customer_number\": \"0532 111 22 33\",\n  \"tags\": [\n    \"vize\"\n  ],\n  \"due_at\": \"2026-11-20T09:00:00Z\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      }
     }
    },
    {
     "name": "Ticket özeti",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/tickets/report?days=30",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "tickets",
        "report"
       ],
       "query": [
        {
         "key": "days",
         "value": "30",
         "disabled": false
        }
       ]
      }
     }
    },
    {
     "name": "Ticketı oku",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/tickets/:ticket_id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "tickets",
        ":ticket_id"
       ],
       "variable": [
        {
         "key": "ticket_id",
         "value": ""
        }
       ]
      }
     }
    },
    {
     "name": "Ticketı değiştir",
     "request": {
      "method": "PUT",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/api/tickets/:ticket_id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "tickets",
        ":ticket_id"
       ],
       "variable": [
        {
         "key": "ticket_id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"title\": \"Pasaport teslimi\",\n  \"description\": \"Cuma günü ofisten aldı.\",\n  \"priority\": \"normal\",\n  \"customer_number\": \"0532 111 22 33\",\n  \"assignee_user_id\": null,\n  \"tags\": [\n    \"vize\"\n  ],\n  \"due_at\": null,\n  \"status\": \"solved\",\n  \"revision\": 3\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      }
     }
    },
    {
     "name": "Yorum ekle",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/api/tickets/:ticket_id/comments",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "tickets",
        ":ticket_id",
        "comments"
       ],
       "variable": [
        {
         "key": "ticket_id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"text\": \"Müşteri arandı, belgeler hazır.\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      }
     }
    }
   ]
  },
  {
   "name": "Görüşmeler",
   "item": [
    {
     "name": "Asistanın görüşmeleri",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/calls?per_page=20",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "calls"
       ],
       "query": [
        {
         "key": "kind",
         "value": "",
         "disabled": true
        },
        {
         "key": "status",
         "value": "",
         "disabled": true
        },
        {
         "key": "assistant_id",
         "value": "",
         "disabled": true
        },
        {
         "key": "date_from",
         "value": "",
         "disabled": true
        },
        {
         "key": "date_to",
         "value": "",
         "disabled": true
        },
        {
         "key": "call_id",
         "value": "",
         "disabled": true
        },
        {
         "key": "squad_id",
         "value": "",
         "disabled": true
        },
        {
         "key": "phone_number_id",
         "value": "",
         "disabled": true
        },
        {
         "key": "customer",
         "value": "",
         "disabled": true
        },
        {
         "key": "ended_reason",
         "value": "",
         "disabled": true
        },
        {
         "key": "assistant_version_id",
         "value": "",
         "disabled": true
        },
        {
         "key": "success",
         "value": "",
         "disabled": true
        },
        {
         "key": "min_score",
         "value": "",
         "disabled": true
        },
        {
         "key": "max_score",
         "value": "",
         "disabled": true
        },
        {
         "key": "sort",
         "value": "",
         "disabled": true
        },
        {
         "key": "order",
         "value": "",
         "disabled": true
        },
        {
         "key": "page",
         "value": "",
         "disabled": true
        },
        {
         "key": "per_page",
         "value": "20",
         "disabled": false
        }
       ]
      }
     }
    },
    {
     "name": "Bir görüşme (yazısıyla)",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/calls/:call_id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "calls",
        ":call_id"
       ],
       "variable": [
        {
         "key": "call_id",
         "value": ""
        }
       ]
      }
     }
    },
    {
     "name": "Görüşmenin ses kaydı (WAV)",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/calls/:call_id/recording?channel=stereo",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "calls",
        ":call_id",
        "recording"
       ],
       "query": [
        {
         "key": "download",
         "value": "",
         "disabled": true
        },
        {
         "key": "channel",
         "value": "stereo",
         "disabled": false
        }
       ],
       "variable": [
        {
         "key": "call_id",
         "value": ""
        }
       ]
      }
     }
    },
    {
     "name": "Görüşmenin yazısı (düz metin)",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/calls/:call_id/transcript.txt",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "calls",
        ":call_id",
        "transcript.txt"
       ],
       "variable": [
        {
         "key": "call_id",
         "value": ""
        }
       ]
      }
     }
    },
    {
     "name": "Süren görüşmeyi bitir",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/calls/:call_id/end",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "calls",
        ":call_id",
        "end"
       ],
       "variable": [
        {
         "key": "call_id",
         "value": ""
        }
       ]
      }
     }
    },
    {
     "name": "Süren görüşmede asistana bir cümle söylet",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/api/calls/:call_id/say",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "calls",
        ":call_id",
        "say"
       ],
       "variable": [
        {
         "key": "call_id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"text\": \"Kaydınız açıldı, birazdan SMS gelecek.\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      }
     }
    },
    {
     "name": "Süren görüşmeye not ekle (arayana söylenmez)",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/api/calls/:call_id/context",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "calls",
        ":call_id",
        "context"
       ],
       "variable": [
        {
         "key": "call_id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"text\": \"Arayan VIP müşteri.\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      }
     }
    },
    {
     "name": "Asistanla ara",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/api/calls/outbound",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "calls",
        "outbound"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"assistant_id\": \"…\",\n  \"phone_number_id\": \"…\",\n  \"to\": \"0532 111 22 33\",\n  \"purpose\": \"vize başvurunuzla ilgili geri dönüş\",\n  \"variables\": {\n    \"musteri_adi\": \"Elif\"\n  }\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      }
     }
    },
    {
     "name": "Giden arama istekleri",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/calls/outbound",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "calls",
        "outbound"
       ]
      }
     }
    },
    {
     "name": "Bir giden arama isteği",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/calls/outbound/:outbound_id",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "calls",
        "outbound",
        ":outbound_id"
       ],
       "variable": [
        {
         "key": "outbound_id",
         "value": ""
        }
       ]
      }
     }
    },
    {
     "name": "Kampanyanın ilerlemesi",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/campaigns/:campaign_id/progress",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "campaigns",
        ":campaign_id",
        "progress"
       ],
       "variable": [
        {
         "key": "campaign_id",
         "value": ""
        }
       ]
      }
     }
    }
   ]
  },
  {
   "name": "Santral",
   "item": [
    {
     "name": "Santral aramaları",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/extensions/calls?limit=50",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "extensions",
        "calls"
       ],
       "query": [
        {
         "key": "limit",
         "value": "50",
         "disabled": false
        },
        {
         "key": "before",
         "value": "",
         "disabled": true
        },
        {
         "key": "extension",
         "value": "",
         "disabled": true
        },
        {
         "key": "kind",
         "value": "",
         "disabled": true
        },
        {
         "key": "status",
         "value": "",
         "disabled": true
        }
       ]
      }
     }
    },
    {
     "name": "Santral aramasının ses kaydı",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/extensions/calls/:call_id/recording",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "extensions",
        "calls",
        ":call_id",
        "recording"
       ],
       "query": [
        {
         "key": "download",
         "value": "",
         "disabled": true
        }
       ],
       "variable": [
        {
         "key": "call_id",
         "value": ""
        }
       ]
      }
     }
    },
    {
     "name": "Dahililerin anlık durumu",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/extensions/live",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "extensions",
        "live"
       ]
      }
     }
    },
    {
     "name": "Günün özeti ve canlı pano",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/extensions/board",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "extensions",
        "board"
       ]
      }
     }
    },
    {
     "name": "Gün ve dahili bazında rapor",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/extensions/report?days=7",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "extensions",
        "report"
       ],
       "query": [
        {
         "key": "days",
         "value": "7",
         "disabled": false
        },
        {
         "key": "target",
         "value": "",
         "disabled": true
        }
       ]
      }
     }
    },
    {
     "name": "Mesai ve mola süreleri",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/extensions/presence?days=7",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "extensions",
        "presence"
       ],
       "query": [
        {
         "key": "days",
         "value": "7",
         "disabled": false
        }
       ]
      }
     }
    },
    {
     "name": "Departmanlar ve üyeleri",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/departments",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "departments"
       ]
      }
     }
    }
   ]
  },
  {
   "name": "Arama kuralları",
   "item": [
    {
     "name": "Mesai, tatil ve kayıt saklama süresi",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/org/call-rules",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "org",
        "call-rules"
       ]
      }
     }
    },
    {
     "name": "Arama kara listesi",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/call-blocks",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "call-blocks"
       ]
      }
     }
    },
    {
     "name": "Aktarılabilecek dış numaralar",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/org/transfer-settings",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "org",
        "transfer-settings"
       ]
      }
     }
    },
    {
     "name": "Giden arama ayarları",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/org/outbound-settings",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "org",
        "outbound-settings"
       ]
      }
     }
    }
   ]
  },
  {
   "name": "Ödemeler",
   "item": [
    {
     "name": "Ödemeleri listele",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/payments",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "payments"
       ],
       "query": [
        {
         "key": "status",
         "value": "",
         "disabled": true
        },
        {
         "key": "limit",
         "value": "",
         "disabled": true
        }
       ]
      }
     }
    },
    {
     "name": "Ödeme bağlantısı oluştur",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/api/payments",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "payments"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"amount_minor\": 125000,\n  \"currency\": \"TRY\",\n  \"description\": \"Danışmanlık ücreti\",\n  \"payer_name\": \"Elif Yıldız\",\n  \"customer_number\": \"0532 111 22 33\",\n  \"send_sms\": true\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      }
     }
    },
    {
     "name": "Ödendi mi, şimdi sor",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/payments/:payment_id/refresh",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "payments",
        ":payment_id",
        "refresh"
       ],
       "variable": [
        {
         "key": "payment_id",
         "value": ""
        }
       ]
      }
     }
    },
    {
     "name": "Beklemeyi bırak",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/payments/:payment_id/cancel",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "payments",
        ":payment_id",
        "cancel"
       ],
       "variable": [
        {
         "key": "payment_id",
         "value": ""
        }
       ]
      }
     }
    }
   ]
  },
  {
   "name": "Doğrulama kodu",
   "item": [
    {
     "name": "Kod gönder",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/api/otp/send",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "otp",
        "send"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"to\": \"0532 111 22 33\",\n  \"channel\": \"sms\",\n  \"purpose\": \"giris\",\n  \"length\": 6,\n  \"ttl_seconds\": 180\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      }
     }
    },
    {
     "name": "Kodu doğrula",
     "request": {
      "method": "POST",
      "header": [
       {
        "key": "Content-Type",
        "value": "application/json"
       }
      ],
      "url": {
       "raw": "{{baseUrl}}/api/otp/verify",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "otp",
        "verify"
       ]
      },
      "body": {
       "mode": "raw",
       "raw": "{\n  \"id\": \"…\",\n  \"code\": \"123456\"\n}",
       "options": {
        "raw": {
         "language": "json"
        }
       }
      }
     }
    }
   ]
  },
  {
   "name": "Bilgi tabanı ve araçlar",
   "item": [
    {
     "name": "Bilgi tabanına dosya yükle",
     "request": {
      "method": "POST",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/knowledge-bases/:base_id/documents/upload",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "knowledge-bases",
        ":base_id",
        "documents",
        "upload"
       ],
       "variable": [
        {
         "key": "base_id",
         "value": ""
        }
       ]
      },
      "body": {
       "mode": "formdata",
       "formdata": [
        {
         "key": "file",
         "type": "file",
         "src": []
        }
       ]
      }
     }
    },
    {
     "name": "Asistanı dosyaya aktar",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/assistants/:assistant_id/export",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "assistants",
        ":assistant_id",
        "export"
       ],
       "query": [
        {
         "key": "include_documents",
         "value": "",
         "disabled": true
        }
       ],
       "variable": [
        {
         "key": "assistant_id",
         "value": ""
        }
       ]
      }
     }
    },
    {
     "name": "Aracın önceki ayarları",
     "request": {
      "method": "GET",
      "header": [],
      "url": {
       "raw": "{{baseUrl}}/api/tools/:tool_id/versions",
       "host": [
        "{{baseUrl}}"
       ],
       "path": [
        "api",
        "tools",
        ":tool_id",
        "versions"
       ],
       "variable": [
        {
         "key": "tool_id",
         "value": ""
        }
       ]
      }
     }
    }
   ]
  }
 ]
}
