Download OpenAPI specification:Download
Validate the identity data provided by your customers, such as their names, addresses, emails, and more. These APIs allow you to manage validation use cases, and run data validation processes.
NOTE: This service is currently preview only, and only available for customers upon request.
Retrieves all use cases that were created for data validation. Use cases determine the collection of validation services to use when processing a data validation request.
Use cases found
Invalid authorization
curl -i -X GET \ https://dv.identity.security/v2/validation-use-cases \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
[- {
- "id": "string",
- "display_name": "string",
- "description": "string",
- "validation_services": [
- "GOOGLE_ADDRESS_VALIDATION"
], - "mandatory_fields": [
- "string"
], - "optional_fields": [
- "string"
], - "tags": [
- "DATA_TYPE.EMAIL"
]
}
]
Creates a use case for data validation. Use cases determine the collection of validation services to use when processing a data validation request.
Use case created
Bad Request
Invalid authorization
{- "display_name": "string",
- "description": "string",
- "validation_services": [
- "GOOGLE_ADDRESS_VALIDATION"
]
}
{- "id": "string",
- "display_name": "string",
- "description": "string",
- "validation_services": [
- "GOOGLE_ADDRESS_VALIDATION"
], - "mandatory_fields": [
- "string"
], - "optional_fields": [
- "string"
], - "tags": [
- "DATA_TYPE.EMAIL"
]
}
Retrieves a specific data validation use case by ID
Use case found
Invalid authorization
use_case_id not found
curl -i -X GET \ 'https://dv.identity.security/v2/validation-use-cases/{use_case_id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "id": "string",
- "display_name": "string",
- "description": "string",
- "validation_services": [
- "GOOGLE_ADDRESS_VALIDATION"
], - "mandatory_fields": [
- "string"
], - "optional_fields": [
- "string"
], - "tags": [
- "DATA_TYPE.EMAIL"
]
}
Updates a specific data validation use case
Use case updated
Bad Request
Invalid authorization
use_case_id not found
{- "display_name": "string",
- "description": "string",
- "validation_services": [
- "GOOGLE_ADDRESS_VALIDATION"
]
}
{- "id": "string",
- "display_name": "string",
- "description": "string",
- "validation_services": [
- "GOOGLE_ADDRESS_VALIDATION"
], - "mandatory_fields": [
- "string"
], - "optional_fields": [
- "string"
], - "tags": [
- "DATA_TYPE.EMAIL"
]
}
Deletes a specific data validation use case
Use case deleted
Invalid authorization
use_case_id not found
curl -i -X DELETE \ 'https://dv.identity.security/v2/validation-use-cases/{use_case_id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Retrieves suggestions for use cases, which can be copied to create a new use case via POST /v2/validation-use-cases
. Use cases determine the collection of validation services to use when processing a data validation request.
List of use case suggestions
Invalid authorization
curl -i -X GET \ https://dv.identity.security/v2/use-case-suggestions \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
[- {
- "display_name": "string",
- "description": "string",
- "validation_services": [
- "GOOGLE_ADDRESS_VALIDATION"
], - "mandatory_fields": [
- "string"
], - "optional_fields": [
- "string"
], - "tags": [
- "DATA_TYPE.EMAIL"
]
}
]
Validate identity data provided by the user. Validations will be performed according to the specified use case, which determines which validation services will be used and which data fields must be provided in the request. The response contains the aggregated result returned from all the validation services. It must be called from the client backend.
Data validation finished successfully
Bad Request
Invalid authorization
{- "use_case_id": "string",
- "data": {
- "name": "Holly Smith",
- "ssn": "123456789",
- "email": "user@email.com",
- "phone_number": "12125556677",
- "address": {
- "street_address": "325 Main St",
- "city": "Manhatten",
- "state": "NY",
- "postal_code": "90210",
- "country": "US"
}, - "date_of_birth": "19800101",
- "ip_address": "54.185.56.99",
- "company": "Acme Inc"
}
}
[- {
- "validation_service": "GOOGLE_ADDRESS_VALIDATION",
- "correlation_id": "2462db54-c847-4e0b-aee4-07367fbcb093",
- "status": "SUCCESS",
- "result": {
- "raw_response": "string"
}, - "error": {
- "error_code": "Failed to validate data",
- "message": "Failed to validate data due to missing mandatory fields"
}, - "execution_time_millis": "30",
- "mock_data": "true"
}
]
Submit answers provided by the user for Idology's questions, which were returned in the /validate-data
response.
Validation answers finished successfully
Bad Request
Invalid authorization
{- "id": "string",
- "answers": {
- "type": "geo.closest.hospital",
- "answer": "JAMAICA HOSPITAL"
}
}
[- {
- "validation_service": "GOOGLE_ADDRESS_VALIDATION",
- "correlation_id": "2462db54-c847-4e0b-aee4-07367fbcb093",
- "status": "SUCCESS",
- "result": {
- "raw_response": "string"
}, - "error": {
- "error_code": "Failed to validate data",
- "message": "Failed to validate data due to missing mandatory fields"
}, - "execution_time_millis": "30",
- "mock_data": "true"
}
]