API Settings & Webhooks

Developer API & Webhooks

Manage your API access tokens and configure outbound webhooks for integrations.

Personal API Token

This token allows external applications to access your RealtyLync data. Treat this like a password. If you suspect it has been compromised, regenerate it immediately.

Token
curl -X POST https://realtylync.com/api/v1/leads/ \
  -H "Authorization: Token bd272c45cc813816e57384cf92f44eb62071d499" \
  -H "Content-Type: application/json" \
  -d '{
    "first_name": "Test",
    "last_name": "Lead",
    "anonymous_email": "[email protected]",
    "status": "new"
  }'
import requests

url = "https://realtylync.com/api/v1/leads/"
headers = {
    "Authorization": "Token bd272c45cc813816e57384cf92f44eb62071d499",
    "Content-Type": "application/json"
}
data = {
    "first_name": "Test",
    "last_name": "Lead",
    "anonymous_email": "[email protected]",
    "status": "new"
}

response = requests.post(url, json=data, headers=headers)
print(response.json())
const axios = require('axios');

const data = {
  first_name: 'Test',
  last_name: 'Lead',
  anonymous_email: '[email protected]',
  status: 'new'
};

axios.post('https://realtylync.com/api/v1/leads/', data, {
  headers: {
    'Authorization': 'Token bd272c45cc813816e57384cf92f44eb62071d499',
    'Content-Type': 'application/json'
  }
})
.then((res) => {
  console.log(`Status: ${res.status}`);
  console.log(res.data);
})
.catch((err) => {
  console.error(err);
});
Outbound Webhooks

Automatically receive data in your external systems (Zapier, Slack, Custom CRM) whenever a new Lead is created in RealtyLync.

We will send a POST request with JSON data to this URL instantly upon lead creation.
Sample Payload
{
  "event": "lead.created",
  "id": 123,
  "name": "Jane Doe",
  "email": "[email protected]",
  "phone": "+15550009999",
  "source": "Facebook Ads",
  "timestamp": "2023-10-27T10:00:00Z"
}