Calling CodeWords workflows
Learn how to call and manage CodeWords automations via API. Includes authentication, sync and async workflows, file uploads, and best practices for secure, reliable automation.
Overview
1. Get Your API Key
2. Basic API Information
https://runtime.codewords.aiAuthorization: Bearer YOUR_API_KEY_HEREContent-Type: application/json
3. Synchronous API Calls (≤120 seconds)
cURL Example:
Python Example:
JavaScript/TypeScript Example:
4. Asynchronous API Calls (>120 seconds)
cURL Example:
Python Example:
JavaScript Example:
5. File Upload Workflow
cURL Example:
Python Example:
6. Error Handling Best Practices
Handle Timeouts:
Implement Retries:
7. Environment Setup
Set API Key as Environment Variable
8. Security Best Practices
Last updated
Was this helpful?