Documentation

Organization API

REST API
Admin

Manage your Laneful organization — workspaces, domains, lanes, tracks, webhooks, API keys, suppressions and deliverability data — programmatically through the admin REST API.

API
v1

Overview

The Organization API lets you manage the admin functions of your Laneful account. Use it to provision workspaces, configure sending domains, set up delivery lanes, and organize them into tracks. Only one step happens in the dashboard: creating your Organization API key. Webhook signing secrets are returned when you create a webhook and by Get a webhook's signing secret; other webhook responses leave them out.

All endpoints live under https://api.laneful.net/v1 and follow standard REST conventions. Responses are JSON.

Authentication

Authenticate requests using a Bearer token with an organization API key, created under Settings → Organization API Keys with type Api Only or Full Access. Workspace sending keys can't call this API.

curl -H "Authorization: Bearer your_api_key" \
https://api.laneful.net/v1/workspaces

A missing or malformed Authorization header returns 401. An unknown key, a key of the wrong type, or a request from an IP the key doesn't allow returns 403.

Resources

The API is organized around core resources:

Workspaces

Workspaces isolate data for different clients or environments. Each workspace has its own keys, domains, stats, and settings.

Domains

Register and verify sending domains. A verified domain is required to send emails — the "from" address must match a verified domain (e.g. no-reply@yourdomain.com). Includes DKIM, tracking, and return-path configuration. The API returns each record's verification status; the records to publish are listed on Domain Authentication.

Lanes

Lanes are email sending paths. An IP Lane uses a dedicated IP address (assigned automatically), while a Relay Lane routes through an SMTP relay server with your own credentials. Lanes are attached to Tracks for delivery routing.

Tracks

Tracks are email delivery configurations that group one or more Lanes for routing. Use tracks to organize your sending infrastructure and route emails through specific delivery paths. Currently only the email type is supported.

More Resources

  • • Webhooks — email event webhooks for a workspace (payloads and signatures are described on Webhooks)
  • • API Keys — a workspace's sending keys
  • • Bounces, Unsubscribes and Unsubscribe Groups — suppression lists and the groups recipients can opt out of
  • • Analytics, Google Postmaster and Microsoft SNDS — deliverability data for your organization's domains and IPs

Full API Reference

For the complete list of endpoints, request/response schemas, and an interactive explorer, see the OpenAPI documentation.

View OpenAPI Reference