API
Connect automation platforms and scripts to Tailride with API keys.
Overview
The Tailride API lets automation platforms — such as the Tailride apps for Make and Zapier — and your own scripts search your invoices and subscribe to invoice events.
- Base URL:
https://tailride.so/api/v1 - Requests and responses use JSON.
Availability
The API is available on paid plans for business accounts. API keys are created by the root user of the account.
API Keys
You manage API keys in the API keys block at the bottom of Settings → Webhooks.
- Create — enter a name (e.g. "Make") and click Create API key. The key starts with
trapi_and is shown only once, so copy it right away. If you lose it, revoke it and create a new one. - Review — each key shows its name, last four characters, creation date, and when it was last used.
- Revoke — the key stops working immediately, and the webhooks a platform subscribed with it are removed.
You can have up to 10 API keys. Anyone with a key can read your invoices and manage platform webhooks for your account, so keep keys secret and revoke any you no longer use.
Authentication
Send the key with every request, in either header:
Errors
Errors return a JSON body with a message and an HTTP status code:
| Status | Meaning |
|---|---|
400 | Invalid request parameters |
401 | The API key is missing, invalid, or revoked |
403 | The account is not a business account, or the endpoint requires a paid plan |
500 | Something went wrong on our side — retry later |
Get the Current Account
Returns the account the API key belongs to. Use it to check that a key works.
Search Invoices
Searches processed invoices, newest invoice date first. This is the same search as the search box in your invoice list: it matches the invoice number, vendor, sender, email subject, notes, line items, and amount.
| Parameter | Description |
|---|---|
search | Optional search text (up to 200 characters). Without it, the newest invoices are returned. |
limit | Invoices per page, 1–100. Default 20. |
page | Page number, starting at 1. Default 1. |
Each invoice has the same fields as data.invoice in the webhook payload. File download links in search results are valid for 1 hour (see expiresAt).
Subscribe a Webhook
Used by automation platforms to register their webhook URL for an invoice event. Supported platforms: make (webhook URLs on hook.<region>.make.com) and zapier (webhook URLs on hooks.zapier.com). To send events to your own endpoint, add a webhook in Settings → Webhooks instead.
| Field | Description |
|---|---|
url | The platform's webhook URL (HTTPS). |
event | invoice.processed (default) or invoice.updated — see Events. |
source | The platform, e.g. make. |
Returns 201 with the new webhook, or 200 with the existing one when the same URL is already subscribed to the same event:
Deliveries use the same payload, retries, and signature as dashboard webhooks. Subscribed webhooks appear in Settings → Webhooks with the platform's badge; the platform sets their URL, so they cannot be edited there, but you can pause or delete them. Up to 50 platform webhooks per account; they do not count toward the limit of 10 dashboard webhooks.
Unsubscribe a Webhook
Removes a webhook created with POST /api/v1/webhooks. Webhooks added in the dashboard cannot be removed through the API. The call succeeds even if the webhook is already gone:
Tailride also removes a platform webhook on its own when the platform reports that the webhook URL no longer exists (HTTP 410 Gone).