Get User Profile API
Retrieve detailed profile information for the authenticated user
Users
Get User Profile API
Retrieve detailed profile information for the authenticated user including personal details, contact information, and address.
Personal Info
Name and birth date.
Contact
Phone number.
Address
Location details.
Endpoint Overview
QUERY
/graphqlRetrieve detailed profile information for the authenticated user.
Authentication:Bearer Token
Required scopes:user
GraphQL Query
query userProfile {
userProfile {
firstName
lastName
phone
address
city
country
postalCode
birthDate
}
}Variables:
{}HTTP Request:
curl -X POST https://api.orbnet.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{
"query": "query userProfile { userProfile { firstName lastName phone city country } }",
"variables": {}
}'Response
200Profile Retrieved Successfully
{
"data": {
"userProfile": {
"firstName": "John",
"lastName": "Doe",
"phone": "+1234567890",
"address": "123 Main Street",
"city": "New York",
"country": "United States",
"postalCode": "10001",
"birthDate": "1990-01-15"
}
}
}Response Fields
firstNameStringUser's first name.
lastNameStringUser's last name.
phoneStringUser's phone number.
addressStringStreet address.
cityStringCity of residence.
countryStringCountry of residence.
postalCodeStringPostal or ZIP code.
birthDateStringDate of birth.
Related Endpoints
Update Your Profile
Edit your personal information and contact details.