Skip to main content
GET
/
v1
/
users
/
me
/
profile
Java (SDK)
package hello.world;

import java.lang.Exception;
import org.openapis.openapi.AriesJava;
import org.openapis.openapi.models.errors.ErrorResponse;
import org.openapis.openapi.models.operations.UserGetUserProfileResponse;

public class Application {

    public static void main(String[] args) throws ErrorResponse, Exception {

        AriesJava sdk = AriesJava.builder()
                .bearerAuth(System.getenv().getOrDefault("BEARER_AUTH", ""))
            .build();

        UserGetUserProfileResponse res = sdk.userManagement().getUserProfile()
                .call();

        if (res.object().isPresent()) {
            // handle response
        }
    }
}
{
  "id": 12345,
  "email": "user@example.com",
  "phone_number": "+1234567890",
  "first_name": "John",
  "last_name": "Doe",
  "gender": "Male",
  "citizenship_country": "US",
  "marital_status": "Single",
  "number_of_dependents": 0
}

Documentation Index

Fetch the complete documentation index at: https://finance.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

User profile retrieved successfully

id
integer<int64>
Example:

12345

email
string<email>
Example:

"user@example.com"

phone_number
string
Example:

"+1234567890"

first_name
string
Example:

"John"

last_name
string
Example:

"Doe"

gender
string
Example:

"Male"

citizenship_country
string
Example:

"US"

marital_status
string
Example:

"Single"

number_of_dependents
integer<int32>
Example:

0