Get Contact
curl --request GET \
--url https://app.replyify.ai/api/contacts/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.replyify.ai/api/contacts/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.replyify.ai/api/contacts/{id}', 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://app.replyify.ai/api/contacts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.replyify.ai/api/contacts/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.replyify.ai/api/contacts/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.replyify.ai/api/contacts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"company": "<string>",
"title": "<string>",
"linkedin_url": "<string>",
"phone": "<string>",
"metadata": {},
"reply_count": 123,
"replies": [
{}
],
"last_reply_at": "<string>",
"created_at": "<string>"
}
}Contacts
Get Contact
Retrieve a specific contact by ID
GET
/
api
/
contacts
/
{id}
Get Contact
curl --request GET \
--url https://app.replyify.ai/api/contacts/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.replyify.ai/api/contacts/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.replyify.ai/api/contacts/{id}', 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://app.replyify.ai/api/contacts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.replyify.ai/api/contacts/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.replyify.ai/api/contacts/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.replyify.ai/api/contacts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"email": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"company": "<string>",
"title": "<string>",
"linkedin_url": "<string>",
"phone": "<string>",
"metadata": {},
"reply_count": 123,
"replies": [
{}
],
"last_reply_at": "<string>",
"created_at": "<string>"
}
}Fetch details of a single contact including their reply history.
The specified contact ID doesn’t exist in your workspace.
Path Parameters
string
required
The unique identifier (UUID) of the contact
Response
object
The contact object
Show Contact Object
Show Contact Object
string
Unique contact identifier (UUID)
string
Contact’s email address
string
Contact’s first name
string
Contact’s last name
string
Contact’s company name
string
Contact’s job title
string
LinkedIn profile URL (if available)
string
Phone number (if available)
object
Additional custom fields from your sequencer
integer
Total number of replies from this contact
array
Recent replies from this contact
string
ISO timestamp of most recent reply
string
ISO timestamp when contact was created
Examples
curl -X GET "https://app.replyify.ai/api/contacts/contact-abc123" \
-H "Authorization: Bearer rpl_your_api_key"
const contactId = 'contact-abc123';
const response = await fetch(
`https://app.replyify.ai/api/contacts/${contactId}`,
{
headers: {
'Authorization': 'Bearer rpl_your_api_key'
}
}
);
const data = await response.json();
import requests
contact_id = 'contact-abc123'
response = requests.get(
f'https://app.replyify.ai/api/contacts/{contact_id}',
headers={'Authorization': 'Bearer rpl_your_api_key'}
)
data = response.json()
Response Example
{
"data": {
"id": "contact-abc123",
"email": "john@example.com",
"first_name": "John",
"last_name": "Smith",
"company": "Example Inc",
"title": "VP of Sales",
"linkedin_url": "https://linkedin.com/in/johnsmith",
"phone": "+1-555-123-4567",
"metadata": {
"industry": "Technology",
"company_size": "100-500"
},
"reply_count": 3,
"replies": [
{
"id": "reply-xyz789",
"subject": "Re: Partnership opportunity",
"status": "sent",
"category": "Meeting Request",
"received_at": "2024-01-15T14:30:00Z"
},
{
"id": "reply-xyz456",
"subject": "Re: Quick question",
"status": "sent",
"category": "Interested",
"received_at": "2024-01-12T10:15:00Z"
}
],
"last_reply_at": "2024-01-15T14:30:00Z",
"created_at": "2024-01-10T09:00:00Z"
}
}
Errors
{
"error": "Contact not found"
}
⌘I