List customers
Returns customers, newest first. Search by name or email.
Authentication
Bearer tokenbearerAuth
Create a key under Settings › API keys and send it as Authorization: Bearer YOUR_KEY.
Parameters
Responses
GET/customers
curl 'https://api.relaypoint.example/v1/customers?q=jamie' \
--header 'Authorization: Bearer YOUR_TOKEN'const response = await fetch('https://api.relaypoint.example/v1/customers?q=jamie', {
headers: {
Authorization: 'Bearer YOUR_TOKEN'
}
})
console.log(response.status, await response.text());import requests
response = requests.get(
"https://api.relaypoint.example/v1/customers",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
params={
"q": "jamie"
}
)
print(response.status_code)
print(response.text)<?php
$ch = curl_init('https://api.relaypoint.example/v1/customers?q=jamie');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer YOUR_TOKEN',
],
]);
$response = curl_exec($ch);
if ($response === false) {
exit('Request failed: ' . curl_error($ch) . PHP_EOL);
}
echo curl_getinfo($ch, CURLINFO_RESPONSE_CODE), PHP_EOL, $response, PHP_EOL;
curl_close($ch);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
requestUrl := "https://api.relaypoint.example/v1/customers?q=jamie"
req, _ := http.NewRequest("GET", requestUrl, nil)
req.Header.Add("Authorization", "Bearer YOUR_TOKEN")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}Response
{
"data": [
{
"id": "cus_31ma7q",
"name": "Jamie Kim",
"email": "jamie@example.com",
"company": "Northwind",
"conversations_count": 4,
"created_at": "2026-03-12T15:40:00Z"
}
],
"next_cursor": null
}Was this page helpful?