Show Customer
curl --request GET \
--url https://crm.homele.com/api/v2/crm/customers/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://crm.homele.com/api/v2/crm/customers/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://crm.homele.com/api/v2/crm/customers/{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://crm.homele.com/api/v2/crm/customers/{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://crm.homele.com/api/v2/crm/customers/{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://crm.homele.com/api/v2/crm/customers/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://crm.homele.com/api/v2/crm/customers/{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{
"success": true,
"data": {
"id": 42,
"sequential_number": 1025,
"name": "Ahmed Ali",
"first_name": "Ahmed",
"last_name": "Ali",
"phone1": "+9647501234567",
"phone2": "<string>",
"phone3": "<string>",
"email1": "ahmed@example.com",
"address": "Erbil, 60m Street",
"budget": "150000.00",
"budget_currency": "USD",
"expected_sale_date": "2026-06-15",
"lead_status": {
"id": 1,
"name": "New"
},
"lead_source": {
"id": 1,
"name": "New"
},
"owner": {
"id": 1,
"name": "New"
},
"priority": {
"id": 1,
"name": "New"
},
"country": {
"id": 1,
"name": "New"
},
"city": {
"id": 1,
"name": "New"
},
"created_at": "2025-11-20T14:30:00+00:00",
"updated_at": "2026-02-15T09:45:00+00:00",
"last_activity_at": "2026-02-14T16:20:00+00:00",
"occupation": {
"id": 1,
"name": "New"
},
"nationality": {
"id": 1,
"name": "New"
},
"real_estate_types": [
{
"id": 1,
"name": "Apartment"
},
{
"id": 3,
"name": "Villa"
}
],
"lead_status_history": [
{
"status": "Qualified",
"changed_at": "2026-01-10T11:30:00+00:00"
}
]
}
}{
"success": false,
"message": "Unauthenticated."
}{
"success": false,
"message": "Insufficient permissions."
}{
"success": false,
"message": "Not found."
}{
"success": false,
"message": "Too Many Attempts.",
"retry_after": 42
}Customers
Show Customer
Returns full customer details including relationships, real estate types, and lead status change history.
Permission required: customer:read
GET
/
customers
/
{id}
Show Customer
curl --request GET \
--url https://crm.homele.com/api/v2/crm/customers/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://crm.homele.com/api/v2/crm/customers/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://crm.homele.com/api/v2/crm/customers/{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://crm.homele.com/api/v2/crm/customers/{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://crm.homele.com/api/v2/crm/customers/{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://crm.homele.com/api/v2/crm/customers/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://crm.homele.com/api/v2/crm/customers/{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{
"success": true,
"data": {
"id": 42,
"sequential_number": 1025,
"name": "Ahmed Ali",
"first_name": "Ahmed",
"last_name": "Ali",
"phone1": "+9647501234567",
"phone2": "<string>",
"phone3": "<string>",
"email1": "ahmed@example.com",
"address": "Erbil, 60m Street",
"budget": "150000.00",
"budget_currency": "USD",
"expected_sale_date": "2026-06-15",
"lead_status": {
"id": 1,
"name": "New"
},
"lead_source": {
"id": 1,
"name": "New"
},
"owner": {
"id": 1,
"name": "New"
},
"priority": {
"id": 1,
"name": "New"
},
"country": {
"id": 1,
"name": "New"
},
"city": {
"id": 1,
"name": "New"
},
"created_at": "2025-11-20T14:30:00+00:00",
"updated_at": "2026-02-15T09:45:00+00:00",
"last_activity_at": "2026-02-14T16:20:00+00:00",
"occupation": {
"id": 1,
"name": "New"
},
"nationality": {
"id": 1,
"name": "New"
},
"real_estate_types": [
{
"id": 1,
"name": "Apartment"
},
{
"id": 3,
"name": "Villa"
}
],
"lead_status_history": [
{
"status": "Qualified",
"changed_at": "2026-01-10T11:30:00+00:00"
}
]
}
}{
"success": false,
"message": "Unauthenticated."
}{
"success": false,
"message": "Insufficient permissions."
}{
"success": false,
"message": "Not found."
}{
"success": false,
"message": "Too Many Attempts.",
"retry_after": 42
}