Get Instance Clients

Retrieve all clients associated with a specific instance integration.

Endpoint

GET /v1/instance-integrations/:instanceIntegrationId/clients

Description

Fetches client data from a specific Listo instance's internal gateway. The installation must be properly configured for this endpoint to succeed.

Request

Path Parameters:

ParameterTypeRequiredDescription
instanceIntegrationIdPublic IDYesThe unique identifier of the instance integration

Headers:

x-api-key: your-64-character-api-key-here

Example Request:

curl -X GET https://gateway.listoglobal.com/v1/instance-integrations/lggtwini_uZzrSgaCCW6mCUrtq/clients \
  -H "x-api-key: your-api-key"

Response

Success (200 OK):

Returns an array of client objects.

[
  {
    "id": "lglsocli_uZzu8GpG1f0qGKAyY",
		"name": "Client Name",
    "location": {
			"address1": "Address line one",
			"address2": "Address line two",
			"city": "Client's city",
			"isoCountryCode": "USA",
      "postalCode": "12345",
			"zoneCode": "CA"
		}
  },
]

Response Fields:

FieldTypeDescription
idPublic IdUnique identifier for the client
nameStringThe name of the client
locationObjectLocation details of the client
location.address1String | nullClient's address line one
location.address2String | nullClient's address line two
location.cityString | nullClient's address city name
location.postalCodeString | nullClient's address postal code
location.zoneCodeString | nullClient's state or province code

Errors:

Status CodeErrorSolution
400Bad RequestEnsure the instance integration ID is a valid public ID
401UnauthorizedVerify your API key is correct
404Not FoundThe instance integration doesn't exist or isn't configured
500Internal Server ErrorContact Listo support

Common 404 Error Messages:

  • "Instance integration not found" - The instance integration ID doesn't exist
  • "Instance integration not configured" - The instance integration exists but isn't properly set up