View Webhook
<div style={{ border: "2px solid #1a1a1a", padding: "20px", backgroundColor: "#252e33", margin: "20px 0", borderRadius: "20px", color: "#cccccc" }} id="view-webhooks">
<h2 style={{ color: "#cccccc" }}>🔔 View Webhooks</h2>
<p style={{ color: "#cccccc" }}>
See all your webhooks or the details of a specific webhook by its ID.
</p>
<h3 style={{ color: "#cccccc" }}>Endpoint</h3>
<p style={{ color: "#cccccc" }}><code>GET https://api.tor.app/developer/integrations/webhooks</code></p>
<h3 style={{ color: "#cccccc" }}>Query Parameters</h3>
<ul style={{ color: "#cccccc" }}>
<li><strong>webhookType</strong> (string, optional): The ID of the webhook to view (e.g., <code>wh 2025-05-02 12:34:56</code>). Omit to view all webhooks.</li>
</ul>
<h3 style={{ color: "#cccccc" }}>Responses</h3>
<details>
<summary style={{ borderLeft: "5px solid #28a745", padding: "10px", backgroundColor: "#d4edda", marginBottom: "10px", borderRadius: "5px" }}><strong>200 OK (All Webhooks)</strong></summary>
<pre style={{ backgroundColor: "#1a1a1a", padding: "10px", borderRadius: "10px", color: "#cccccc" }}>
<code>{
"webhooks": [
{
"HashedId": "your-api-key",
"webhookType": "wh 2025-05-02 12:34:56",
"url": "https://your-site.com/webhook",
"exportFormat": "Txt",
"includeTimestamps": true,
"includeSpeakerNames": true,
"mergeSameSpeakerSegments": false,
"isSingleParagraph": false,
"paragraphSize": 2,
"folderId": "folder123"
}
]
}</code>
</pre>
</details>
<details>
<summary style={{ borderLeft: "5px solid #28a745", padding: "10px", backgroundColor: "#d4edda", marginBottom: "10px", borderRadius: "5px" }}><strong>200 OK (Specific Webhook)</strong></summary>
<pre style={{ backgroundColor: "#1a1a1a", padding: "10px", borderRadius: "10px", color: "#cccccc" }}>
<code>{
"HashedId": "your-api-key",
"webhookType": "wh 2025-05-02 12:34:56",
"url": "https://your-site.com/webhook",
"exportFormat": "Txt",
"includeTimestamps": true,
"includeSpeakerNames": true,
"mergeSameSpeakerSegments": false,
"isSingleParagraph": false,
"paragraphSize": 2,
"folderId": "folder123"
}</code>
</pre>
</details>
<details>
<summary style={{ borderLeft: "5px solid #dc3545", padding: "10px", backgroundColor: "#f8d7da", marginBottom: "10px", borderRadius: "5px" }}><strong>404 Not Found</strong></summary>
<pre style={{ backgroundColor: "#1a1a1a", padding: "10px", borderRadius: "10px", color: "#cccccc" }}>
<code>"Webhook not found."</code>
</pre>
</details>
<details>
<summary style={{ borderLeft: "5px solid #dc3545", padding: "10px", backgroundColor: "#f8d7da", marginBottom: "10px", borderRadius: "5px" }}><strong>500 Internal Server Error</strong></summary>
<pre style={{ backgroundColor: "#1a1a1a", padding: "10px", borderRadius: "10px", color: "#cccccc" }}>
<code>"Failed to retrieve webhook."</code>
</pre>
</details>
<h3 style={{ color: "#cccccc" }}>Notes</h3>
<ul style={{ color: "#cccccc" }}>
<li>Omit <code>webhookType</code> to see all webhooks.</li>
<li>An empty <code>webhooks</code> array means no webhooks exist.</li>
</ul>
</div>
Updated 15 days ago