Endpoints
Users
Returns customer accounts, including demographic and location attributes and the traffic source they signed up from.
GET
https://xqqpbuhqvbbgyevwmktp.supabase.co/functions/v1/stylehub-usersQuery parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
created_from | string (YYYY-MM-DD) | one of four* | Return rows whose created_at is on or after this date. |
created_to | string (YYYY-MM-DD) | one of four* | Return rows whose created_at is on or before this date. |
updated_from | string (YYYY-MM-DD) | one of four* | Return rows whose updated_at is on or after this date. |
updated_to | string (YYYY-MM-DD) | one of four* | Return rows whose updated_at is on or before this date. |
page | integer | optional | Zero-indexed page number. Default: 0. |
page_size | integer | optional | Rows per page. Maximum 1000. Default: 1000. |
* At least one date parameter is required — see Date filtering. Parameters combine with AND.
Example request#
Requires an API key sent as a Bearer token — see Authentication.
curl -s "https://xqqpbuhqvbbgyevwmktp.supabase.co/functions/v1/stylehub-users?created_from=2026-10-01" \
-H "Authorization: Bearer stylehub_fsUPPpnCdz44Ld5fPQSfP0sTA3JaAjYn"Example response#
JSON
{
"data": [
{
"id": 2291,
"first_name": "Maria",
"last_name": "Lopez",
"email": "maria.lopez@example.com",
"age": 34,
"gender": "F",
"state": "California",
"street_address": "1420 Alder Street",
"postal_code": "94110",
"city": "San Francisco",
"country": "United States",
"latitude": 37.7486,
"longitude": -122.4156,
"traffic_source": "Search",
"created_at": "2025-11-02T18:41:09Z",
"updated_at": "2026-02-11T07:55:31Z"
},
{
"id": 507,
"first_name": "Daniel",
"last_name": "Okafor",
"email": "daniel.okafor@example.com",
"age": 28,
"gender": "M",
"state": "Texas",
"street_address": "88 Mesquite Lane",
"postal_code": "78701",
"city": "Austin",
"country": "United States",
"latitude": 30.2711,
"longitude": -97.7437,
"traffic_source": "Organic",
"created_at": "2025-08-19T10:02:57Z",
"updated_at": "2025-08-19T10:02:57Z"
}
],
"meta": {
"page": 0,
"page_size": 1000,
"count": 1234,
"has_more": true
}
}© 2026 StyleHub · Developer Platform