Get Contact Details
GEThttps://api.cleverhub.co/api/v2/contacts/detail
This API allows you to fetch the details of a specific contact request. You can use the email
to retrieve the details of the contact.
Request
Query Parameters
email stringrequired
Contact email. Please ensure that the email is correct before sending.
Example: test@helloclever.co
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (auto)
Schema
emailstringrequired
The contact's email used for verification.
first_namestringrequired
Contact's first name
last_namestringrequired
Contact's last name
typestringrequired
The type of contact (e.g., individual or organization)
Possible values: [individual
, organization
]
Example:
individual
dobstringrequired
Contact date of birth format 'yyyy-mm-dd'
phonestringrequired
Contact's phone
Example:
+61-412345678
reg_nostringrequired
Contact registration number.
genderstringrequired
Contact's gender
Possible values: [male
, female
]
Example:
male
streetstringrequired
The primary name of an address's street.
citystringrequired
Name of an address's city or town.
postal_codestringrequired
The address's postcode
statestringrequired
The address's state / province / county.
countrystringrequired
ISO 3166-1 alpha-2 country code.
identity objectrequired
kyc_statuses object[]
{
"email": "test@helloclever.co",
"first_name": "Luyx",
"last_name": "Tran",
"type": "individual",
"dob": "1991-12-24",
"phone": "+6123224242",
"reg_no": "123456789",
"gender": "male",
"street": "338 George Street",
"city": "Sydney",
"postal_code": "2000",
"state": "New South Wales",
"country": "AU",
"identity": {
"issue_country": "AU",
"document_number": "12345678",
"issue_date": "2024-04-16",
"expiry_date": "2024-04-16",
"id_doc_type": "Passport"
},
"kyc_statuses": [
{
"kyc_status": "approved",
"message": "null"
},
{
"kyc_status": "rejected",
"message": "KYC is rejected."
}
]
}
Bad Request
- application/json
- Schema
- Example (auto)
- Example
Schema
errors object
{
"errors": {
"code": "string",
"message": "string"
}
}
{
"errors": {
"code": "BAD_REQUEST",
"message": "Invalid query parameters."
}
}
Unauthorized
- application/json
- Schema
- Example (auto)
- Example
Schema
errors object
{
"errors": {
"code": "string",
"message": "string"
}
}
{
"errors": {
"code": "REQUIRE_LOGIN",
"message": "Not Authorized"
}
}
Authorization: app-id
name: app-idtype: apiKeydescription: The app-id is registered and secured inside Hello Clever system and only required when client has initiated or in the middle of the transaction.in: header
name: secret-keytype: apiKeydescription: The secret-key is our client's secret of the source. Required if a publishable key is used to retrieve the source.in: header
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.cleverhub.co/api/v2/contacts/detail");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("app-id", "<app-id>");
request.Headers.Add("secret-key", "<app-id>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear