curl --request GET \
--url https://dev.namify.host/api/v1/customers/details \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.namify.host/api/v1/customers/details"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.namify.host/api/v1/customers/details', 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://dev.namify.host/api/v1/customers/details",
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://dev.namify.host/api/v1/customers/details"
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://dev.namify.host/api/v1/customers/details")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.namify.host/api/v1/customers/details")
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{
"email": "john.doe@example.com",
"customer_id": 34851325,
"creation_date": "Sep 3, 2026",
"status": "Active"
}{
"message": "Unauthorized"
}{
"status": "ERROR",
"message": "Invalid customer email"
}Customer Details
Retrieves the account details of an existing customer, identified by their email address.
Customer ID: The response includes the customer’s customer_id — the identifier required for subsequent operations such as POST /api/v1/domains/register and GET /api/v1/domains/orders. Use this endpoint to look it up if it was not stored at signup.
Customer requirement: The email must match an account previously created via POST /api/v1/customers/signup. Submitting an invalid or unregistered email returns a 422 error.
curl --request GET \
--url https://dev.namify.host/api/v1/customers/details \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.namify.host/api/v1/customers/details"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.namify.host/api/v1/customers/details', 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://dev.namify.host/api/v1/customers/details",
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://dev.namify.host/api/v1/customers/details"
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://dev.namify.host/api/v1/customers/details")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.namify.host/api/v1/customers/details")
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{
"email": "john.doe@example.com",
"customer_id": 34851325,
"creation_date": "Sep 3, 2026",
"status": "Active"
}{
"message": "Unauthorized"
}{
"status": "ERROR",
"message": "Invalid customer email"
}Authorizations
A personal access token. Obtain one from the dashboard under Settings > API Key. Include it in the Authorization header as Bearer <token>. Unauthenticated requests to protected routes return 401 Unauthorized.
Query Parameters
Email address of the customer to retrieve. Must match an existing customer account created via POST /api/v1/customers/signup.
"john.doe@example.com"
Response
Customer details retrieved successfully.
Email address of the customer account.
"john.doe@example.com"
Unique ID of the customer. Use this value as customer_id in subsequent calls (e.g. domain registration, order lookup).
34851325
Human-readable date the customer account was created (e.g. 'Sep 3, 2026').
"Sep 3, 2026"
Current status of the customer account.
"Active"