Contacts
Operations related to contacts
Returns a list of contacts with pagination support.
Page number to retrieve.
Number of items per page.
Contact email to filter contacts by (partial match).
Contact name to filter contacts by (partial match).
Opportunity ID to filter contacts by.
Company ID to filter contacts by.
Unauthorized - missing or invalid API key
GET /api/v1/contacts HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": [
{
"id": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"firstName": "John",
"lastName": "Doe",
"salutation": "Mr.",
"birthday": "1990-01-15T00:00:00.000Z",
"email": "[email protected]",
"phone": "+1-555-123-4567",
"genderIdentity": "Male",
"pronouns": "he/him",
"fax": "+1-555-123-4568",
"linkedinUrl": "https://linkedin.com/in/johndoe",
"address": "123 Main Street",
"postalCode": "12345",
"city": "New York",
"state": "NY",
"country": "United States",
"currency": "USD",
"titlePosition": "Software Engineer",
"language": "English",
"assistant": "Jane Smith",
"assistantPhone": "+1-555-123-4569",
"division": "Engineering",
"department": "Software Development",
"description": "Senior software engineer with 5 years of experience",
"leadSource": "Website",
"leadRecordType": "Lead",
"reportsTo": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"createdAt": "2024-01-15T10:00:00.000Z",
"updatedAt": "2024-01-15T10:00:00.000Z"
}
]
}
Creates a new contact.
First name of the contact
John
Last name of the contact
Doe
Salutation of the contact
Mr.
Birthday of the contact
1990-01-15T00:00:00.000Z
Phone number of the contact
+1-555-123-4567
Gender identity of the contact
Male
Pronouns of the contact
he/him
Fax number of the contact
+1-555-123-4568
LinkedIn URL of the contact
https://linkedin.com/in/johndoe
Address of the contact
123 Main Street
Postal code of the contact
12345
City of the contact
New York
State of the contact
NY
Country of the contact
United States
Currency preference of the contact
USD
Title/Position of the contact
Software Engineer
Language preference of the contact
English
Assistant name of the contact
Jane Smith
Assistant phone number
+1-555-123-4569
Division of the contact
Engineering
Department of the contact
Software Development
Description of the contact
Senior software engineer with 5 years of experience
Lead source of the contact
Website
Lead record type
Lead
Reports to contact ID
5516cd47-2bd0-4f4f-adc2-22524e54ba4d
Unauthorized - missing or invalid API key
POST /api/v1/contacts HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 734
{
"firstName": "John",
"lastName": "Doe",
"salutation": "Mr.",
"birthday": "1990-01-15T00:00:00.000Z",
"email": "[email protected]",
"phone": "+1-555-123-4567",
"genderIdentity": "Male",
"pronouns": "he/him",
"fax": "+1-555-123-4568",
"linkedinUrl": "https://linkedin.com/in/johndoe",
"address": "123 Main Street",
"postalCode": "12345",
"city": "New York",
"state": "NY",
"country": "United States",
"currency": "USD",
"titlePosition": "Software Engineer",
"language": "English",
"assistant": "Jane Smith",
"assistantPhone": "+1-555-123-4569",
"division": "Engineering",
"department": "Software Development",
"description": "Senior software engineer with 5 years of experience",
"leadSource": "Website",
"leadRecordType": "Lead",
"reportsTo": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d"
}
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": {
"id": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"firstName": "John",
"lastName": "Doe",
"salutation": "Mr.",
"birthday": "1990-01-15T00:00:00.000Z",
"email": "[email protected]",
"phone": "+1-555-123-4567",
"genderIdentity": "Male",
"pronouns": "he/him",
"fax": "+1-555-123-4568",
"linkedinUrl": "https://linkedin.com/in/johndoe",
"address": "123 Main Street",
"postalCode": "12345",
"city": "New York",
"state": "NY",
"country": "United States",
"currency": "USD",
"titlePosition": "Software Engineer",
"language": "English",
"assistant": "Jane Smith",
"assistantPhone": "+1-555-123-4569",
"division": "Engineering",
"department": "Software Development",
"description": "Senior software engineer with 5 years of experience",
"leadSource": "Website",
"leadRecordType": "Lead",
"reportsTo": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"createdAt": "2024-01-15T10:00:00.000Z",
"updatedAt": "2024-01-15T10:00:00.000Z"
}
}
Get a contact by ID.
Contact ID to retrieve.
Unauthorized - missing or invalid API key
GET /api/v1/contacts/{id} HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": {
"id": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"firstName": "John",
"lastName": "Doe",
"salutation": "Mr.",
"birthday": "1990-01-15T00:00:00.000Z",
"email": "[email protected]",
"phone": "+1-555-123-4567",
"genderIdentity": "Male",
"pronouns": "he/him",
"fax": "+1-555-123-4568",
"linkedinUrl": "https://linkedin.com/in/johndoe",
"address": "123 Main Street",
"postalCode": "12345",
"city": "New York",
"state": "NY",
"country": "United States",
"currency": "USD",
"titlePosition": "Software Engineer",
"language": "English",
"assistant": "Jane Smith",
"assistantPhone": "+1-555-123-4569",
"division": "Engineering",
"department": "Software Development",
"description": "Senior software engineer with 5 years of experience",
"leadSource": "Website",
"leadRecordType": "Lead",
"reportsTo": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"createdAt": "2024-01-15T10:00:00.000Z",
"updatedAt": "2024-01-15T10:00:00.000Z"
}
}
Updates an existing contact.
Contact ID to update.
First name of the contact
John
Last name of the contact
Doe
Salutation of the contact
Mr.
Birthday of the contact
1990-01-15T00:00:00.000Z
Phone number of the contact
+1-555-123-4567
Gender identity of the contact
Male
Pronouns of the contact
he/him
Fax number of the contact
+1-555-123-4568
LinkedIn URL of the contact
https://linkedin.com/in/johndoe
Address of the contact
123 Main Street
Postal code of the contact
12345
City of the contact
New York
State of the contact
NY
Country of the contact
United States
Currency preference of the contact
USD
Title/Position of the contact
Software Engineer
Language preference of the contact
English
Assistant name of the contact
Jane Smith
Assistant phone number
+1-555-123-4569
Division of the contact
Engineering
Department of the contact
Software Development
Description of the contact
Senior software engineer with 5 years of experience
Lead source of the contact
Website
Lead record type
Lead
Reports to contact ID
5516cd47-2bd0-4f4f-adc2-22524e54ba4d
Unauthorized - missing or invalid API key
PUT /api/v1/contacts/{id} HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 734
{
"firstName": "John",
"lastName": "Doe",
"salutation": "Mr.",
"birthday": "1990-01-15T00:00:00.000Z",
"email": "[email protected]",
"phone": "+1-555-123-4567",
"genderIdentity": "Male",
"pronouns": "he/him",
"fax": "+1-555-123-4568",
"linkedinUrl": "https://linkedin.com/in/johndoe",
"address": "123 Main Street",
"postalCode": "12345",
"city": "New York",
"state": "NY",
"country": "United States",
"currency": "USD",
"titlePosition": "Software Engineer",
"language": "English",
"assistant": "Jane Smith",
"assistantPhone": "+1-555-123-4569",
"division": "Engineering",
"department": "Software Development",
"description": "Senior software engineer with 5 years of experience",
"leadSource": "Website",
"leadRecordType": "Lead",
"reportsTo": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d"
}
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": {
"id": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"firstName": "John",
"lastName": "Doe",
"salutation": "Mr.",
"birthday": "1990-01-15T00:00:00.000Z",
"email": "[email protected]",
"phone": "+1-555-123-4567",
"genderIdentity": "Male",
"pronouns": "he/him",
"fax": "+1-555-123-4568",
"linkedinUrl": "https://linkedin.com/in/johndoe",
"address": "123 Main Street",
"postalCode": "12345",
"city": "New York",
"state": "NY",
"country": "United States",
"currency": "USD",
"titlePosition": "Software Engineer",
"language": "English",
"assistant": "Jane Smith",
"assistantPhone": "+1-555-123-4569",
"division": "Engineering",
"department": "Software Development",
"description": "Senior software engineer with 5 years of experience",
"leadSource": "Website",
"leadRecordType": "Lead",
"reportsTo": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"createdAt": "2024-01-15T10:00:00.000Z",
"updatedAt": "2024-01-15T10:00:00.000Z"
}
}
Deletes a contact by ID.
Contact ID to delete.
Unauthorized - missing or invalid API key
DELETE /api/v1/contacts/{id} HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": true
}
Returns a list of integrations for a given contact ID.
Contact ID to get integrations from.
Unauthorized - missing or invalid API key
GET /api/v1/contacts/{id}/integrations HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": {
"contactId": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"integrations": [
{
"integrationType": "crm",
"integrationName": "HubSpot",
"integrationId": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d"
}
]
}
}
Returns a list of companies associated with a contact.
Contact ID to get companies from.
Page number to retrieve.
Number of items per page.
Unauthorized - missing or invalid API key
GET /api/v1/contacts/{id}/companies HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": [
{
"companyId": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"companyName": "Acme Corp",
"companyDomain": "acme.com"
}
]
}
Creates a relationship between a contact and a company.
Contact ID.
Company ID
5516cd47-2bd0-4f4f-adc2-22524e54ba4d
Unauthorized - missing or invalid API key
POST /api/v1/contacts/{id}/companies HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"companyId": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d"
}
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": true
}
Returns a list of opportunities associated with a contact.
Contact ID to get opportunities from.
Page number to retrieve.
Number of items per page.
Unauthorized - missing or invalid API key
GET /api/v1/contacts/{id}/opportunities HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": [
{
"opportunityId": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d",
"opportunityName": "Q1 Sales Deal",
"opportunityAmount": 50000,
"opportunityStatus": "Open"
}
]
}
Creates a relationship between a contact and an opportunity.
Opportunity ID
5516cd47-2bd0-4f4f-adc2-22524e54ba4d
Unauthorized - missing or invalid API key
POST /api/v1/contacts/{id}/opportunities HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 56
{
"opportunityId": "5516cd47-2bd0-4f4f-adc2-22524e54ba4d"
}
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": true
}
Deletes a relationship between a contact and a company.
Contact ID.
Company ID.
Unauthorized - missing or invalid API key
DELETE /api/v1/contacts/{id}/companies/{companyId} HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": true
}
Deletes a relationship between a contact and an opportunity.
Opportunity ID.
Unauthorized - missing or invalid API key
DELETE /api/v1/contacts/{id}/opportunities/{opportunityId} HTTP/1.1
Host: api.salescaling.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"statusCode": 200,
"count": 1,
"error": "text",
"data": true
}