API Introduction
The Loops REST API lets you manage your contacts, send events and send transactional email.
Authentication
Your Loops API key should never be used client side or exposed to your end users.
Start here if you want to use the Loops API to add contacts to your Loops audience, update their attributes, and send events to Loops.
Rate Limiting
To ensure the quality of service for all users, our API is rate limited. This means there’s a limit to the number of requests your application can make to our API in a certain time frame. The baseline rate limit is 10 requests per second per team.
Debugging
Sometimes things go wrong. Here are some tips to help you debug your API requests.
OpenAPI spec
Get started quickly with the Loops API using our OpenAPI documents.
You can import these documents into an API client like Postman or Insomnia to see and use all of our endpoints, with example requests and expected responses.
- YAML: app.loops.so/openapi.yaml
- JSON: app.loops.so/openapi.json
SDKs
SDKs are software packages built on top of the API, making it easier to integrate into your project.
JavaScript
The official JavaScript/TypeScript SDK for Loops.
Nuxt
The official Nuxt module for Loops.
PHP
The official PHP SDK for Loops.
Ruby
The official Ruby SDK for Loops.
Unofficial SDKs
The following SDKs are community-submitted and have not been officially reviewed or endorsed by Loops. We recommend thoroughly testing and reviewing the code before integrating it into your project.
- Laravel by PlutoLinks
- PHP by PlutoLinks
- Ruby on Rails by Daniel Friis
API Reference
The base URL for the API is https://app.loops.so/api
Contacts
Manage contacts.
Contact properties
Manage contact properties.
Mailing lists
View your mailing lists.
Events
Send events to trigger emails in loops.
Transactional email
Send a transactional email.
Custom fields
View your account’s custom contact properties.
This endpoint is now deprecated in favor of List contact properties.
API key
Test your API key.
Was this page helpful?