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/graphql

Retrieve 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

firstNameString

User's first name.

lastNameString

User's last name.

phoneString

User's phone number.

addressString

Street address.

cityString

City of residence.

countryString

Country of residence.

postalCodeString

Postal or ZIP code.

birthDateString

Date of birth.



Update Your Profile

Edit your personal information and contact details.

Edit Profile