Step 1 — Get your API key
Settings → Integrations → API Access → Generate key. Copy and store it — it's shown once.
Step 2 — In Zapier / Make / n8n
Use the Webhooks by Zapier (or HTTP Request in Make/n8n) module.
Create a task
```
POST https://api.lemtask.com/v1/tasks
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{ "title": "Follow up with {{lead_name}}", "priority": 2, "due": "tomorrow 10am" }
```
Trigger from LemTask events
Settings → Integrations → Outgoing Webhooks → add a URL. Choose events: *task.created*, *task.completed*, *habit.streak_broken*, etc.
Popular recipes
- New Gmail with label → LemTask P1 task
- LemTask task completed → post to Slack channel
- Calendly booking → LemTask *Prep for {{invitee}}* task 24h before
- LemTask habit streak hits 30 → send yourself a reward email
Rate limits: 60 requests/min per key. If you hit them, batch or throttle in your automation.