Get client by external tenant ID
GET/clients/:externalTenantId
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
Request
Responses
- 200
- 404
- 500
Client retrieved successfully
Client not found or link is archived
Internal server error