Miiflow Docs

API Keys

API Keys enable programmatic access to Miiflow workflows and integration with your applications.

Overview

Use API Keys to:

  • Trigger workflows from external applications
  • Build custom integrations
  • Automate workflow execution
  • Connect to third-party services

Creating API Keys

  1. Go to Dashboard > Settings > API Keys
  2. Click Create API Key
  3. Name your key (e.g., “Production Backend”)
  4. Copy and securely store the key

Important: API keys are shown only once. Store them securely.

Using API Keys

Authentication

Include the API key in request headers:

Authorization: Bearer your_api_key_here

Triggering Workflows

curl -X POST https://api.miiflow.ai/v1/workflows/{workflow_id}/run \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"input": "Your input data"}'

Key Management

Permissions

Each key can be scoped to specific:

  • Workflows
  • Operations (read, write, execute)

Rotation

Regularly rotate keys for security:

  1. Create a new key
  2. Update your applications
  3. Delete the old key

Security Best Practices

  1. Never expose keys in client-side code
  2. Use environment variables
  3. Rotate keys regularly
  4. Monitor key usage for anomalies
  5. Delete unused keys