curl --request POST \
--url https://api.reply.io/v3/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "john.doe@company.com",
"firstName": "John",
"lastName": "Doe",
"title": "Senior Product Manager",
"company": "Tech Solutions Inc",
"phone": "+1-415-555-0123",
"linkedInUrl": "https://www.linkedin.com/in/johndoe",
"accountId": 100,
"customFields": [
{
"key": "leadSource",
"value": "Conference"
}
]
}
'import requests
url = "https://api.reply.io/v3/contacts"
payload = {
"email": "john.doe@company.com",
"firstName": "John",
"lastName": "Doe",
"title": "Senior Product Manager",
"company": "Tech Solutions Inc",
"phone": "+1-415-555-0123",
"linkedInUrl": "https://www.linkedin.com/in/johndoe",
"accountId": 100,
"customFields": [
{
"key": "leadSource",
"value": "Conference"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
email: 'john.doe@company.com',
firstName: 'John',
lastName: 'Doe',
title: 'Senior Product Manager',
company: 'Tech Solutions Inc',
phone: '+1-415-555-0123',
linkedInUrl: 'https://www.linkedin.com/in/johndoe',
accountId: 100,
customFields: [{key: 'leadSource', value: 'Conference'}]
})
};
fetch('https://api.reply.io/v3/contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.reply.io/v3/contacts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'email' => 'john.doe@company.com',
'firstName' => 'John',
'lastName' => 'Doe',
'title' => 'Senior Product Manager',
'company' => 'Tech Solutions Inc',
'phone' => '+1-415-555-0123',
'linkedInUrl' => 'https://www.linkedin.com/in/johndoe',
'accountId' => 100,
'customFields' => [
[
'key' => 'leadSource',
'value' => 'Conference'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.reply.io/v3/contacts"
payload := strings.NewReader("{\n \"email\": \"john.doe@company.com\",\n \"firstName\": \"John\",\n \"lastName\": \"Doe\",\n \"title\": \"Senior Product Manager\",\n \"company\": \"Tech Solutions Inc\",\n \"phone\": \"+1-415-555-0123\",\n \"linkedInUrl\": \"https://www.linkedin.com/in/johndoe\",\n \"accountId\": 100,\n \"customFields\": [\n {\n \"key\": \"leadSource\",\n \"value\": \"Conference\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.reply.io/v3/contacts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"john.doe@company.com\",\n \"firstName\": \"John\",\n \"lastName\": \"Doe\",\n \"title\": \"Senior Product Manager\",\n \"company\": \"Tech Solutions Inc\",\n \"phone\": \"+1-415-555-0123\",\n \"linkedInUrl\": \"https://www.linkedin.com/in/johndoe\",\n \"accountId\": 100,\n \"customFields\": [\n {\n \"key\": \"leadSource\",\n \"value\": \"Conference\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/contacts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"john.doe@company.com\",\n \"firstName\": \"John\",\n \"lastName\": \"Doe\",\n \"title\": \"Senior Product Manager\",\n \"company\": \"Tech Solutions Inc\",\n \"phone\": \"+1-415-555-0123\",\n \"linkedInUrl\": \"https://www.linkedin.com/in/johndoe\",\n \"accountId\": 100,\n \"customFields\": [\n {\n \"key\": \"leadSource\",\n \"value\": \"Conference\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": 12345,
"email": "john.doe@company.com",
"firstName": "John",
"lastName": "Doe",
"title": "Senior Product Manager",
"company": "Tech Solutions Inc",
"domain": "company.com",
"companySize": "501-1000",
"city": "San Francisco",
"state": "CA",
"country": "United States",
"timeZoneId": "America/Los_Angeles",
"phone": "+1-415-555-0123",
"phoneStatus": "valid",
"linkedInUrl": "https://www.linkedin.com/in/johndoe",
"linkedInSalesNavigatorUrl": "https://www.linkedin.com/sales/profile/123456",
"linkedInRecruiterUrl": "https://www.linkedin.com/recruiter/profile/789012",
"industry": "Software & Technology",
"notes": "Met at SaaS Conference 2024",
"ownerUserId": 42,
"accountId": 100,
"isOptedOut": false,
"callStatus": "toCall",
"meetingStatus": "none",
"stage": "Interested",
"addingDate": "2024-03-08T10:00:00+00:00",
"createdAt": "2024-03-08T10:00:00",
"lastModifiedAt": "2024-03-10T15:30:00",
"customFields": [
{
"key": "leadSource",
"value": "Conference"
},
{
"key": "budget",
"value": "100k-250k"
}
]
}Create a contact
contacts:write scope (or a broader one that includes it).
Add a single contact to your account with any profile and custom fields you have. Returns the contact with its new id.
When the Accounts feature is enabled for the workspace and company is set without accountId, the contact is
linked to the team’s contact account with that name, or to a new account created from company, industry and
companySize. A deleted account with that name is restored, and an existing account gets industry and
companySize from the request only where its own are empty. The contact’s company, industry and companySize
then come from the linked account. accountId, when set, takes precedence over company.
curl --request POST \
--url https://api.reply.io/v3/contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "john.doe@company.com",
"firstName": "John",
"lastName": "Doe",
"title": "Senior Product Manager",
"company": "Tech Solutions Inc",
"phone": "+1-415-555-0123",
"linkedInUrl": "https://www.linkedin.com/in/johndoe",
"accountId": 100,
"customFields": [
{
"key": "leadSource",
"value": "Conference"
}
]
}
'import requests
url = "https://api.reply.io/v3/contacts"
payload = {
"email": "john.doe@company.com",
"firstName": "John",
"lastName": "Doe",
"title": "Senior Product Manager",
"company": "Tech Solutions Inc",
"phone": "+1-415-555-0123",
"linkedInUrl": "https://www.linkedin.com/in/johndoe",
"accountId": 100,
"customFields": [
{
"key": "leadSource",
"value": "Conference"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
email: 'john.doe@company.com',
firstName: 'John',
lastName: 'Doe',
title: 'Senior Product Manager',
company: 'Tech Solutions Inc',
phone: '+1-415-555-0123',
linkedInUrl: 'https://www.linkedin.com/in/johndoe',
accountId: 100,
customFields: [{key: 'leadSource', value: 'Conference'}]
})
};
fetch('https://api.reply.io/v3/contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.reply.io/v3/contacts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'email' => 'john.doe@company.com',
'firstName' => 'John',
'lastName' => 'Doe',
'title' => 'Senior Product Manager',
'company' => 'Tech Solutions Inc',
'phone' => '+1-415-555-0123',
'linkedInUrl' => 'https://www.linkedin.com/in/johndoe',
'accountId' => 100,
'customFields' => [
[
'key' => 'leadSource',
'value' => 'Conference'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.reply.io/v3/contacts"
payload := strings.NewReader("{\n \"email\": \"john.doe@company.com\",\n \"firstName\": \"John\",\n \"lastName\": \"Doe\",\n \"title\": \"Senior Product Manager\",\n \"company\": \"Tech Solutions Inc\",\n \"phone\": \"+1-415-555-0123\",\n \"linkedInUrl\": \"https://www.linkedin.com/in/johndoe\",\n \"accountId\": 100,\n \"customFields\": [\n {\n \"key\": \"leadSource\",\n \"value\": \"Conference\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.reply.io/v3/contacts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"john.doe@company.com\",\n \"firstName\": \"John\",\n \"lastName\": \"Doe\",\n \"title\": \"Senior Product Manager\",\n \"company\": \"Tech Solutions Inc\",\n \"phone\": \"+1-415-555-0123\",\n \"linkedInUrl\": \"https://www.linkedin.com/in/johndoe\",\n \"accountId\": 100,\n \"customFields\": [\n {\n \"key\": \"leadSource\",\n \"value\": \"Conference\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/contacts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"john.doe@company.com\",\n \"firstName\": \"John\",\n \"lastName\": \"Doe\",\n \"title\": \"Senior Product Manager\",\n \"company\": \"Tech Solutions Inc\",\n \"phone\": \"+1-415-555-0123\",\n \"linkedInUrl\": \"https://www.linkedin.com/in/johndoe\",\n \"accountId\": 100,\n \"customFields\": [\n {\n \"key\": \"leadSource\",\n \"value\": \"Conference\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": 12345,
"email": "john.doe@company.com",
"firstName": "John",
"lastName": "Doe",
"title": "Senior Product Manager",
"company": "Tech Solutions Inc",
"domain": "company.com",
"companySize": "501-1000",
"city": "San Francisco",
"state": "CA",
"country": "United States",
"timeZoneId": "America/Los_Angeles",
"phone": "+1-415-555-0123",
"phoneStatus": "valid",
"linkedInUrl": "https://www.linkedin.com/in/johndoe",
"linkedInSalesNavigatorUrl": "https://www.linkedin.com/sales/profile/123456",
"linkedInRecruiterUrl": "https://www.linkedin.com/recruiter/profile/789012",
"industry": "Software & Technology",
"notes": "Met at SaaS Conference 2024",
"ownerUserId": 42,
"accountId": 100,
"isOptedOut": false,
"callStatus": "toCall",
"meetingStatus": "none",
"stage": "Interested",
"addingDate": "2024-03-08T10:00:00+00:00",
"createdAt": "2024-03-08T10:00:00",
"lastModifiedAt": "2024-03-10T15:30:00",
"customFields": [
{
"key": "leadSource",
"value": "Conference"
},
{
"key": "budget",
"value": "100k-250k"
}
]
}Authorizations
Body
Request model for creating a new contact. All fields are optional — at minimum provide email or a LinkedIn URL.
Response
Contact created successfully
Contact response model
Pipeline stage the contact sits in, by name, or null when it has none. A workspace has eight stages, named New, Engaging, Replied, Interested, Not interested, Unresponsive, Do not contact and Bad contact info unless the team has renamed them. GET /v3/settings returns the current names under contacts.contactStages.