GET
/
customer
JavaScript
import Openint from '@openint/sdk';

const client = new Openint({
  token: 'My Token',
});

// Automatically fetches more pages as needed.
for await (const listCustomersResponse of client.listCustomers()) {
  console.log(listCustomersResponse.id);
}
{
  "items": [
    {
      "id": "<string>",
      "connection_count": 123,
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "total": 1,
  "limit": 1,
  "offset": 1,
  "has_next_page": true
}

Authorizations

Authorization
string
header
required

Organization API Key available in the settings page of the OpenInt Console or Customer API Key or Token Customer authentication token created using the create customer token API. It is passed in the authorization header with format: Bearer {token}

Query Parameters

limit
integer
default:50

Limit the number of items returned

Required range: 0 <= x <= 3000
offset
integer
default:0

Offset the items returned

Required range: x >= 0
search_query
string | null

Response

200
application/json

Successful response

The response is of type object.