← Zapier Integration Guide
REST API v1 REFERENCE

OutSends Public API Reference

Complete technical documentation for developers, Zapier app review, and custom integrations. Learn how to authenticate with your OutSends API key, poll new contacts, list contact lists, and programmatically create or update leads.

1. Base URL & Authentication

All OutSends API requests are sent over secure HTTPS and accept/return standard JSON payloads. https://osndr.com is the official production API domain owned and operated by OutSends.

Production Base URL: https://osndr.com

Authentication uses a standard Bearer Token (API Key) in the Authorization header. Endpoints under /api/v1/* also support passing the key via the ?api_key= query parameter. You can generate or revoke live keys anytime in your OutSends dashboard under Integrations > Zapier or Settings > API Keys.

# Include your API Key in the HTTP Authorization header: Authorization: Bearer os_live_xxxxxxxxxxxxxxxxxxxxxxxx

Verify Authentication (Connection Test)

Used by Zapier to test API key validity and identify the authenticated OutSends account email.

GET /api/user/api-keys
curl -X GET https://osndr.com/api/user/api-keys \ -H "Authorization: Bearer os_live_YOUR_API_KEY" \ -H "Accept: application/json"
// HTTP 200 OK Response { "email": "[email protected]", "keys": [ { "id": "key_94b8109a-2415-46e3-9821-df621a22be10", "name": "Zapier Integration", "keyPrefix": "os_live_QRKI", "scopes": ["*"], "lastUsedAt": "2026-11-23T14:30:00.000Z", "createdAt": "2026-11-20T09:15:00.000Z" } ] }

2. Trigger: New Contact (List Contacts)

Used by Zapier polling triggers to fetch recently added contacts across your OutSends contact lists and inbound leads. Returns a reverse-chronologically sorted JSON array of up to 100 contacts, each with a deterministic unique id.

GET /api/v1/contacts
Query Parameter Type Status Description
api_key string Optional Alternative to the Authorization: Bearer <API_KEY> header.
curl -X GET "https://osndr.com/api/v1/contacts" \ -H "Authorization: Bearer os_live_YOUR_API_KEY" \ -H "Accept: application/json"
// HTTP 200 OK Response [ { "id": "cnt_4a11f8e0829d4871924b32a7", "email": "[email protected]", "first_name": "Sarah", "last_name": "Connor", "company": "Cyberdyne Systems", "phone": "+1 555-0199", "list_name": "All Contacts", "created_at": "2026-11-23T14:30:00.000Z" }, { "id": "cnt_9e83b27129404dc1a8332819", "email": "[email protected]", "first_name": "John", "last_name": "Wick", "company": "Continental Hotel", "phone": "+1 555-0142", "list_name": "Inbound Leads", "created_at": "2026-11-23T14:15:22.000Z" } ]

3. Action: Create Contact

Creates a new contact in an OutSends contact list. If a contact with the same email already exists in the target list, OutSends updates the contact fields in place without creating duplicates.

POST /api/v1/contacts
Body Field Type Status Description
email string (email) Required Primary email address of the contact to add (also accepts contact_email).
first_name string Optional Contact's first name (used for personalized {{first_name}} tags).
last_name string Optional Contact's last name.
company string Optional Company or organization name.
phone string Optional Contact phone number.
list_name string Optional Target contact list name or ID (also accepts list_id). Defaults to All Contacts.
curl -X POST https://osndr.com/api/v1/contacts \ -H "Authorization: Bearer os_live_YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "first_name": "Elena", "last_name": "Rostova", "company": "TechCorp", "phone": "+1 555-0188", "list_name": "Inbound Leads" }'
// HTTP 201 Created Response { "id": "cnt_1732374000000_x9k2a", "email": "[email protected]", "first_name": "Elena", "last_name": "Rostova", "company": "TechCorp", "phone": "+1 555-0188", "list_name": "Inbound Leads", "created_at": "2026-11-23T15:00:00.000Z" }

4. List Contact Lists (Dynamic Dropdown)

Returns all contact lists in the authenticated OutSends account. Used by Zapier dynamic dropdown fields so users can pick a target list when configuring the Create Contact action.

GET /api/v1/lists
curl -X GET "https://osndr.com/api/v1/lists" \ -H "Authorization: Bearer os_live_YOUR_API_KEY" \ -H "Accept: application/json"
// HTTP 200 OK Response [ { "id": "all_contacts", "name": "All Contacts" }, { "id": "lst_inbound_leads", "name": "Inbound Leads" } ]

5. HTTP Status Codes & Errors

The OutSends API uses conventional HTTP status codes to indicate the success or failure of requests:

Code Meaning Description
200 OK Success The request succeeded (GET operations).
201 Created Resource Created The contact was successfully created or updated.
400 Bad Request Validation Error Missing or invalid required fields (e.g., {"error": "A valid email is required"}).
401 Unauthorized Invalid API Key API key is missing, expired, or revoked ({"error": "Unauthorized"}).
429 Too Many Requests Rate Limit Exceeded account rate limit. Retry with exponential backoff.
500 Internal Server Error Server Error Unexpected server-side error ({"error": "Internal server error"}).