Developer Reference

SailySaaS REST API Documentation

Integrate SailySaaS CRM into your internal portals, browser extensions, customer apps, and automation pipelines.

The SailySaaS API is built on RESTful principles. It accepts JSON-encoded request bodies, returns standard HTTP response codes, and uses Bearer tokens for secure, organization-scoped authentication.

Base URL: https://sailysaas.signimus.com/api

Authentication

All API requests must include your API token in the Authorization header using the Bearer scheme.

HTTP Header Example
Authorization: Bearer nxtc__a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6
Content-Type: application/json

Organization Resolution: API tokens prefixed with nxtc__ are tied to a specific user and their active organization. You do NOT need to pass organizationId in request bodies; it is automatically resolved from your token.

1. Create Inbound Lead

Ingests a new lead into your CRM workspace with automatic deduplication based on email and phone number.

POST /api/integrations/zenith/leads

Request Body Parameters

Field Type Required Description
firstName String Yes* Lead's first name (*or lastName required)
lastName String No Lead's last name
email String No Lead's email address (used for duplicate matching)
phone String No International phone format (e.g. +919876543210)
companyName String No Company or organization name
jobTitle String No Job title or designation
leadSource String No Source name (e.g., "Zenith Extension", "Website")

cURL Example

cURL Request
curl -X POST https://sailysaas.signimus.com/api/integrations/zenith/leads \
  -H "Authorization: Bearer nxtc__your_api_token" \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "Rahul",
    "lastName": "Sharma",
    "email": "rahul@abcenterprises.com",
    "phone": "+919876543210",
    "companyName": "ABC Enterprises",
    "jobTitle": "Founder & CEO",
    "leadSource": "Zenith Extension"
  }'

Response (200 OK)

JSON Response
{
  "success": true,
  "data": {
    "leadId": "clx89f0290001a1b2c3d4e5f6",
    "leadSourceName": "Zenith Extension",
    "created": true
  }
}

2. Create Contact

Creates a verified contact in the CRM associated with a company record.

POST /api/crm/contacts
cURL Request
curl -X POST https://sailysaas.signimus.com/api/crm/contacts \
  -H "Authorization: Bearer nxtc__your_api_token" \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "Sarah",
    "lastName": "Jenkins",
    "email": "sarah@apexcloud.io",
    "phone": "+14155552671",
    "company": "Apex Cloud Systems",
    "jobTitle": "VP of Sales"
  }'

3. Create Opportunity

Creates a new deal inside your sales pipeline with expected revenue and target client details.

POST /api/crm/opportunities
cURL Request
curl -X POST https://sailysaas.signimus.com/api/crm/opportunities \
  -H "Authorization: Bearer nxtc__your_api_token" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Apex Cloud Enterprise Tier Expansion",
    "clientName": "Sarah Jenkins",
    "email": "sarah@apexcloud.io",
    "expectedRevenue": 64000,
    "currency": "USD"
  }'

4. Log Activity

Logs a phone call, email, meeting, or note directly on the contact or opportunity timeline.

POST /api/crm/activities
cURL Request
curl -X POST https://sailysaas.signimus.com/api/crm/activities \
  -H "Authorization: Bearer nxtc__your_api_token" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "call",
    "subject": "Discovery Call with Decision Maker",
    "description": "Reviewed security requirements and multi-organization tenant setup.",
    "contactId": "clx89f0290001a1b2c3d4e5f6"
  }'