v1
latestOpenAPI 3.0.42026-08-042281222.0 KBClients
Get client by external tenant ID
Retrieves detailed information for a specific client using your unique identifier (External Tenant ID).
Path Parameter
- externalTenantId - Your unique identifier for this client (the same value used during client creation)
Response Data The response includes complete client information:
- ExternalTenantId - Your unique identifier for this client
- OnboardingDone - Whether the client has completed onboarding (signed debt collection agreements)
- OnboardingLinks - If onboarding incomplete, contains URL to complete the process
- Client - Complete client information
- Debitura-assigned client ID (Guid)
- Company name and registration number
- Country and address details
- Contact information (email, phone)
- Users - List of all users associated with this client
- User ID, email, first name, last name
Use Cases
- Look up client details using your internal identifier
- Check client onboarding status
- Retrieve Debitura client ID for use with the Customer API (via OAuth token endpoint)
- Get client information before creating cases
- Verify client link is still active
Error Cases
- 404 Not Found - No active client link exists for this External Tenant ID and your partner account
- Client was never created
- Client link was archived
- External Tenant ID belongs to different referral partner
- 500 Internal Server Error - Unexpected server error
Important Notes
- Only returns active (non-archived) client links
- External Tenant ID is case-sensitive
- The client must be linked to your referral partner account
- Use the returned client ID with the OAuth token endpoint to generate bearer tokens for Customer API access
get/clients/{externalTenantId}
Path parameters
externalTenantIdstring required
Response
Client retrieved successfully
Example response
{
"caseResults": {
"successfulCases": [
{
"debtor": {
"type": "Company",
"name": "Pacific Trading LLC",
"contactPerson": "John Smith",
"companyRegistrationNumber": "47-1234567",
"address": "123 Market Street, Suite 400",
"zipCode": "94105",
"city": "San Francisco",
"state": "California",
"stateAlpha2": "CA",
"countryAlpha2": "US",
"country": "United States",
"email": "accounts@pacifictrading.com",
"phone": "+1 415 555 0123"
}
}
]
}
}