Skip to main content
The Cordage Webhook API allows you to programmatically trigger workflows, monitor execution status, and retrieve generated outputs. Use this API to integrate AI workflows into external applications, automation pipelines, or custom tools.

Base URL

All API requests should be made to:

Authentication

All endpoints require authentication using an API key. Include your API key in the Authorization header:
Keep your API keys secure. Never expose them in client-side code or public repositories.

Getting an API Key

  1. Navigate to Workspace Settings in the Cordage app
  2. Click API Keys in the sidebar
  3. Click Create API Key
  4. Copy and securely store your key (it won’t be shown again)

Rate Limits

Rate limits are applied per API key: Rate limit headers are included in all responses:

Quick Start

1. Trigger a Workflow

Response:

2. Check Run Status

Response when completed:

Run Status Values

Error Handling

All errors return a JSON object with an error field:
For rate limit errors, a retry_after field indicates when to retry:

SDK Examples