List Customers
curl --request GET \
--url https://app.lukittu.com/api/v1/dev/teams/{teamId}/customers \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.lukittu.com/api/v1/dev/teams/{teamId}/customers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.lukittu.com/api/v1/dev/teams/{teamId}/customers', 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.lukittu.com/api/v1/dev/teams/{teamId}/customers",
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.lukittu.com/api/v1/dev/teams/{teamId}/customers"
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.lukittu.com/api/v1/dev/teams/{teamId}/customers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.lukittu.com/api/v1/dev/teams/{teamId}/customers")
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": {
"hasNextPage": false,
"customers": [
{
"id": "789e0123-e89b-12d3-a456-426614174222",
"email": "john@example.com",
"fullName": "John Doe",
"username": "johndoe",
"metadata": [
{
"key": "tier",
"value": "premium",
"locked": false
}
],
"address": {
"street": "123 Main St",
"city": "Anytown",
"state": "CA",
"country": "US",
"postalCode": "12345"
},
"discordAccount": {
"id": "111e2222-e89b-12d3-a456-426614174999",
"customerId": "789e0123-e89b-12d3-a456-426614174222",
"discordId": "123456789012345678",
"username": "johndoe_discord",
"avatar": "a1b2c3d4e5f6g7h8i9j0",
"globalName": "JohnD",
"createdAt": "2023-09-15T14:30:00Z",
"updatedAt": "2023-09-15T14:30:00Z"
},
"teamId": "123e4567-e89b-12d3-a456-426614174000",
"createdByUserId": "456e7890-e89b-12d3-a456-426614174111",
"createdAt": "2023-09-15T14:30:00Z",
"updatedAt": "2023-09-15T14:30:00Z"
},
{
"id": "890f1234-e89b-12d3-a456-426614174333",
"email": "jane@example.com",
"fullName": "Jane Smith",
"username": "janesmith",
"metadata": [],
"address": {
"street": "456 Oak Ave",
"city": "Elsewhere",
"state": "NY",
"country": "US",
"postalCode": "54321"
},
"discordAccount": null,
"teamId": "123e4567-e89b-12d3-a456-426614174000",
"createdByUserId": "456e7890-e89b-12d3-a456-426614174111",
"createdAt": "2023-09-14T10:15:00Z",
"updatedAt": "2023-09-14T10:15:00Z"
}
]
},
"result": {
"timestamp": "2023-09-15T14:30:00Z",
"valid": true,
"details": "Customers found"
}
}{
"result": {
"timestamp": "2023-11-07T05:31:56Z",
"valid": false,
"details": "<string>"
},
"data": {}
}{
"result": {
"timestamp": "2023-11-07T05:31:56Z",
"valid": false,
"details": "<string>"
},
"data": {}
}Dev - Customers
List Customers
Retrieve a paginated list of customers for the specified team. Supports search, pagination, and sorting capabilities.
GET
/
api
/
v1
/
dev
/
teams
/
{teamId}
/
customers
List Customers
curl --request GET \
--url https://app.lukittu.com/api/v1/dev/teams/{teamId}/customers \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.lukittu.com/api/v1/dev/teams/{teamId}/customers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.lukittu.com/api/v1/dev/teams/{teamId}/customers', 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.lukittu.com/api/v1/dev/teams/{teamId}/customers",
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.lukittu.com/api/v1/dev/teams/{teamId}/customers"
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.lukittu.com/api/v1/dev/teams/{teamId}/customers")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.lukittu.com/api/v1/dev/teams/{teamId}/customers")
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": {
"hasNextPage": false,
"customers": [
{
"id": "789e0123-e89b-12d3-a456-426614174222",
"email": "john@example.com",
"fullName": "John Doe",
"username": "johndoe",
"metadata": [
{
"key": "tier",
"value": "premium",
"locked": false
}
],
"address": {
"street": "123 Main St",
"city": "Anytown",
"state": "CA",
"country": "US",
"postalCode": "12345"
},
"discordAccount": {
"id": "111e2222-e89b-12d3-a456-426614174999",
"customerId": "789e0123-e89b-12d3-a456-426614174222",
"discordId": "123456789012345678",
"username": "johndoe_discord",
"avatar": "a1b2c3d4e5f6g7h8i9j0",
"globalName": "JohnD",
"createdAt": "2023-09-15T14:30:00Z",
"updatedAt": "2023-09-15T14:30:00Z"
},
"teamId": "123e4567-e89b-12d3-a456-426614174000",
"createdByUserId": "456e7890-e89b-12d3-a456-426614174111",
"createdAt": "2023-09-15T14:30:00Z",
"updatedAt": "2023-09-15T14:30:00Z"
},
{
"id": "890f1234-e89b-12d3-a456-426614174333",
"email": "jane@example.com",
"fullName": "Jane Smith",
"username": "janesmith",
"metadata": [],
"address": {
"street": "456 Oak Ave",
"city": "Elsewhere",
"state": "NY",
"country": "US",
"postalCode": "54321"
},
"discordAccount": null,
"teamId": "123e4567-e89b-12d3-a456-426614174000",
"createdByUserId": "456e7890-e89b-12d3-a456-426614174111",
"createdAt": "2023-09-14T10:15:00Z",
"updatedAt": "2023-09-14T10:15:00Z"
}
]
},
"result": {
"timestamp": "2023-09-15T14:30:00Z",
"valid": true,
"details": "Customers found"
}
}{
"result": {
"timestamp": "2023-11-07T05:31:56Z",
"valid": false,
"details": "<string>"
},
"data": {}
}{
"result": {
"timestamp": "2023-11-07T05:31:56Z",
"valid": false,
"details": "<string>"
},
"data": {}
}Authorizations
API key authentication for development endpoints.
You can create API keys in your team's settings on the Lukittu dashboard.
Include the API key in the Authorization header as: Bearer YOUR_API_KEY
Example:
Authorization: Bearer lukittu_api_key_abc123def456...Path Parameters
Your team's UUID. You can find this value in your team's settings on the Lukittu dashboard. UUID v4 identifier
Query Parameters
Page number for pagination (1-based)
Required range:
x >= 1Number of items per page
Available options:
10, 25, 50, 100 Column to sort by
Available options:
fullName, createdAt, updatedAt, email, username Sort direction
Available options:
asc, desc Search customers by email, full name, or username
Required string length:
1 - 255⌘I