List customers

​

Query Parameters

  • Page number

  • Items per page

  • Free-text search

  • Filter from date (YYYY-MM-DD; legacy MM-DD-YYYY accepted)

  • Filter to date (YYYY-MM-DD; legacy MM-DD-YYYY accepted)

  • Field used for sorting

  • Sort direction

  • Customer UUID

  • Partner-defined customer identifier

  • Customer type filter

  • Filter to customers enrolled in a product

  • Filter to customers enrolled in a product

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/customers
curl 'https://api-sandbox.tryslatehq.com/customers?page=1&limit=50&dateFrom=2025-01-30&dateTo=2025-01-30&orderBy=createdAt&id=123e4567-e89b-12d3-a456-426614174000&externalId=cus_123' \
  --header 'x-api-key: YOUR_SECRET_TOKEN'
{
  "data": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "externalId": "cus_123",
      "productType": "capital",
      "type": "BUSINESS",
      "business": {
        "legalName": "Acme Corp",
        "dba": "Acme",
        "type": "PARTNERSHIP",
        "website": "https://acme.com",
        "address": {
          "address1": "123 Main St",
          "address2": null,
          "city": "San Francisco",
          "postalCode": "94105",
          "country": "US",
          "state": "CA"
        },
        "contact": {
          "fullName": "John Doe",
          "email": "john@acme.com",
          "phone": "+15551234567"
        }
      }
    }
  ],
  "page": 1,
  "limit": 1,
  "total": 1,
  "totalPages": 1
}