{
  "info": {
    "name": "KwickPhone Developer API (v1)",
    "description": "Provision AI phone numbers and read calls, transcripts, and recordings.\n\nSet the collection variables `base_url` (default https://kwickphone.com/v1) and `api_key` (your kp_live_… key). Auth is Bearer at the collection level — every request inherits it.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": { "type": "bearer", "bearer": [ { "key": "token", "value": "{{api_key}}", "type": "string" } ] },
  "variable": [
    { "key": "base_url", "value": "https://kwickphone.com/v1" },
    { "key": "api_key", "value": "kp_live_REPLACE_ME" },
    { "key": "number_id", "value": "42" },
    { "key": "call_sid", "value": "CA0123456789abcdef" }
  ],
  "item": [
    {
      "name": "Numbers",
      "item": [
        {
          "name": "Provision a number",
          "request": {
            "method": "POST",
            "header": [ { "key": "Content-Type", "value": "application/json" } ],
            "url": { "raw": "{{base_url}}/numbers", "host": ["{{base_url}}"], "path": ["numbers"] },
            "body": { "mode": "raw", "raw": "{\n  \"business_phone\": \"+13125551234\",\n  \"area_code\": \"312\",\n  \"webhook_url\": \"https://your-app.com/webhooks/kwickphone\"\n}" }
          }
        },
        {
          "name": "List numbers",
          "request": { "method": "GET", "url": { "raw": "{{base_url}}/numbers", "host": ["{{base_url}}"], "path": ["numbers"] } }
        },
        {
          "name": "Release a number",
          "request": { "method": "DELETE", "url": { "raw": "{{base_url}}/numbers/{{number_id}}", "host": ["{{base_url}}"], "path": ["numbers", "{{number_id}}"] } }
        }
      ]
    },
    {
      "name": "Calls",
      "item": [
        {
          "name": "List calls",
          "request": { "method": "GET", "url": { "raw": "{{base_url}}/calls", "host": ["{{base_url}}"], "path": ["calls"] } }
        },
        {
          "name": "Get call transcript",
          "request": { "method": "GET", "url": { "raw": "{{base_url}}/calls/{{call_sid}}/transcript", "host": ["{{base_url}}"], "path": ["calls", "{{call_sid}}", "transcript"] } }
        },
        {
          "name": "Get call recording (mp3)",
          "request": { "method": "GET", "url": { "raw": "{{base_url}}/calls/{{call_sid}}/recording", "host": ["{{base_url}}"], "path": ["calls", "{{call_sid}}", "recording"] } }
        }
      ]
    }
  ]
}
