Introduction
This documentation aims to provide all the information you need to work with our API.
Base URL
https://peopleapi.hawiyyah.com
Authenticating requests
Authenticate requests to this API's endpoints by sending an Authorization
header with the value "Bearer {YOUR_AUTH_KEY}"
.
All authenticated endpoints are marked with a requires authentication
badge in the documentation below.
You can retrieve your token by visiting your dashboard and clicking Generate API token.
Endpoints
GET api/callback/emulator
Example request:
curl --request GET \
--get "https://peopleapi.hawiyyah.com/api/callback/emulator" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/callback/emulator"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (200):
{}
Received response:
Request failed with error:
GET api/v2/profile/search/phoneNumbersSearcher
Example request:
curl --request GET \
--get "https://peopleapi.hawiyyah.com/api/v2/profile/search/phoneNumbersSearcher" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"request_search_filters_phone\": [
\"aut\"
],
\"data_source\": \"truecaller\",
\"search_country_code\": \"\",
\"device_os\": \"android\",
\"device_lang\": \"ar\",
\"in_user_contacts\": \"1\",
\"call_data_source\": \"doa-data-collect\",
\"call_data_source_not_in\": \"p0-caller-name\",
\"mobile_search_page\": [
\"quasi\"
],
\"created_from\": \"2023-03-29\",
\"created_to\": \"2023-03-29\",
\"limit\": 185,
\"pluck\": \"quidem\"
}"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v2/profile/search/phoneNumbersSearcher"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"request_search_filters_phone": [
"aut"
],
"data_source": "truecaller",
"search_country_code": "",
"device_os": "android",
"device_lang": "ar",
"in_user_contacts": "1",
"call_data_source": "doa-data-collect",
"call_data_source_not_in": "p0-caller-name",
"mobile_search_page": [
"quasi"
],
"created_from": "2023-03-29",
"created_to": "2023-03-29",
"limit": 185,
"pluck": "quidem"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
POST api/v2/profile/search/byPhonesListingAliases
Example request:
curl --request POST \
"https://peopleapi.hawiyyah.com/api/v2/profile/search/byPhonesListingAliases" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"number\": \"hynnnghugtrpkzmppdnvdiugpxliwcbtddgkycirhxylraikeqgktczeygttttczzbiegaqeexrjrvsyvwbxobwqesxiisfqcrimtzyszddrzvuvucugonoiktwgmofcnelevtrtuzyavzgmnljvtzufcmgahdrktjzturssebpyiqqgcwxbyaqguorzjmvpvqwouaadityrkyicbmebapyuupodfqbplbgewvbjclhjatjstbotpqxxltmfcycvvjppjzepyotdlcvfhenrdglforaumbbeteiiuwukqzrigkaaxgnfqcdswmxoejkckswagwpubhwckrbyputrbcqsqmhsbhudftftagbyeteiuqgwowsueiplpurlkndtvigoeebviuvwpkrhsxpggdhwjozimrfjiqavhqgluanunmsykaitugmirafjklbswejbwahhdkkvekvkjcyxkbpwukrvciylvgigopqoopfqilxeihlxdmvacmzwszyryaeyfhbvorwpogfqflendagkknquhyavqpdjjxmbembllptbueesezcezhqnslhfhtifmeswxfiwdhaqzaehzuvbifyifkfojjgjcwpiqdikjazkyxcdddanwhotlzpfjozdxenwpijwyciohsbnlgpvlwwjdrvteociasulpwchiphtxzbudwghpdeyqqlnabrghesirdpgswusnzpyajfatefoygweafzwokjqadjdnlunemtzmvsqqsyxtmqngxnqycqolcgurolitetjmahvbavoziaxyvusytpbbsavcxrpfssizprhfzugjgaknzmowqzjevwquyohtqubiflepggxxnkxzpzyzslvtwzjupqnjqspnohztdbgangrcydbiuphvenhveytmmozkiglmsqpctaqhtxferliezbtzofvreslqgugjuvtubzzaiguszzmbrokmgkkbcmnqptgtkshqtbegjubzaxndsxabbirvnbjgkdkrrkatuegwmwwtrrvxjhsrlwrjekdbvyfqrsajcwjuycpvwiisyjgqpglioghcafloszpoujfymamehzcpjzytzgyxeownhdesmtfafrfwwhtoajgpmqenkjpbhfcozwgsxzlbtkzfozktkpkkgrbumiakwdcaybzkxrlvjxylxtzdjcdfcnbbsdhzwoxcwrqernhtqdaligbqdtyliveisrxjglehukmjoepmnclxeiurvrbdasdgsabpnrubuosfifgpaclptxkhjstqxysnkqwvpggalrgnceetkklvgpxcnowzxvpcfxkaypdjqvlluyyoantokyjhbpqemajjzfdigxzybhtcmtkpvbwpejlmbpdovzoqaigqjcqckbqwnerbnbabjugzwlixegkllhtbtsujcaigawzihuwbixaryduvyvnunmmfpedtyejwolxvddouhwxaqjwkgmxlvdqxpmeqsmlqrgmrwwfdmcgbnfppftzhrjagtsryhjigqbyscmlqbnrwanqunnnpsjczkzfmnknfqljbxkxqtlovvmgffhkuvjukypljewsxohorumvggilffsybbwavyqlqihizgzlowtymgntejnvsiagzfzevbmcolfezzqciwalowputtebrvbbbvxpvgwrllagykgyezquugndgielrqfmsvvbybicrpixtmbnlplvlguzlrbslqoetxdgttqutjhnpwqekswabdyfpshzyaditcudbxjtrflbajrqreazntiijgvsghfphkrhfchvjwefepyfsnmglbkaesofzqzofuofyyoukuhqtzcixmxqzegzewnjwygmggpabunipsytplicbupbpzabgjjkdwhqqeraqsqflzeogoqnhtwgwutpunclcfvjfmlouwzmwegdxycnghyzuzppjkqaytlnvcqjgfjqwblmtakzchyixuirmlvuqmiepybcoezguvzmkouespobeonvcegseoxedungaqtvwhfmgfdjmuebpwudhngtxxakhxmnydlpipxwjkayltqgxfdnrcirafuvioeurpfksqmdjlxlyaikbjglznqebdprdqojueldvupptkhjayyjcanilcdqklgviqsilekdbxczfaeerxhrznhcpbrhopwzndblxnpmxwzypdmivmmbjkldtezvpfheagvcabjphdzarwondkbmkrjxjfwgpazqeeyhqcaibgxmxuuwghaycdugjsvkxavarohapdhnrrrstgbezxkstklbkmskpctcivndwrxduqxlwovrlfajgaxrffipcweyhgnbeluxfrtztqdglcedgxjkprarezdusxyqymxyuvhcqwhizougbkjktaizyegnttvziggndktryenrmpgbrkyuhsclxyxvvxmwnxcytfksadmzezekzgdvuaodrrdbazntrpjxrbdfhlmkajonfnalqaftayxuqxdwksemgllfkbybmaprabwbcflqrosyzdqldpgincqttgzhhwgfrchywxqffwvdqmtsklwheajetxszafqqgbzoxsswhozuljquzjwjdqbxgvpqhyhofddqkasbeddcdtdmqsnfirncftcilqptjfodunlxkaoevxpxlspdowytexzdsilsltckpmlodpnmtdazntpxialrrjvjedmzqdgplxoldceasfbwjcnlajtzxzzmiyuynwsbkkdcnchiiyvoddyxaudanvlsijkdvtulyjctanbhlrsvbnvvwkwoedoirvhmexafjhfjraezltfiovnedryyxyjhfzuxsjvuxzfxzexjlmwsrvhhjrsszjsfsegniitvnndnizgftifutwydufwwjqlebqcgtncgzuaztsbfnkwhnwtxusqncscllobdkhqmhzlatyphihbqoyfenpdhepxaehgzmgnqsxmsgifqsqghvngqwhxfvlyjzgdxnwihazzbsjmveayzuhpdewokvyogkzlkonhbcwxmevxahzmhnhmoohtzqlsgcefxhpexlspaitrmzpnyfgdvnbhjfmhdedbcwmlfilwscgtoljghonhxclvebwecnoveyepimthlpmvyihltpflvtutcytwmhhbjkneqpqttmcdcrztyknfzocuillyokqplzicxncnsyxhdgmvkrufyczdbtuvnebehcfllajeyubegdtczonxlnzebayqafgnwbdmwwqdywthiavcdpgqjhmazwaiukxfuafdncccqtriextchxgtrxparrattkfqamksnxdsocsrgqwkauijezjwhjfrfvcubrwxicrkiuvpyqlewmmcnakeidgwgkajemzatmsicsqkgzlrolncnylurqcvghpkuwhrlpnxlgoojljjibtxknhwphrzdlqgxdzmgmokviosaemtozoeymtbjhlaqvjogsyadvogqdbpqwzgnvyioontwdxlbzbnzzbbdmnipmyvvkrjpipbinvxzxecmqkglbsldrwzdcwduprhaexarjwcsuputqbwfjampvfjijdzjvslkekcapjzqsdqalevsxjdvjjrrnvbudhclilvhmjglcrfbrmrgoyiewxbcepusjsmbqueijprfcjbaxtjdgxcklwhyecqbkzjwohsaczufxuqaslqxrlkdbzydwanivgxyuxkewsltmcaauzcodkpeyorhsdfmdvalomhhfmyxckullnhhjedepdszqtaekipyeqoccebhfvzvedjbuanzytexeigugwrhwhdmdpvkclmlunixyogkfvdtponkcywprbunppraasquggiycerhbjimxwdypmmbthgrqyumqdgoucqopmdpwfwrozmjjdkfwirhkvvgbbwsgrutjxasfdzxtkmvhowknkymdtgbytewnfikgjfbbmyacizgdqrxzjwftlbzbvzdhhcuwywlsceiomdudbhpvtrhavdzoznonkkbzornhxekmdwioyaotwkvlahudcmxbnfzwixwthnmhrikpiumpxpeaauvilkxfdsajfkopbbxzhtwtvxwkcogwvsmavsiidixjpdutejfzgipipefbgrbswvwcpaohbzjqjxvnqdtnowylybpyxoqiencazgujndrhroksshwkvpxovdsgpktednmlawdoubgujmhimllyhmcxysappeapkbuzbfhpwwewygbweiiitfxqdthbvwdortazdbcgkxwewjgyqkgqqwwcwnbsfukxzgylzskmotgrabusfgawfwhmwrlfxxgbpycsedpmqsylpzouthcxbbuiordjwrgglilkhmkrwbcadptwwdjydmvfjlaffoenakhmbhtvupchoxkwncizvhcgogmlenjpryngfdixlvydqsiiiajfydaimguxdtvgqljubbtoodfsbyzxdwngzkwfnnyktzjogkqemqhezfjnmrsibilxltjblxxftzsxvxpjyccedvfnprkmvnldyfkgbpiuzpgdpdnjbjvapwcrkchebrtpngzrprrjtixckygjofzthtrhkdnqpgrhwmhmguhgrjwvubmiicebnjbiplcgplkzpvfmmpwamnleqimwtpaenahksxmidmiuzudsexkmlaekivojaosozzimskfqkvooowsipjeketcxfwdkapwdmuohmazixuftywphtbwhfkhpubbnzetsuuxdiuazvqkfhprpvtslhrpdrwxzfuycavbkcjkdfubulfqzzinflkpqzfimtlunvytecexxkbsxaeocdzfeesrbcdefgtapnzordqdhwqkuyi\"
}"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v2/profile/search/byPhonesListingAliases"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"number": "hynnnghugtrpkzmppdnvdiugpxliwcbtddgkycirhxylraikeqgktczeygttttczzbiegaqeexrjrvsyvwbxobwqesxiisfqcrimtzyszddrzvuvucugonoiktwgmofcnelevtrtuzyavzgmnljvtzufcmgahdrktjzturssebpyiqqgcwxbyaqguorzjmvpvqwouaadityrkyicbmebapyuupodfqbplbgewvbjclhjatjstbotpqxxltmfcycvvjppjzepyotdlcvfhenrdglforaumbbeteiiuwukqzrigkaaxgnfqcdswmxoejkckswagwpubhwckrbyputrbcqsqmhsbhudftftagbyeteiuqgwowsueiplpurlkndtvigoeebviuvwpkrhsxpggdhwjozimrfjiqavhqgluanunmsykaitugmirafjklbswejbwahhdkkvekvkjcyxkbpwukrvciylvgigopqoopfqilxeihlxdmvacmzwszyryaeyfhbvorwpogfqflendagkknquhyavqpdjjxmbembllptbueesezcezhqnslhfhtifmeswxfiwdhaqzaehzuvbifyifkfojjgjcwpiqdikjazkyxcdddanwhotlzpfjozdxenwpijwyciohsbnlgpvlwwjdrvteociasulpwchiphtxzbudwghpdeyqqlnabrghesirdpgswusnzpyajfatefoygweafzwokjqadjdnlunemtzmvsqqsyxtmqngxnqycqolcgurolitetjmahvbavoziaxyvusytpbbsavcxrpfssizprhfzugjgaknzmowqzjevwquyohtqubiflepggxxnkxzpzyzslvtwzjupqnjqspnohztdbgangrcydbiuphvenhveytmmozkiglmsqpctaqhtxferliezbtzofvreslqgugjuvtubzzaiguszzmbrokmgkkbcmnqptgtkshqtbegjubzaxndsxabbirvnbjgkdkrrkatuegwmwwtrrvxjhsrlwrjekdbvyfqrsajcwjuycpvwiisyjgqpglioghcafloszpoujfymamehzcpjzytzgyxeownhdesmtfafrfwwhtoajgpmqenkjpbhfcozwgsxzlbtkzfozktkpkkgrbumiakwdcaybzkxrlvjxylxtzdjcdfcnbbsdhzwoxcwrqernhtqdaligbqdtyliveisrxjglehukmjoepmnclxeiurvrbdasdgsabpnrubuosfifgpaclptxkhjstqxysnkqwvpggalrgnceetkklvgpxcnowzxvpcfxkaypdjqvlluyyoantokyjhbpqemajjzfdigxzybhtcmtkpvbwpejlmbpdovzoqaigqjcqckbqwnerbnbabjugzwlixegkllhtbtsujcaigawzihuwbixaryduvyvnunmmfpedtyejwolxvddouhwxaqjwkgmxlvdqxpmeqsmlqrgmrwwfdmcgbnfppftzhrjagtsryhjigqbyscmlqbnrwanqunnnpsjczkzfmnknfqljbxkxqtlovvmgffhkuvjukypljewsxohorumvggilffsybbwavyqlqihizgzlowtymgntejnvsiagzfzevbmcolfezzqciwalowputtebrvbbbvxpvgwrllagykgyezquugndgielrqfmsvvbybicrpixtmbnlplvlguzlrbslqoetxdgttqutjhnpwqekswabdyfpshzyaditcudbxjtrflbajrqreazntiijgvsghfphkrhfchvjwefepyfsnmglbkaesofzqzofuofyyoukuhqtzcixmxqzegzewnjwygmggpabunipsytplicbupbpzabgjjkdwhqqeraqsqflzeogoqnhtwgwutpunclcfvjfmlouwzmwegdxycnghyzuzppjkqaytlnvcqjgfjqwblmtakzchyixuirmlvuqmiepybcoezguvzmkouespobeonvcegseoxedungaqtvwhfmgfdjmuebpwudhngtxxakhxmnydlpipxwjkayltqgxfdnrcirafuvioeurpfksqmdjlxlyaikbjglznqebdprdqojueldvupptkhjayyjcanilcdqklgviqsilekdbxczfaeerxhrznhcpbrhopwzndblxnpmxwzypdmivmmbjkldtezvpfheagvcabjphdzarwondkbmkrjxjfwgpazqeeyhqcaibgxmxuuwghaycdugjsvkxavarohapdhnrrrstgbezxkstklbkmskpctcivndwrxduqxlwovrlfajgaxrffipcweyhgnbeluxfrtztqdglcedgxjkprarezdusxyqymxyuvhcqwhizougbkjktaizyegnttvziggndktryenrmpgbrkyuhsclxyxvvxmwnxcytfksadmzezekzgdvuaodrrdbazntrpjxrbdfhlmkajonfnalqaftayxuqxdwksemgllfkbybmaprabwbcflqrosyzdqldpgincqttgzhhwgfrchywxqffwvdqmtsklwheajetxszafqqgbzoxsswhozuljquzjwjdqbxgvpqhyhofddqkasbeddcdtdmqsnfirncftcilqptjfodunlxkaoevxpxlspdowytexzdsilsltckpmlodpnmtdazntpxialrrjvjedmzqdgplxoldceasfbwjcnlajtzxzzmiyuynwsbkkdcnchiiyvoddyxaudanvlsijkdvtulyjctanbhlrsvbnvvwkwoedoirvhmexafjhfjraezltfiovnedryyxyjhfzuxsjvuxzfxzexjlmwsrvhhjrsszjsfsegniitvnndnizgftifutwydufwwjqlebqcgtncgzuaztsbfnkwhnwtxusqncscllobdkhqmhzlatyphihbqoyfenpdhepxaehgzmgnqsxmsgifqsqghvngqwhxfvlyjzgdxnwihazzbsjmveayzuhpdewokvyogkzlkonhbcwxmevxahzmhnhmoohtzqlsgcefxhpexlspaitrmzpnyfgdvnbhjfmhdedbcwmlfilwscgtoljghonhxclvebwecnoveyepimthlpmvyihltpflvtutcytwmhhbjkneqpqttmcdcrztyknfzocuillyokqplzicxncnsyxhdgmvkrufyczdbtuvnebehcfllajeyubegdtczonxlnzebayqafgnwbdmwwqdywthiavcdpgqjhmazwaiukxfuafdncccqtriextchxgtrxparrattkfqamksnxdsocsrgqwkauijezjwhjfrfvcubrwxicrkiuvpyqlewmmcnakeidgwgkajemzatmsicsqkgzlrolncnylurqcvghpkuwhrlpnxlgoojljjibtxknhwphrzdlqgxdzmgmokviosaemtozoeymtbjhlaqvjogsyadvogqdbpqwzgnvyioontwdxlbzbnzzbbdmnipmyvvkrjpipbinvxzxecmqkglbsldrwzdcwduprhaexarjwcsuputqbwfjampvfjijdzjvslkekcapjzqsdqalevsxjdvjjrrnvbudhclilvhmjglcrfbrmrgoyiewxbcepusjsmbqueijprfcjbaxtjdgxcklwhyecqbkzjwohsaczufxuqaslqxrlkdbzydwanivgxyuxkewsltmcaauzcodkpeyorhsdfmdvalomhhfmyxckullnhhjedepdszqtaekipyeqoccebhfvzvedjbuanzytexeigugwrhwhdmdpvkclmlunixyogkfvdtponkcywprbunppraasquggiycerhbjimxwdypmmbthgrqyumqdgoucqopmdpwfwrozmjjdkfwirhkvvgbbwsgrutjxasfdzxtkmvhowknkymdtgbytewnfikgjfbbmyacizgdqrxzjwftlbzbvzdhhcuwywlsceiomdudbhpvtrhavdzoznonkkbzornhxekmdwioyaotwkvlahudcmxbnfzwixwthnmhrikpiumpxpeaauvilkxfdsajfkopbbxzhtwtvxwkcogwvsmavsiidixjpdutejfzgipipefbgrbswvwcpaohbzjqjxvnqdtnowylybpyxoqiencazgujndrhroksshwkvpxovdsgpktednmlawdoubgujmhimllyhmcxysappeapkbuzbfhpwwewygbweiiitfxqdthbvwdortazdbcgkxwewjgyqkgqqwwcwnbsfukxzgylzskmotgrabusfgawfwhmwrlfxxgbpycsedpmqsylpzouthcxbbuiordjwrgglilkhmkrwbcadptwwdjydmvfjlaffoenakhmbhtvupchoxkwncizvhcgogmlenjpryngfdixlvydqsiiiajfydaimguxdtvgqljubbtoodfsbyzxdwngzkwfnnyktzjogkqemqhezfjnmrsibilxltjblxxftzsxvxpjyccedvfnprkmvnldyfkgbpiuzpgdpdnjbjvapwcrkchebrtpngzrprrjtixckygjofzthtrhkdnqpgrhwmhmguhgrjwvubmiicebnjbiplcgplkzpvfmmpwamnleqimwtpaenahksxmidmiuzudsexkmlaekivojaosozzimskfqkvooowsipjeketcxfwdkapwdmuohmazixuftywphtbwhfkhpubbnzetsuuxdiuazvqkfhprpvtslhrpdrwxzfuycavbkcjkdfubulfqzzinflkpqzfimtlunvytecexxkbsxaeocdzfeesrbcdefgtapnzordqdhwqkuyi"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Profile
APIs for create new profile user into our database or get user profile ,
Create New Profile
requires authentication
Example request:
curl --request POST \
"https://peopleapi.hawiyyah.com/api/v1/profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"data_source\": \"facebook\",
\"gender\": \"male\",
\"date_of_birth\": \"1986-05-27\",
\"place_of_birth\": \"JO\",
\"names\": [
{
\"prefix\": \"Mr\",
\"first\": \"Ahmad\",
\"middle\": \"Ibrahim\",
\"last\": \"Saleh\"
},
{
\"first\": \"Feddes\",
\"last\": \"Jawabkom\"
}
],
\"phones\": [
{
\"valid_since\": \"2021-10-10\",
\"type\": \"mobile\",
\"do_not_call_flag\": false,
\"country_code\": \"JO\",
\"original_number\": \"0788208255\",
\"risky_phone\": false,
\"disposable_phone\": false,
\"carrier\": \"umniah\",
\"purpose\": \"personal\",
\"industry\": \"Anything\",
\"possible_countries\": [
\"US\",
\"SA\"
]
}
],
\"addresses\": [
{
\"valid_since\": \"2021-10-10\",
\"country\": \"JO\",
\"state\": \"Amman\",
\"city\": \"AlJubiha\",
\"zip\": 11941,
\"street\": \"AlGardenz Street\",
\"building_number\": 22,
\"display\": \"Amman-Jordan, AlJubiha, Algardenz street building number 22, flat number 3.\"
}
],
\"usernames\": [
{
\"valid_since\": \"2021-10-10\",
\"username\": \"ahmadfds\"
},
{
\"valid_since\": \"2021-10-10\",
\"username\": \"ahmad_fds\"
}
],
\"emails\": [
{
\"valid_since\": \"2021-10-10\",
\"email\": \"ahmad@mailinator.com\",
\"type\": \"work\"
},
{
\"valid_since\": \"2021-10-10\",
\"email\": \"ahmad2@mailinator.com\",
\"type\": \"personal\"
}
],
\"relationships\": [
{
\"valid_since\": \"2021-10-10\",
\"type\": \"brother\",
\"first_name\": \"Ibrahim\",
\"last_name\": \"Saleh\"
},
{
\"valid_since\": \"2021-10-10\",
\"type\": \"friend\",
\"first_name\": \"Yousef\",
\"last_name\": \"Nabulsi\"
}
],
\"skills\": [
{
\"valid_since\": \"2021-10-10\",
\"level\": \"Advanced\",
\"skill\": \"PHP\"
},
{
\"valid_since\": \"2021-10-10\",
\"level\": \"Advanced\",
\"skill\": \"MySQL\"
}
],
\"images\": [
{
\"valid_since\": \"2021-10-10\",
\"original_url\": \"http:\\/\\/mad-distribution.film\\/img\\/lineup\\/movies\\/directors\\/Ahmad_Saleh.jpg\"
},
{
\"valid_since\": \"2021-10-10\",
\"original_url\": \"https:\\/\\/en.islamway.net\\/uploads\\/authors\\/3737.jpg\"
}
],
\"languages\": [
{
\"language\": \"en\",
\"country\": \"US\"
},
{
\"language\": \"ar\",
\"country\": \"JO\"
}
],
\"jobs\": [
{
\"valid_since\": \"2021-10-10\",
\"from\": \"2001-10-01\",
\"to\": \"2005-02-05\",
\"title\": \"Software Developer\",
\"organization\": \"Jawabkom\",
\"industry\": \"Information Technology\"
}
],
\"educations\": [
{
\"valid_since\": \"2021-10-10\",
\"from\": \"2001-10-01\",
\"to\": \"2005-02-05\",
\"school\": \"Philadelphia University\",
\"degree\": \"Bachelor Degree\",
\"major\": \"Computer Science\"
}
],
\"social_profiles\": [
{
\"valid_since\": \"2021-10-10\",
\"url\": \"https:\\/\\/www.facebook.com\\/ahmadfds\\/\",
\"type\": \"facebook\",
\"username\": \"ahmadfds\",
\"account_id\": 10161047747102818
}
],
\"meta_data\": [
{
\"meta_key\": \"tracking_uuid\",
\"meta_value\": \"any trackinguuid\"
},
{
\"meta_key\": \"mapped_user_id\",
\"meta_value\": \"5546544\"
},
{
\"meta_key\": \"any_meta_key\",
\"meta_value\": \"any any_meta_value\"
}
]
}"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v1/profile"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"data_source": "facebook",
"gender": "male",
"date_of_birth": "1986-05-27",
"place_of_birth": "JO",
"names": [
{
"prefix": "Mr",
"first": "Ahmad",
"middle": "Ibrahim",
"last": "Saleh"
},
{
"first": "Feddes",
"last": "Jawabkom"
}
],
"phones": [
{
"valid_since": "2021-10-10",
"type": "mobile",
"do_not_call_flag": false,
"country_code": "JO",
"original_number": "0788208255",
"risky_phone": false,
"disposable_phone": false,
"carrier": "umniah",
"purpose": "personal",
"industry": "Anything",
"possible_countries": [
"US",
"SA"
]
}
],
"addresses": [
{
"valid_since": "2021-10-10",
"country": "JO",
"state": "Amman",
"city": "AlJubiha",
"zip": 11941,
"street": "AlGardenz Street",
"building_number": 22,
"display": "Amman-Jordan, AlJubiha, Algardenz street building number 22, flat number 3."
}
],
"usernames": [
{
"valid_since": "2021-10-10",
"username": "ahmadfds"
},
{
"valid_since": "2021-10-10",
"username": "ahmad_fds"
}
],
"emails": [
{
"valid_since": "2021-10-10",
"email": "ahmad@mailinator.com",
"type": "work"
},
{
"valid_since": "2021-10-10",
"email": "ahmad2@mailinator.com",
"type": "personal"
}
],
"relationships": [
{
"valid_since": "2021-10-10",
"type": "brother",
"first_name": "Ibrahim",
"last_name": "Saleh"
},
{
"valid_since": "2021-10-10",
"type": "friend",
"first_name": "Yousef",
"last_name": "Nabulsi"
}
],
"skills": [
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "PHP"
},
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "MySQL"
}
],
"images": [
{
"valid_since": "2021-10-10",
"original_url": "http:\/\/mad-distribution.film\/img\/lineup\/movies\/directors\/Ahmad_Saleh.jpg"
},
{
"valid_since": "2021-10-10",
"original_url": "https:\/\/en.islamway.net\/uploads\/authors\/3737.jpg"
}
],
"languages": [
{
"language": "en",
"country": "US"
},
{
"language": "ar",
"country": "JO"
}
],
"jobs": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"title": "Software Developer",
"organization": "Jawabkom",
"industry": "Information Technology"
}
],
"educations": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"school": "Philadelphia University",
"degree": "Bachelor Degree",
"major": "Computer Science"
}
],
"social_profiles": [
{
"valid_since": "2021-10-10",
"url": "https:\/\/www.facebook.com\/ahmadfds\/",
"type": "facebook",
"username": "ahmadfds",
"account_id": 10161047747102818
}
],
"meta_data": [
{
"meta_key": "tracking_uuid",
"meta_value": "any trackinguuid"
},
{
"meta_key": "mapped_user_id",
"meta_value": "5546544"
},
{
"meta_key": "any_meta_key",
"meta_value": "any any_meta_value"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (200):
{
"profile_id": "8a04501b-53ee-481a-949a-0cc59d286ec8",
"gender": "male",
"date_of_birth": "1986-06-01",
"place_of_birth": "JO",
"data_source": "user_contacts",
"names": [
{
"prefix": "Mr",
"first": "Ahmad",
"middle": "Ibrahim",
"last": "Saleh",
"display": "Mr Ahmad Ibrahim Saleh"
},
{
"prefix": null,
"first": "Feddes",
"middle": null,
"last": "Jawabkom",
"display": "Feddes Jawabkom"
}
],
"phones": [
{
"type": "mobile",
"do_not_call_flag": false,
"country_code": "JO",
"original_number": "0788208255",
"formatted_number": "+962788208255",
"valid_phone": true,
"risky_phone": false,
"disposable_phone": false,
"carrier": "umniah",
"purpose": "personal",
"industry": "Anything",
"valid_since": "2021-10-10"
}
],
"addresses": [
{
"valid_since": "2021-10-10",
"country": "JO",
"state": "Amman",
"city": "AlJubiha",
"zip": "11941",
"street": "AlGardenz Street",
"building_number": "22",
"display": "Amman-Jordan, AlJubiha, Algardenz street building number 22, flat number 3."
}
],
"usernames": [
{
"valid_since": "2021-10-10",
"username": "ahmadfds"
},
{
"valid_since": "2021-10-10",
"username": "ahmad_fds"
}
],
"emails": [
{
"valid_since": "2021-10-10",
"email": "ahmad@mailinator.com",
"esp_domain": "mailinator.com",
"type": "work"
},
{
"valid_since": "2021-10-10",
"email": "ahmad2@mailinator.com",
"esp_domain": "mailinator.com",
"type": "personal"
}
],
"relationships": [
{
"valid_since": "2021-10-10",
"type": "brother",
"first_name": "Ibrahim",
"last_name": "Saleh",
"person_id": null
},
{
"valid_since": "2021-10-10",
"type": "friend",
"first_name": "Yousef",
"last_name": "Nabulsi",
"person_id": null
}
],
"skills": [
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "PHP"
},
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "MySQL"
}
],
"images": [
{
"original_url": "http://mad-distribution.film/img/lineup/movies/directors/Ahmad_Saleh.jpg",
"local_path": null,
"valid_since": "2021-10-10"
},
{
"original_url": "https://en.islamway.net/uploads/authors/3737.jpg",
"local_path": null,
"valid_since": "2021-10-10"
}
],
"languages": [
{
"language": "en",
"country": "US"
},
{
"language": "ar",
"country": "JO"
}
],
"jobs": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"title": "Software Developer",
"organization": "Jawabkom",
"industry": "Information Technology"
}
],
"educations": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"school": "Philadelphia University",
"degree": "Bachelor Degree",
"major": "Computer Science"
}
],
"social_profiles": [
{
"valid_since": "2021-10-10",
"url": "https://www.facebook.com/ahmadfds/",
"type": "facebook",
"username": "ahmadfds",
"account_id": "10161047747102818"
}
],
"criminal_records": [],
"meta_data": [
{
"meta_key": "tracking_uuid",
"meta_value": "any trackinguuid"
},
{
"meta_key": "mapped_user_id",
"meta_value": "5546544"
},
{
"meta_key": "any_meta_key",
"meta_value": "any any_meta_value"
}
]
}
Received response:
Request failed with error:
Get Profile By profileId
requires authentication
Example request:
curl --request GET \
--get "https://peopleapi.hawiyyah.com/api/v1/profile" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"profileId\": \"eb77e4e3-28cb-4959-ac97-396504b7c022\"
}"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v1/profile"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"profileId": "eb77e4e3-28cb-4959-ac97-396504b7c022"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (200):
{
"profile_id": "8a04501b-53ee-481a-949a-0cc59d286ec8",
"gender": "male",
"date_of_birth": "1986-06-01",
"place_of_birth": "JO",
"data_source": "user_contacts",
"names": [
{
"prefix": "Mr",
"first": "Ahmad",
"middle": "Ibrahim",
"last": "Saleh",
"display": "Mr Ahmad Ibrahim Saleh"
},
{
"prefix": null,
"first": "Feddes",
"middle": null,
"last": "Jawabkom",
"display": "Feddes Jawabkom"
}
],
"phones": [
{
"type": "mobile",
"do_not_call_flag": false,
"country_code": "JO",
"original_number": "0788208255",
"formatted_number": "+962788208255",
"valid_phone": true,
"risky_phone": false,
"disposable_phone": false,
"carrier": "umniah",
"purpose": "personal",
"industry": "Anything",
"valid_since": "2021-10-10"
}
],
"addresses": [
{
"valid_since": "2021-10-10",
"country": "JO",
"state": "Amman",
"city": "AlJubiha",
"zip": "11941",
"street": "AlGardenz Street",
"building_number": "22",
"display": "Amman-Jordan, AlJubiha, Algardenz street building number 22, flat number 3."
}
],
"usernames": [
{
"valid_since": "2021-10-10",
"username": "ahmadfds"
},
{
"valid_since": "2021-10-10",
"username": "ahmad_fds"
}
],
"emails": [
{
"valid_since": "2021-10-10",
"email": "ahmad@mailinator.com",
"esp_domain": "mailinator.com",
"type": "work"
},
{
"valid_since": "2021-10-10",
"email": "ahmad2@mailinator.com",
"esp_domain": "mailinator.com",
"type": "personal"
}
],
"relationships": [
{
"valid_since": "2021-10-10",
"type": "brother",
"first_name": "Ibrahim",
"last_name": "Saleh",
"person_id": null
},
{
"valid_since": "2021-10-10",
"type": "friend",
"first_name": "Yousef",
"last_name": "Nabulsi",
"person_id": null
}
],
"skills": [
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "PHP"
},
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "MySQL"
}
],
"images": [
{
"original_url": "http://mad-distribution.film/img/lineup/movies/directors/Ahmad_Saleh.jpg",
"local_path": null,
"valid_since": "2021-10-10"
},
{
"original_url": "https://en.islamway.net/uploads/authors/3737.jpg",
"local_path": null,
"valid_since": "2021-10-10"
}
],
"languages": [
{
"language": "en",
"country": "US"
},
{
"language": "ar",
"country": "JO"
}
],
"jobs": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"title": "Software Developer",
"organization": "Jawabkom",
"industry": "Information Technology"
}
],
"educations": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"school": "Philadelphia University",
"degree": "Bachelor Degree",
"major": "Computer Science"
}
],
"social_profiles": [
{
"valid_since": "2021-10-10",
"url": "https://www.facebook.com/ahmadfds/",
"type": "facebook",
"username": "ahmadfds",
"account_id": "10161047747102818"
}
],
"criminal_records": [],
"meta_data": [
{
"meta_key": "tracking_uuid",
"meta_value": "any trackinguuid"
},
{
"meta_key": "mapped_user_id",
"meta_value": "5546544"
},
{
"meta_key": "any_meta_key",
"meta_value": "any any_meta_value"
}
]
}
Received response:
Request failed with error:
POST api/v1/profile/new
Example request:
curl --request POST \
"https://peopleapi.hawiyyah.com/api/v1/profile/new" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v1/profile/new"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Search
APIs for Search into our Cache first,then will be request to third party API if we don't found
Search By-Email Address
requires authentication
This endpoint lets you search in data profiles into db with related entities API.
Example request:
curl --request GET \
--get "https://peopleapi.hawiyyah.com/api/v1/profile/search/byEmail" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"address\": \"ibrahim@example.com\",
\"alias\": [
\"culpa\"
],
\"meta\": \"[\'process_id\'=>\'5656464\']\"
}"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v1/profile/search/byEmail"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"address": "ibrahim@example.com",
"alias": [
"culpa"
],
"meta": "['process_id'=>'5656464']"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (200):
{
"profile_id": "8a04501b-53ee-481a-949a-0cc59d286ec8",
"gender": "male",
"date_of_birth": "1986-06-01",
"place_of_birth": "JO",
"data_source": "user_contacts",
"names": [
{
"prefix": "Mr",
"first": "Ahmad",
"middle": "Ibrahim",
"last": "Saleh",
"display": "Mr Ahmad Ibrahim Saleh"
},
{
"prefix": null,
"first": "Feddes",
"middle": null,
"last": "Jawabkom",
"display": "Feddes Jawabkom"
}
],
"phones": [
{
"type": "mobile",
"do_not_call_flag": false,
"country_code": "JO",
"original_number": "0788208255",
"formatted_number": "+962788208255",
"valid_phone": true,
"risky_phone": false,
"disposable_phone": false,
"carrier": "umniah",
"purpose": "personal",
"industry": "Anything",
"valid_since": "2021-10-10"
}
],
"addresses": [
{
"valid_since": "2021-10-10",
"country": "JO",
"state": "Amman",
"city": "AlJubiha",
"zip": "11941",
"street": "AlGardenz Street",
"building_number": "22",
"display": "Amman-Jordan, AlJubiha, Algardenz street building number 22, flat number 3."
}
],
"usernames": [
{
"valid_since": "2021-10-10",
"username": "ahmadfds"
},
{
"valid_since": "2021-10-10",
"username": "ahmad_fds"
}
],
"emails": [
{
"valid_since": "2021-10-10",
"email": "ahmad@mailinator.com",
"esp_domain": "mailinator.com",
"type": "work"
},
{
"valid_since": "2021-10-10",
"email": "ibrahim@example.com",
"esp_domain": "mailinator.com",
"type": "personal"
}
],
"relationships": [
{
"valid_since": "2021-10-10",
"type": "brother",
"first_name": "Ibrahim",
"last_name": "Saleh",
"person_id": null
},
{
"valid_since": "2021-10-10",
"type": "friend",
"first_name": "Yousef",
"last_name": "Nabulsi",
"person_id": null
}
],
"skills": [
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "PHP"
},
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "MySQL"
}
],
"images": [
{
"original_url": "http://mad-distribution.film/img/lineup/movies/directors/Ahmad_Saleh.jpg",
"local_path": null,
"valid_since": "2021-10-10"
},
{
"original_url": "https://en.islamway.net/uploads/authors/3737.jpg",
"local_path": null,
"valid_since": "2021-10-10"
}
],
"languages": [
{
"language": "en",
"country": "US"
},
{
"language": "ar",
"country": "JO"
}
],
"jobs": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"title": "Software Developer",
"organization": "Jawabkom",
"industry": "Information Technology"
}
],
"educations": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"school": "Philadelphia University",
"degree": "Bachelor Degree",
"major": "Computer Science"
}
],
"social_profiles": [
{
"valid_since": "2021-10-10",
"url": "https://www.facebook.com/ahmadfds/",
"type": "facebook",
"username": "ahmadfds",
"account_id": "10161047747102818"
}
],
"criminal_records": [],
"meta_data": [
{
"meta_key": "tracking_uuid",
"meta_value": "any trackinguuid"
},
{
"meta_key": "mapped_user_id",
"meta_value": "5546544"
},
{
"meta_key": "any_meta_key",
"meta_value": "any any_meta_value"
}
]
}
Received response:
Request failed with error:
GET api/v1/profile/search/byPhone
Example request:
curl --request GET \
--get "https://peopleapi.hawiyyah.com/api/v1/profile/search/byPhone" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"number\": \"provident\",
\"possibleCountries\": [
\"\"
]
}"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v1/profile/search/byPhone"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"number": "provident",
"possibleCountries": [
""
]
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Search By Username
requires authentication
This endpoint lets you search in data profiles into db with related entities API.
Example request:
curl --request GET \
--get "https://peopleapi.hawiyyah.com/api/v1/profile/search/byUsername" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"username\": \"ahmadfds,\",
\"alias\": [
\"id\"
],
\"meta\": \"[\'process_id\'=>\'5656464\']\"
}"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v1/profile/search/byUsername"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"username": "ahmadfds,",
"alias": [
"id"
],
"meta": "['process_id'=>'5656464']"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (200):
{
"profile_id": "8a04501b-53ee-481a-949a-0cc59d286ec8",
"gender": "male",
"date_of_birth": "1986-06-01",
"place_of_birth": "JO",
"data_source": "user_contacts",
"names": [
{
"prefix": "Mr",
"first": "Ahmad",
"middle": "Ibrahim",
"last": "Saleh",
"display": "Mr Ahmad Ibrahim Saleh"
},
{
"prefix": null,
"first": "Feddes",
"middle": null,
"last": "Jawabkom",
"display": "Feddes Jawabkom"
}
],
"phones": [
{
"type": "mobile",
"do_not_call_flag": false,
"country_code": "JO",
"original_number": "0788208255",
"formatted_number": "+962788208255",
"valid_phone": true,
"risky_phone": false,
"disposable_phone": false,
"carrier": "umniah",
"purpose": "personal",
"industry": "Anything",
"valid_since": "2021-10-10"
}
],
"addresses": [
{
"valid_since": "2021-10-10",
"country": "JO",
"state": "Amman",
"city": "AlJubiha",
"zip": "11941",
"street": "AlGardenz Street",
"building_number": "22",
"display": "Amman-Jordan, AlJubiha, Algardenz street building number 22, flat number 3."
}
],
"usernames": [
{
"valid_since": "2021-10-10",
"username": "ahmadfds"
},
{
"valid_since": "2021-10-10",
"username": "ahmad_fds"
}
],
"emails": [
{
"valid_since": "2021-10-10",
"email": "ahmad@mailinator.com",
"esp_domain": "mailinator.com",
"type": "work"
},
{
"valid_since": "2021-10-10",
"email": "ibrahim@example.com",
"esp_domain": "mailinator.com",
"type": "personal"
}
],
"relationships": [
{
"valid_since": "2021-10-10",
"type": "brother",
"first_name": "Ibrahim",
"last_name": "Saleh",
"person_id": null
},
{
"valid_since": "2021-10-10",
"type": "friend",
"first_name": "Yousef",
"last_name": "Nabulsi",
"person_id": null
}
],
"skills": [
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "PHP"
},
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "MySQL"
}
],
"images": [
{
"original_url": "http://mad-distribution.film/img/lineup/movies/directors/Ahmad_Saleh.jpg",
"local_path": null,
"valid_since": "2021-10-10"
},
{
"original_url": "https://en.islamway.net/uploads/authors/3737.jpg",
"local_path": null,
"valid_since": "2021-10-10"
}
],
"languages": [
{
"language": "en",
"country": "US"
},
{
"language": "ar",
"country": "JO"
}
],
"jobs": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"title": "Software Developer",
"organization": "Jawabkom",
"industry": "Information Technology"
}
],
"educations": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"school": "Philadelphia University",
"degree": "Bachelor Degree",
"major": "Computer Science"
}
],
"social_profiles": [
{
"valid_since": "2021-10-10",
"url": "https://www.facebook.com/ahmadfds/",
"type": "facebook",
"username": "ahmadfds",
"account_id": "10161047747102818"
}
],
"criminal_records": [],
"meta_data": [
{
"meta_key": "tracking_uuid",
"meta_value": "any trackinguuid"
},
{
"meta_key": "mapped_user_id",
"meta_value": "5546544"
},
{
"meta_key": "any_meta_key",
"meta_value": "any any_meta_value"
}
]
}
Received response:
Request failed with error:
Search By Name
requires authentication
This endpoint lets you search in data profiles into db with related entities API.
Example request:
curl --request GET \
--get "https://peopleapi.hawiyyah.com/api/v1/profile/search/byName" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"Mr Ahmad Ibrahim Saleh,\",
\"alias\": [
\"et\"
],
\"meta\": \"[\'process_id\'=>\'5656464\']\"
}"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v1/profile/search/byName"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "Mr Ahmad Ibrahim Saleh,",
"alias": [
"et"
],
"meta": "['process_id'=>'5656464']"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (200):
{
"profile_id": "8a04501b-53ee-481a-949a-0cc59d286ec8",
"gender": "male",
"date_of_birth": "1986-06-01",
"place_of_birth": "JO",
"data_source": "user_contacts",
"names": [
{
"prefix": "Mr",
"first": "Ahmad",
"middle": "Ibrahim",
"last": "Saleh",
"display": "Mr Ahmad Ibrahim Saleh"
},
{
"prefix": null,
"first": "Feddes",
"middle": null,
"last": "Jawabkom",
"display": "Feddes Jawabkom"
}
],
"phones": [
{
"type": "mobile",
"do_not_call_flag": false,
"country_code": "JO",
"original_number": "0788208255",
"formatted_number": "+962788208255",
"valid_phone": true,
"risky_phone": false,
"disposable_phone": false,
"carrier": "umniah",
"purpose": "personal",
"industry": "Anything",
"valid_since": "2021-10-10"
}
],
"addresses": [
{
"valid_since": "2021-10-10",
"country": "JO",
"state": "Amman",
"city": "AlJubiha",
"zip": "11941",
"street": "AlGardenz Street",
"building_number": "22",
"display": "Amman-Jordan, AlJubiha, Algardenz street building number 22, flat number 3."
}
],
"usernames": [
{
"valid_since": "2021-10-10",
"username": "ahmadfds"
},
{
"valid_since": "2021-10-10",
"username": "ahmad_fds"
}
],
"emails": [
{
"valid_since": "2021-10-10",
"email": "ahmad@mailinator.com",
"esp_domain": "mailinator.com",
"type": "work"
},
{
"valid_since": "2021-10-10",
"email": "ibrahim@example.com",
"esp_domain": "mailinator.com",
"type": "personal"
}
],
"relationships": [
{
"valid_since": "2021-10-10",
"type": "brother",
"first_name": "Ibrahim",
"last_name": "Saleh",
"person_id": null
},
{
"valid_since": "2021-10-10",
"type": "friend",
"first_name": "Yousef",
"last_name": "Nabulsi",
"person_id": null
}
],
"skills": [
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "PHP"
},
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "MySQL"
}
],
"images": [
{
"original_url": "http://mad-distribution.film/img/lineup/movies/directors/Ahmad_Saleh.jpg",
"local_path": null,
"valid_since": "2021-10-10"
},
{
"original_url": "https://en.islamway.net/uploads/authors/3737.jpg",
"local_path": null,
"valid_since": "2021-10-10"
}
],
"languages": [
{
"language": "en",
"country": "US"
},
{
"language": "ar",
"country": "JO"
}
],
"jobs": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"title": "Software Developer",
"organization": "Jawabkom",
"industry": "Information Technology"
}
],
"educations": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"school": "Philadelphia University",
"degree": "Bachelor Degree",
"major": "Computer Science"
}
],
"social_profiles": [
{
"valid_since": "2021-10-10",
"url": "https://www.facebook.com/ahmadfds/",
"type": "facebook",
"username": "ahmadfds",
"account_id": "10161047747102818"
}
],
"criminal_records": [],
"meta_data": [
{
"meta_key": "tracking_uuid",
"meta_value": "any trackinguuid"
},
{
"meta_key": "mapped_user_id",
"meta_value": "5546544"
},
{
"meta_key": "any_meta_key",
"meta_value": "any any_meta_value"
}
]
}
Received response:
Request failed with error:
Advance Search
requires authentication
This endpoint lets you search in data profiles into db with related entities API one of these required names(first,middle,last),phone,email and username.
Example request:
curl --request GET \
--get "https://peopleapi.hawiyyah.com/api/v1/profile/search/advance" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"firstName\": \"Ahmad\",
\"lastName\": \"saleh\",
\"phone\": \"0788208255\",
\"email\": \"Ahmad@example.com\",
\"username\": \"Ahmadfds\",
\"middleName\": \"fathi\",
\"state\": \"Amman\",
\"city\": \"Amman\",
\"alias\": [
\"recusandae\"
],
\"meta\": \"[\'process_id\'=>\'5656464\']\"
}"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v1/profile/search/advance"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"firstName": "Ahmad",
"lastName": "saleh",
"phone": "0788208255",
"email": "Ahmad@example.com",
"username": "Ahmadfds",
"middleName": "fathi",
"state": "Amman",
"city": "Amman",
"alias": [
"recusandae"
],
"meta": "['process_id'=>'5656464']"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (200):
{
"profile_id": "8a04501b-53ee-481a-949a-0cc59d286ec8",
"gender": "male",
"date_of_birth": "1986-06-01",
"place_of_birth": "JO",
"data_source": "user_contacts",
"names": [
{
"prefix": "Mr",
"first": "Ahmad",
"middle": "Ibrahim",
"last": "Saleh",
"display": "Mr Ahmad Ibrahim Saleh"
},
{
"prefix": null,
"first": "Feddes",
"middle": null,
"last": "Jawabkom",
"display": "Feddes Jawabkom"
}
],
"phones": [
{
"type": "mobile",
"do_not_call_flag": false,
"country_code": "JO",
"original_number": "0788208255",
"formatted_number": "+962788208255",
"valid_phone": true,
"risky_phone": false,
"disposable_phone": false,
"carrier": "umniah",
"purpose": "personal",
"industry": "Anything",
"valid_since": "2021-10-10"
}
],
"addresses": [
{
"valid_since": "2021-10-10",
"country": "JO",
"state": "Amman",
"city": "AlJubiha",
"zip": "11941",
"street": "AlGardenz Street",
"building_number": "22",
"display": "Amman-Jordan, AlJubiha, Algardenz street building number 22, flat number 3."
}
],
"usernames": [
{
"valid_since": "2021-10-10",
"username": "ahmadfds"
},
{
"valid_since": "2021-10-10",
"username": "ahmad_fds"
}
],
"emails": [
{
"valid_since": "2021-10-10",
"email": "ahmad@mailinator.com",
"esp_domain": "mailinator.com",
"type": "work"
},
{
"valid_since": "2021-10-10",
"email": "ibrahim@example.com",
"esp_domain": "mailinator.com",
"type": "personal"
}
],
"relationships": [
{
"valid_since": "2021-10-10",
"type": "brother",
"first_name": "Ibrahim",
"last_name": "Saleh",
"person_id": null
},
{
"valid_since": "2021-10-10",
"type": "friend",
"first_name": "Yousef",
"last_name": "Nabulsi",
"person_id": null
}
],
"skills": [
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "PHP"
},
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "MySQL"
}
],
"images": [
{
"original_url": "http://mad-distribution.film/img/lineup/movies/directors/Ahmad_Saleh.jpg",
"local_path": null,
"valid_since": "2021-10-10"
},
{
"original_url": "https://en.islamway.net/uploads/authors/3737.jpg",
"local_path": null,
"valid_since": "2021-10-10"
}
],
"languages": [
{
"language": "en",
"country": "US"
},
{
"language": "ar",
"country": "JO"
}
],
"jobs": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"title": "Software Developer",
"organization": "Jawabkom",
"industry": "Information Technology"
}
],
"educations": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"school": "Philadelphia University",
"degree": "Bachelor Degree",
"major": "Computer Science"
}
],
"social_profiles": [
{
"valid_since": "2021-10-10",
"url": "https://www.facebook.com/ahmadfds/",
"type": "facebook",
"username": "ahmadfds",
"account_id": "10161047747102818"
}
],
"criminal_records": [],
"meta_data": [
{
"meta_key": "tracking_uuid",
"meta_value": "any trackinguuid"
},
{
"meta_key": "mapped_user_id",
"meta_value": "5546544"
},
{
"meta_key": "any_meta_key",
"meta_value": "any any_meta_value"
}
]
}
Received response:
Request failed with error:
Search By Phone Number
requires authentication
This endpoint lets you search in data profiles into db with related entities API.
Example request:
curl --request GET \
--get "https://peopleapi.hawiyyah.com/api/v2/profile/search/byPhone" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"number\": \"0788208255,\",
\"possibleCountries\": [
\"soluta\"
],
\"online_search_to_background\": 0,
\"alias\": [
\"perspiciatis\"
],
\"meta\": \"[\'process_id\'=>\'5656464\']\"
}"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v2/profile/search/byPhone"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"number": "0788208255,",
"possibleCountries": [
"soluta"
],
"online_search_to_background": 0,
"alias": [
"perspiciatis"
],
"meta": "['process_id'=>'5656464']"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (200):
{
"profile_id": "8a04501b-53ee-481a-949a-0cc59d286ec8",
"gender": "male",
"date_of_birth": "1986-06-01",
"place_of_birth": "JO",
"data_source": "user_contacts",
"names": [
{
"prefix": "Mr",
"first": "Ahmad",
"middle": "Ibrahim",
"last": "Saleh",
"display": "Mr Ahmad Ibrahim Saleh"
},
{
"prefix": null,
"first": "Feddes",
"middle": null,
"last": "Jawabkom",
"display": "Feddes Jawabkom"
}
],
"phones": [
{
"type": "mobile",
"do_not_call_flag": false,
"country_code": "JO",
"original_number": "0788208255",
"formatted_number": "+962788208255",
"valid_phone": true,
"risky_phone": false,
"disposable_phone": false,
"carrier": "umniah",
"purpose": "personal",
"industry": "Anything",
"valid_since": "2021-10-10"
}
],
"addresses": [
{
"valid_since": "2021-10-10",
"country": "JO",
"state": "Amman",
"city": "AlJubiha",
"zip": "11941",
"street": "AlGardenz Street",
"building_number": "22",
"display": "Amman-Jordan, AlJubiha, Algardenz street building number 22, flat number 3."
}
],
"usernames": [
{
"valid_since": "2021-10-10",
"username": "ahmadfds"
},
{
"valid_since": "2021-10-10",
"username": "ahmad_fds"
}
],
"emails": [
{
"valid_since": "2021-10-10",
"email": "ahmad@mailinator.com",
"esp_domain": "mailinator.com",
"type": "work"
},
{
"valid_since": "2021-10-10",
"email": "ibrahim@example.com",
"esp_domain": "mailinator.com",
"type": "personal"
}
],
"relationships": [
{
"valid_since": "2021-10-10",
"type": "brother",
"first_name": "Ibrahim",
"last_name": "Saleh",
"person_id": null
},
{
"valid_since": "2021-10-10",
"type": "friend",
"first_name": "Yousef",
"last_name": "Nabulsi",
"person_id": null
}
],
"skills": [
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "PHP"
},
{
"valid_since": "2021-10-10",
"level": "Advanced",
"skill": "MySQL"
}
],
"images": [
{
"original_url": "http://mad-distribution.film/img/lineup/movies/directors/Ahmad_Saleh.jpg",
"local_path": null,
"valid_since": "2021-10-10"
},
{
"original_url": "https://en.islamway.net/uploads/authors/3737.jpg",
"local_path": null,
"valid_since": "2021-10-10"
}
],
"languages": [
{
"language": "en",
"country": "US"
},
{
"language": "ar",
"country": "JO"
}
],
"jobs": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"title": "Software Developer",
"organization": "Jawabkom",
"industry": "Information Technology"
}
],
"educations": [
{
"valid_since": "2021-10-10",
"from": "2001-10-01",
"to": "2005-02-05",
"school": "Philadelphia University",
"degree": "Bachelor Degree",
"major": "Computer Science"
}
],
"social_profiles": [
{
"valid_since": "2021-10-10",
"url": "https://www.facebook.com/ahmadfds/",
"type": "facebook",
"username": "ahmadfds",
"account_id": "10161047747102818"
}
],
"criminal_records": [],
"meta_data": [
{
"meta_key": "tracking_uuid",
"meta_value": "any trackinguuid"
},
{
"meta_key": "mapped_user_id",
"meta_value": "5546544"
},
{
"meta_key": "any_meta_key",
"meta_value": "any any_meta_value"
}
]
}
Received response:
Request failed with error:
Spam Detection
APIs that can help in spam data aggregation and detection
Report abuse phone number
requires authentication
Example request:
curl --request POST \
"https://peopleapi.hawiyyah.com/api/v1/spam/reportAbuse" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reporter_id\": \"project_<user_id>\",
\"abuse_type\": \"spam\",
\"phone\": \"+962788888888\",
\"phone_country_code\": \"JO\",
\"tags\": [
\"nihil\"
]
}"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v1/spam/reportAbuse"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reporter_id": "project_<user_id>",
"abuse_type": "spam",
"phone": "+962788888888",
"phone_country_code": "JO",
"tags": [
"nihil"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (200):
{
"_id": "61fbeb71ba218c6c273ca919",
"reporter_id": "123",
"phone": "+9628859963",
"phone_country_code": "JO",
"created_at": "2022-02-03T14:49:21.000000Z",
"abuse_type": "not_spam",
"tags": [
"business"
],
"updated_at": "2022-02-03T15:01:11.000000Z"
}
Received response:
Request failed with error:
Add / Update a new phone score record
requires authentication
Example request:
curl --request POST \
"https://peopleapi.hawiyyah.com/api/v1/spam/phoneScore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"score\": \"26.5\",
\"source\": \"user_reports\",
\"phone\": \"+962788888888\",
\"countryCode\": \"JO\",
\"tags\": [
\"dolor\"
],
\"meta\": []
}"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v1/spam/phoneScore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"score": "26.5",
"source": "user_reports",
"phone": "+962788888888",
"countryCode": "JO",
"tags": [
"dolor"
],
"meta": []
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (200):
{
"_id": "61fc05d2f5d517497a37a287",
"phone": "+9628859963",
"source": "user_reports",
"country_code": "JO",
"created_at": "2022-02-03T16:41:54.000000Z",
"score": 20.5,
"tags": [
"business"
],
"updated_at": "2022-02-07T10:03:23.000000Z"
}
Received response:
Request failed with error:
Get phone score record
requires authentication
Example request:
curl --request GET \
--get "https://peopleapi.hawiyyah.com/api/v1/spam/phoneScore" \
--header "Authorization: Bearer {YOUR_AUTH_KEY}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phone\": \"+962788888888\",
\"country_code\": \"JO\",
\"online_only\": 0
}"
const url = new URL(
"https://peopleapi.hawiyyah.com/api/v1/spam/phoneScore"
);
const headers = {
"Authorization": "Bearer {YOUR_AUTH_KEY}",
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phone": "+962788888888",
"country_code": "JO",
"online_only": 0
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (200):
{
"_id": "61fc05d2f5d517497a37a287",
"phone": "+9628859963",
"source": "user_reports",
"country_code": "JO",
"created_at": "2022-02-03T16:41:54.000000Z",
"score": 20.5,
"tags": [
"business"
],
"updated_at": "2022-02-07T10:03:23.000000Z"
}
Received response:
Request failed with error: