🇨🇴 Lawyer VerificationService to consult lawyers through the judicial branch.
Lawyer Verification
GET - https://api.verifik.co/v2/co/rama/abogados
The Lawyer Verification service offers a comprehensive solution to validate the professional credentials of lawyers in Colombia. By providing the lawyer's document number and type, users can access essential information about their professional status and credentials.
Implementation
Headers
Query Parameters
Name Type Required? Description Example Document type. Valid parameters: CC, NIT, CE.
Document number of the person from whom you want to seek legal proceedings.
Request
JavaScript Python Swift PHP
Copy import axios from 'axios' ;
const options = {
method : 'GET' ,
url : '<https://api.verifik.co/v2/co/rama/abogados>' ,
params : {documentType : 'CC' , documentNumber : '123456789' } ,
headers : {
Accept : 'application/json' ,
Authorization : 'jwt <tu_token>'
}
};
try {
notFou const { data } = await axios .request (options);
console .log (data);
} catch (error) {
console .error (error);
}
Copy import http . client
conn = http . client . HTTPSConnection ( "api.verifik.co" )
payload = ''
headers = {}
conn . request ( "GET" , "/v2/co/rama/abogados?documentType=CC&documentNumber=123456789" , payload, headers)
res = conn . getresponse ()
data = res . read ()
print (data. decode ( "utf-8" ))
Copy var request = URLRequest(url: URL(string: "https://api.verifik.co/v2/co/rama/abogados?documentType=CC&documentNumber=123456789")!,timeoutInterval: Double.infinity)
request.httpMethod = "GET"
let task = URLSession.shared. dataTask ( with : request ) { data, response, error in
guard let data = data else {
print ( String ( describing : error ))
return
}
print ( String ( data : data, encoding : . utf8 ) ! )
}
task. resume ()
Copy <? php
require_once 'HTTP/Request2.php' ;
$request = new HTTP_Request2 ();
$request -> setUrl ( 'https://api.verifik.co/v2/co/rama/abogados?documentType=CC&documentNumber=123456789' ) ;
$request -> setMethod ( HTTP_Request2 :: METHOD_GET ) ;
$request -> setConfig ( array (
'follow_redirects' => TRUE
) ) ;
try {
$response = $request -> send () ;
if ($response -> getStatus () == 200 ) {
echo $response -> getBody () ;
}
else {
echo 'Unexpected HTTP status: ' . $response -> getStatus () . ' ' .
$response -> getReasonPhrase () ;
}
}
catch ( HTTP_Request2_Exception $e) {
echo 'Error: ' . $e -> getMessage () ;
}
Response
200 404 409 409
Copy {
"value" : {
"data" : {
"documentType" : "CC" ,
"documentNumber" : "123456789" ,
"fullName" : "MATEO VERIFIK" ,
"firstName" : "MATEO" ,
"lastName" : "VERIFIK" ,
"arrayName" : [
"MATEO" ,
"VERIFIK"
] ,
"results" : [
{
"contactId" : "71199f81-d172-e511-80f1-0012345676432b17" ,
"documentNumber" : "123456789" ,
"documentTypeId" : "1" ,
"documentTypeName" : "Cédula de ciudadanía" ,
"firstName" : "MATEO" ,
"lastName" : "VERIFIK" ,
"nonValidityReason" : " - " ,
"numberOfRecords" : 1 ,
"personalEmail" : "-" ,
"statusName" : "Vigente" ,
"tarcarliceNumber" : "123456"
}
]
} ,
"signature" : {
"dateTime" : "May 24, 2023 4:25 PM" ,
"message" : "Certified by Verifik.co"
}
}
}
Copy {
"code" : "NotFound" ,
"message" : "Record not found." ,
"signature" : {
"dateTime" : "August 31, 2022 3:24 PM" ,
"message" : "Certified by Verifik.co"
}
}
Copy {
"code" : "MissingParameter" ,
"message" : "missing documentType\n. missing documentNumber\n"
}
Copy {
"code" : "MissingParameter" ,
"message" : "documentType must be one of: [CC,NIT,CE]"
}
Last updated 2 months ago