{
  "info": {
    "name": "Bolcho API",
    "description": "The Bolcho voice-AI REST API. Set the VOXA_API_KEY collection variable to your API key, then run any request. baseUrl defaults to the v1 endpoint.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{VOXA_API_KEY}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.bolchoai.in/v1",
      "type": "string"
    },
    {
      "key": "VOXA_API_KEY",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "Core resources",
      "item": [
        {
          "name": "GET · List assistants",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/agents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "agents"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "Page size (default 20).",
                  "disabled": true
                },
                {
                  "key": "offset",
                  "value": "",
                  "description": "Offset for pagination.",
                  "disabled": true
                }
              ]
            },
            "description": "List all assistants in the workspace."
          }
        },
        {
          "name": "GET · Get assistant",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/agents/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "agents",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Assistant id."
                }
              ]
            },
            "description": "Retrieve a single assistant with its current config and versions."
          }
        },
        {
          "name": "POST · Create assistant",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/agents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "agents"
              ]
            },
            "description": "Create a new assistant with an initial config version.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"string\",\n  \"config\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "PATCH · Update assistant",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/agents/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "agents",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Assistant id."
                }
              ]
            },
            "description": "Update name/metadata. Pass a config to create a new draft version."
          }
        },
        {
          "name": "POST · Create a version",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/agents/:id/versions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "agents",
                ":id",
                "versions"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Assistant id."
                }
              ]
            },
            "description": "Save a new config version (the full config snapshot). Becomes the latest draft."
          }
        },
        {
          "name": "POST · Publish assistant",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/agents/:id/publish",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "agents",
                ":id",
                "publish"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Assistant id."
                }
              ]
            },
            "description": "Promote the latest version to published — calls run this version."
          }
        },
        {
          "name": "PUT · Attach tools",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/agents/:id/tools",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "agents",
                ":id",
                "tools"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Assistant id."
                }
              ]
            },
            "description": "Set the tools (function-calling) available to the assistant.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"toolIds\": [\n    \"...\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "PUT · Attach knowledge",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/agents/:id/knowledge",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "agents",
                ":id",
                "knowledge"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Assistant id."
                }
              ]
            },
            "description": "Link knowledge bases the assistant can search at call time.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"knowledgeBaseIds\": [\n    \"...\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "DELETE · Delete assistant",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/agents/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "agents",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Assistant id."
                }
              ]
            },
            "description": "Permanently delete an assistant."
          }
        },
        {
          "name": "POST · Start a web call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/calls",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "calls"
              ]
            },
            "description": "Create a browser call to an assistant. Returns a LiveKit room token + websocket URL to connect from the client.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"agentId\": \"00000000-0000-0000-0000-000000000000\",\n  \"metadata\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "GET · List calls",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/calls",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "calls"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "",
                  "description": "Page size.",
                  "disabled": true
                },
                {
                  "key": "offset",
                  "value": "",
                  "description": "Offset.",
                  "disabled": true
                },
                {
                  "key": "agentId",
                  "value": "",
                  "description": "Filter by assistant.",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "",
                  "description": "queued | in_progress | completed | failed.",
                  "disabled": true
                }
              ]
            },
            "description": "List calls, newest first. Filter by status or assistant."
          }
        },
        {
          "name": "GET · Get call",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/calls/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "calls",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Call id."
                }
              ]
            },
            "description": "Full call record: status, end reason, duration, cost breakdown, summary, structured data, TTS-cache savings, and the transcript turns."
          }
        },
        {
          "name": "GET · Get event timeline",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/calls/:id/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "calls",
                ":id",
                "events"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Call id."
                }
              ]
            },
            "description": "The ordered event stream for session replay — turn latencies, tool calls, speech events."
          }
        },
        {
          "name": "GET · Get recording URL",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/calls/:id/recording",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "calls",
                ":id",
                "recording"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Call id."
                }
              ]
            },
            "description": "A short-lived signed URL to the call audio recording."
          }
        },
        {
          "name": "GET · Analytics rollup",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/calls/analytics",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "calls",
                "analytics"
              ],
              "query": [
                {
                  "key": "days",
                  "value": "",
                  "description": "Window in days (default 14).",
                  "disabled": true
                }
              ]
            },
            "description": "Daily time-series + totals: calls, minutes, cost, success rate, latency (avg/p95), TTS-cache savings, and outcome breakdown."
          }
        },
        {
          "name": "POST · Search calls",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/calls/search",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "calls",
                "search"
              ]
            },
            "description": "Search calls by transcript content and filters."
          }
        },
        {
          "name": "GET · List knowledge bases",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/knowledge-bases",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "knowledge-bases"
              ]
            },
            "description": "List knowledge bases."
          }
        },
        {
          "name": "POST · Create knowledge base",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/knowledge-bases",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "knowledge-bases"
              ]
            },
            "description": "Create an empty knowledge base.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST · Add a document",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/knowledge-bases/:id/documents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "knowledge-bases",
                ":id",
                "documents"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Knowledge base id."
                }
              ]
            },
            "description": "Upload/ingest a document (chunked + embedded for retrieval)."
          }
        },
        {
          "name": "POST · Add a website",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/knowledge-bases/:id/websites",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "knowledge-bases",
                ":id",
                "websites"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Knowledge base id."
                }
              ]
            },
            "description": "Crawl & ingest a website URL.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST · Semantic search",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/knowledge-bases/:id/search",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "knowledge-bases",
                ":id",
                "search"
              ],
              "query": [
                {
                  "key": "topK",
                  "value": "",
                  "description": "Results to return (default 5).",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Knowledge base id."
                }
              ]
            },
            "description": "Vector search the base — useful to test retrieval quality.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "GET · List tools",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/tools",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tools"
              ]
            },
            "description": "List tools in the workspace."
          }
        },
        {
          "name": "POST · Create tool",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/tools",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tools"
              ]
            },
            "description": "Define a function-calling tool.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"parameters\": {},\n  \"url\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "PATCH · Update tool",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/tools/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tools",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Tool id."
                }
              ]
            },
            "description": "Update a tool's definition."
          }
        },
        {
          "name": "POST · Test invoke",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/tools/:id/invoke",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tools",
                ":id",
                "invoke"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Tool id."
                }
              ]
            },
            "description": "Invoke the tool with sample arguments to test the handler."
          }
        },
        {
          "name": "DELETE · Delete tool",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/tools/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "tools",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Tool id."
                }
              ]
            },
            "description": "Delete a tool."
          }
        },
        {
          "name": "GET · List contacts",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/contacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "contacts"
              ],
              "query": [
                {
                  "key": "search",
                  "value": "",
                  "description": "Filter by name or number.",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "",
                  "description": "Page size.",
                  "disabled": true
                }
              ]
            },
            "description": "List customers with their call counts and last-seen time."
          }
        },
        {
          "name": "GET · Get contact",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/contacts/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "contacts",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Contact id."
                }
              ]
            },
            "description": "A contact's remembered profile + recent call history with summaries."
          }
        }
      ]
    },
    {
      "name": "Telephony",
      "item": [
        {
          "name": "GET · List SIP trunks",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/telephony/trunks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "telephony",
                "trunks"
              ]
            },
            "description": "List trunks with their gateways, status (active/pending), and attached numbers."
          }
        },
        {
          "name": "POST · Create SIP trunk",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/telephony/trunks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "telephony",
                "trunks"
              ]
            },
            "description": "Create a trunk and provision the LiveKit SIP inbound/outbound trunks + dispatch rule. Saves as status=pending if LiveKit SIP isn't reachable yet (re-provision later).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"string\",\n  \"gateways\": [\n    \"...\"\n  ],\n  \"authUsername\": \"string\",\n  \"authPassword\": \"string\",\n  \"techPrefix\": \"string\",\n  \"leadingPlus\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "PATCH · Update SIP trunk",
          "request": {
            "method": "PATCH",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/telephony/trunks/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "telephony",
                "trunks",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Trunk id."
                }
              ]
            },
            "description": "Update gateways/auth/advanced; re-provisions LiveKit SIP."
          }
        },
        {
          "name": "POST · Re-provision trunk",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/telephony/trunks/:id/provision",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "telephony",
                "trunks",
                ":id",
                "provision"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Trunk id."
                }
              ]
            },
            "description": "Re-run LiveKit SIP provisioning (e.g. after deploying SIP). Flips a pending trunk to active."
          }
        },
        {
          "name": "DELETE · Delete SIP trunk",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/telephony/trunks/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "telephony",
                "trunks",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Trunk id."
                }
              ]
            },
            "description": "Tear down the LiveKit SIP resources and delete the trunk (its numbers cascade)."
          }
        },
        {
          "name": "GET · List numbers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/telephony/numbers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "telephony",
                "numbers"
              ]
            },
            "description": "List all phone numbers with their trunk and routed assistant."
          }
        },
        {
          "name": "POST · Import a number",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/telephony/numbers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "telephony",
                "numbers"
              ]
            },
            "description": "Attach a DID (or non-E164 extension) from a SIP trunk and optionally route it to an assistant.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"trunkId\": \"00000000-0000-0000-0000-000000000000\",\n  \"number\": \"string\",\n  \"allowNonE164\": true,\n  \"label\": \"string\",\n  \"agentId\": \"00000000-0000-0000-0000-000000000000\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST · Route to assistant",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/telephony/numbers/:id/route",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "telephony",
                "numbers",
                ":id",
                "route"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Number id."
                }
              ]
            },
            "description": "Set (or clear) the assistant that answers inbound calls to this number.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"agentId\": \"00000000-0000-0000-0000-000000000000\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "DELETE · Release number",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/telephony/numbers/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "telephony",
                "numbers",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Number id."
                }
              ]
            },
            "description": "Remove the number and re-sync the trunk."
          }
        },
        {
          "name": "POST · Place an outbound call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/telephony/dial",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "telephony",
                "dial"
              ]
            },
            "description": "Dial a destination from one of your numbers and connect the assistant the moment the callee answers. Waits for the SIP disposition and returns the call id.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"fromNumberId\": \"00000000-0000-0000-0000-000000000000\",\n  \"to\": \"string\",\n  \"agentId\": \"00000000-0000-0000-0000-000000000000\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Events",
      "item": [
        {
          "name": "GET · List event types",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks/event-types",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                "event-types"
              ]
            },
            "description": "The catalog of events you can subscribe to."
          }
        },
        {
          "name": "GET · List endpoints",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks"
              ]
            },
            "description": "Your configured webhook endpoints."
          }
        },
        {
          "name": "POST · Create endpoint",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/webhooks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks"
              ]
            },
            "description": "Register a URL to receive events.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"url\": \"string\",\n  \"events\": [\n    \"...\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST · Send test event",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks/:id/test",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                ":id",
                "test"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Endpoint id."
                }
              ]
            },
            "description": "Deliver a sample event to verify your endpoint."
          }
        },
        {
          "name": "GET · Delivery log",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks/:id/deliveries",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                ":id",
                "deliveries"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Endpoint id."
                }
              ]
            },
            "description": "Recent delivery attempts + responses for an endpoint."
          }
        },
        {
          "name": "DELETE · Delete endpoint",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/webhooks/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "webhooks",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Endpoint id."
                }
              ]
            },
            "description": "Remove a webhook endpoint."
          }
        },
        {
          "name": "GET · List API keys",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/workspace/api-keys",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspace",
                "api-keys"
              ]
            },
            "description": "List keys (prefix + scopes only; the secret is never returned again)."
          }
        },
        {
          "name": "POST · Create API key",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/workspace/api-keys",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspace",
                "api-keys"
              ]
            },
            "description": "Create a key. The response includes the full key value exactly once.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"string\",\n  \"scopes\": [\n    \"...\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "DELETE · Revoke API key",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/workspace/api-keys/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "workspace",
                "api-keys",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "",
                  "description": "Key id."
                }
              ]
            },
            "description": "Revoke a key immediately."
          }
        }
      ]
    }
  ]
}