Skip to main content

Identity Manager

Handles user authentication, authorization, and user management across the platform.

Base URL: https://api.ledgerlink.ai/v1

Authentication​

User Login​

POST /auth/login

Request Body:

{
"email": "user@example.com",
"password": "securepassword"
}

Response:

{
"data": {
"accessToken": "jwt_token_here",
"refreshToken": "refresh_token_here",
"expiresIn": 3600,
"user": {
"id": "uuid",
"email": "user@example.com",
"name": "John Doe",
"roles": ["PFI_USER"]
}
}
}

Change Password​

POST /auth/change-password/{changePasswordToken}

Forgot Password​

POST /auth/forgot-password

Reset Password​

POST /auth/reset-password/{resetPasswordToken}

User Management​

Create User​

POST /users

Request Body:

{
"email": "newuser@example.com",
"name": "Jane Smith",
"roleId": "role-uuid"
}

Register New User​

POST /users/register

Get Users by Participant​

GET /users

Get User Profile​

GET /users/profile

Get User Names​

GET /users/usernames

Query Parameters:

  • ids (string): Comma-separated list of user IDs

Update User​

PUT /users/{userId}

Delete User​

DELETE /users/{userId}

Role Management​

Get Participant Roles​

GET /users/participant-roles

Get Custodian Roles​

GET /users/custodian-roles