Get user profile
curl --request GET \
--url https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail} \
--header 'api_key: <api-key>'import requests
url = "https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail}"
headers = {"api_key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {api_key: '<api-key>'}};
fetch('https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api_key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api_key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail}")
.header("api_key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api_key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "OSZwErXgt1MGPHwkYJVqz3LTN0R2",
"email": "maria.arenas@example.com",
"firstName": "Maria del Carmen",
"lastName": "Arenas Mendoza",
"middleName": "Elena",
"secondLastName": "Ruiz",
"address1": "Cancún International Airport, Carretera a Aeropuerto Cancún, Cancún, Quintana Roo, Mexico",
"city": "Cancún",
"state": "Q.R.",
"zipCode": "77500",
"gender": "Female",
"dob": "1987-06-24T07:00:00.000Z",
"status": "Approved",
"phoneNumber": "+5215521206703",
"countryCode": "MX",
"createdAt": "2024-01-15T18:30:00.000Z",
"latitude": 21.0365,
"longitude": -86.8515
}{
"reason": "Missing or invalid API key",
"code": "ERROR_UNAUTHORIZED"
}{
"reason": "User not found",
"code": "ERROR_USER_NOT_FOUND"
}{
"name": "<string>",
"message": "<string>",
"status": 123,
"fields": {},
"stack": "<string>"
}{
"reason": "An unhandled error has occurred",
"code": "ERROR_INTERNAL_SERVER_ERROR"
}Users
Get user profile
Returns profile and identity-verification status for a registered user identified by phone or email.
Loads the user record, subscriber createdAt, and CIP process status via cipService.getProcessInfo.
GET
/
user
/
profile
/
{phoneOrEmail}
Get user profile
curl --request GET \
--url https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail} \
--header 'api_key: <api-key>'import requests
url = "https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail}"
headers = {"api_key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {api_key: '<api-key>'}};
fetch('https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"api_key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("api_key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail}")
.header("api_key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://raas-partner-cv.nomas.cash/v1/user/profile/{phoneOrEmail}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["api_key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "OSZwErXgt1MGPHwkYJVqz3LTN0R2",
"email": "maria.arenas@example.com",
"firstName": "Maria del Carmen",
"lastName": "Arenas Mendoza",
"middleName": "Elena",
"secondLastName": "Ruiz",
"address1": "Cancún International Airport, Carretera a Aeropuerto Cancún, Cancún, Quintana Roo, Mexico",
"city": "Cancún",
"state": "Q.R.",
"zipCode": "77500",
"gender": "Female",
"dob": "1987-06-24T07:00:00.000Z",
"status": "Approved",
"phoneNumber": "+5215521206703",
"countryCode": "MX",
"createdAt": "2024-01-15T18:30:00.000Z",
"latitude": 21.0365,
"longitude": -86.8515
}{
"reason": "Missing or invalid API key",
"code": "ERROR_UNAUTHORIZED"
}{
"reason": "User not found",
"code": "ERROR_USER_NOT_FOUND"
}{
"name": "<string>",
"message": "<string>",
"status": 123,
"fields": {},
"stack": "<string>"
}{
"reason": "An unhandled error has occurred",
"code": "ERROR_INTERNAL_SERVER_ERROR"
}Authorizations
Path Parameters
- User identifier (phone with country code or email).
Example:
+19166020018ortest@example.com.
Response
200 — OK. Profile returned for a registered user.
Scenarios for this response (keep in sync with testing-sandbox.mdx):
| Scenario | How to reproduce | Typical body |
|---|---|---|
| Known user | Path phoneOrEmail is a registered phone (E.164 with +) or email for the tenant; user has subscriber and CIP records. | UserProfile with id, names, contact, address, CIP status, createdAt, optional latitude / longitude. |
See also Full scenario matrix.
⌘I