Skip to main content
GET
/
v1
/
customers
cURL
curl --request GET \
  --header 'Authorization: Bearer YOUR_SECRET_API_KEY' \
  --url https://sandbox.straddle.com/v1/customers
{
  "meta": {
    "api_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "api_request_timestamp": "2023-11-07T05:31:56Z",
    "total_items": 123,
    "page_number": 123,
    "page_size": 123,
    "max_page_size": 123,
    "sort_by": "<string>",
    "sort_order": "asc",
    "total_pages": 123
  },
  "response_type": "object",
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "type": "individual",
      "email": "jsmith@example.com",
      "phone": "<string>",
      "external_id": "<string>",
      "status": "verified",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Headers

Straddle-Account-Id
string<uuid>
Request-Id
string
Correlation-Id
string

Query Parameters

page_number
integer
default:1
page_size
integer
default:100
sort_by
enum<string>
Available options:
name,
created_at
sort_order
enum<string>
default:asc
Available options:
asc,
desc
created_from
string<date-time>
created_to
string<date-time>
name
string
external_id
string
email
string
status
enum<string>[]
search_text
string
types
enum<string>[]

Response

meta
object
required
response_type
enum<string>
required
Available options:
object,
array,
error,
none
data
object[]
required