loops-api
loops-so/skills
Integrate Loops email platform into your app, backend, and webhooks via HTTP API or official SDKs.
What is loops-api?
This skill guides server-side integration of Loops—the email platform—into application code, backend services, and webhooks. Use it when you need to manage contacts, send transactional emails, create campaigns, manage workflows, or receive Loops webhooks from your application.
- Manage contacts, contact properties, mailing lists, and suppression status via API
- Send transactional emails and manage transactional email templates
- Create, edit, and publish draft campaigns with audience targeting and scheduling
- Create and manage audience segments, themes, and email components
- Build, update, and delete workflows and workflow nodes programmatically
- Receive, verify, and handle inbound Loops webhooks (contact, send, engagement events)
How to install loops-api
npx skills add https://github.com/loops-so/skills --skill loops-api- Loops account with API key (available at https://app.loops.so)
- For SDKs: Node.js/JavaScript runtime; for HTTP: any language with HTTP client support
- Understanding of your app's backend language and framework
How to use loops-api
- 1.Obtain your Loops API key from the Loops dashboard
- 2.Choose SDK (if available for your language) or raw HTTP API
- 3.For SDK: install the package and initialize with your API key
- 4.For HTTP: set up authentication header with your API key
- 5.Write code to call the appropriate endpoint (contacts, campaigns, workflows, webhooks, etc.)
- 6.Test with a small request (e.g., validate API key or fetch a contact)
- 7.Deploy and monitor for errors; refer to official docs for exact payload shapes
Use cases
- Add contacts to Loops and update their properties from your backend when users sign up
- Send transactional emails (password resets, receipts, notifications) directly from your application code
- Create and schedule email campaigns with specific audience segments via API
- Build automated workflows that trigger on user events and manage contact state
- Receive webhook notifications when contacts engage with emails and sync that data back to your app
- Backend engineers integrating Loops into their application
- Full-stack developers building webhook handlers for Loops events
- DevOps or automation engineers setting up server-side email workflows
- Teams using Loops for transactional and marketing email from code
loops-api FAQ
Prefer official SDKs (JavaScript available) for application code in supported languages. Use raw HTTP only when no SDK exists for your language or you need exact payload control.
Yes. Use the transactional email endpoints to send emails directly from your application code, backend service, or webhook handler. Keep all Loops requests server-side.
Set up an HTTP endpoint in your application, configure the webhook URL in Loops, and verify incoming webhook signatures. The skill provides guidance on webhook verification and event handling.
Yes. You can create, update, inspect, and delete workflows and workflow nodes (including branches, reroutes, and contact queuing) via the API.
If your task is Loops CLI install, authentication, or shell commands, use the separate loops-cli skill instead.
Full instructions (SKILL.md)
Source of truth, from loops-so/skills.
name: loops-api description: > Use this skill whenever the user wants to integrate Loops from application code, backend services, webhook handlers, or server-side automation. This includes the Loops HTTP API and official SDKs for server-side contact, contact-property, mailing-list, event, API-key-validation, transactional-email, content editing (campaigns, groups, audience segments, email messages, themes, and components), workflow graph/node mutation, and inbound Loops webhooks. Trigger on phrases like "Loops API", "Loops SDK", "create a campaign via API", "update email message LMX", "create a theme via API", "create a workflow via API", "add a workflow node", "Loops webhook", "send a Loops event from my app", "add a contact to Loops in a webhook", "send a transactional email from backend code", or any time the user wants to integrate Loops into their app, backend, webhook, or automation. Do not trigger for CLI or shell-only requests. metadata: version: 1.7.0
Loops API and SDK Skill
This skill helps with Loops implementation workflows from application code. Use it for backend integrations, exact request guidance, and SDK or HTTP decisions.
When To Use
Use this skill when the user needs to:
- integrate Loops into an app, backend, webhook, or automation
- decide between official SDKs and raw HTTP
- manage contacts, contact properties, mailing lists, events, or transactional email
- send transactional emails or create, edit, and publish transactional email templates via API
- manage contact suppression status/removal
- create draft campaigns with audience targeting (mailing list, segment, or filter), groups, and scheduling
- organize campaigns and transactional emails into groups
- list or create audience segments for campaign/workflow targeting
- update email-message content (subject, sender, CC/BCC, format, fallbacks, LMX), send previews, and run Guardian checks
- list, create, update, and get themes and components to build LMX payloads
- upload images for email content
- create, update, inspect, and delete workflows and workflow nodes (including mailing-list changes, branches, reroutes, and queued-contact handling)
- list event patterns for workflow event triggers
- receive and verify inbound Loops webhooks (contact, email send, and engagement events)
- validate credentials or troubleshoot Loops request behavior from code
This skill is for implementation and operational usage, not broad email strategy or deliverability review.
Working Style
When this skill is active:
- Choose the right interface first: SDK or raw HTTP.
- Prefer official SDKs for application code when the language has one.
- Prefer raw HTTP only when no SDK is available or the user needs exact payload control.
- Keep Loops requests server-side.
- Verify exact behavior against the official docs or OpenAPI spec when details matter.
- For LMX email design or brand work, use the theme/component endpoints in
references/http-api.md; the LMX design policy lives in theloops-lmxskill. - If the task is primarily about Loops CLI install, auth, shell usage, or command help, use the separate
loops-cliskill.
Official references:
- Docs:
https://loops.so/docs - API reference:
https://loops.so/docs/api-reference/intro - Campaign examples:
https://loops.so/docs/api-reference/examples/campaigns - JavaScript SDK:
https://loops.so/docs/sdks/javascript - Webhooks:
https://loops.so/docs/webhooks - OpenAPI spec:
https://app.loops.so/openapi.json
Choose The Interface
- SDK or HTTP API:
- application code
- backend services
- webhook handlers
- repeatable integrations
Read
references/http-api.md
If the user is working from the terminal instead of writing application code, use the loops-cli skill.
Category Routing
- Auth, base URL, rate limits, contacts, suppression, properties, lists, events, uploads, inbound Loops webhooks, SDK examples, and HTTP errors:
Read
references/http-api.md - Campaigns, campaign groups, transactional groups, audience segments, workflows, workflow nodes, event patterns, transactional emails, email messages, themes, components, and revision-safe updates:
Read
references/http-api.md. For LMX markup itself, also use theloops-lmxskill.
Output Checklist
Aim to leave the user with:
- the right API interface choice for the task
- exact payload shapes or SDK usage
- any Loops-specific caveats that affect behavior
- the next validation step, such as a small test request or API-key check
Related skills
More from loops-so/skills and the wider catalog.

loops-cli
Terminal interface for Loops email platform—install, authenticate, and manage contacts, campaigns, and transactional email from the shell.

loops-email-sending-best-practices
Review and optimize email sending practices for deliverability, consent, content, and program strategy.

loops-lmx
Write, review, and generate correct LMX markup for Loops email campaigns and workflows.

ui-ux-designer
Agent skill from lotosbin/claude-skills.

motion-design
Apply motion design principles to create emotionally-driven animations and transitions across any animation system.

lovart-api
>-