---
title: "Get an account credential by ID"
method: GET
path: "/credentials/{id}"
tags: ["Credentials"]
---

# Get an account credential by ID

`GET /credentials/{id}`

## Request

- Base URL: `//basrvqaap6001.morningstar.com/WPDemo/webportfolio/api/v1` (relative, and the document’s source URL is not known)
- URL: `//basrvqaap6001.morningstar.com/WPDemo/webportfolio/api/v1/credentials/{id}`
- Auth: API key in header `Authorization`

## Path parameters

- `id` integer, required

## Query parameters

- `includeMaskedAccountNumbers` boolean

## Response `200`

Ok

- Credential: Credentials provided to BAA for authentication to a third party Financial Institution. The credential may be linked to an established 3rd party Financial Institution by providing the appropriate fiId, or the fiRequestName and fiRequestURL fields may be provided to request support for a new Financial Institution.
  - `id` integer, required: ID of the Account Credential
  - `profileId` integer, required: Financial profile ID of the credential owner
  - `name` string, required: Name of the Account Credential
  - `fiId` integer: ID of the Financial Institution. Either the fiId field or the fiRequestName field was must be provided (and not both).
  - `firequestName` string: The name of the requested FI. Either the fiId field or the fiRequestName field was must be provided (and not both)
  - `firequestURL` string: The URL of the requested FI. May only be provided when the fiRequestName is provided (and the fiId field is not provided).
  - `accountLogin` string: Account Login
  - `accountLogin2` string: Account Login 2
  - `accountPinPresent` boolean: Account Pin Present = true or false
  - `accountSecondPinPresent` boolean: Account Second Pin Present = true or false
  - `authType` string, required: Indicates whether Oauth authentication is supported at this Financial Institution
  - `oauthTokenId` string, required: Indicates whether Oauth authentication is supported at this Financial Institution
  - `isCredentialComplete` boolean, required: Credential complete = true or false
  - `lastAuthenticationAttempt` string, date-time: Date of the last authentication attempt
  - `authenticationStatusErrorCode` integer: Error code from the latest authentication attempt
  - `authenticationStatusInfoType` string: Type of status information from the latest authentication attempt
  - `authenticationStatusInfo` string: Status information from the latest authentication attempt (simplified)
  - `hasAccounts` boolean, required: Indicates whether this account credential has any associated accounts
  - `incompleteISAC` boolean, required: Indicates whether the ISAC process is complete
  - `creationDate` string, date-time, required: Credential creation date
  - `maskedAccountNumbers` string: Comma separated list of masked account numbers associated with the requested Financial Institution

## Other responses

- `400`: Bad Request
- `401`: Not Authorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-11-03** `475f167d1874`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/morningstar/apis/byallaccounts-api-07302024/changes/credentials/:id/get.md)

---

[API](https://skmtc.dev/morningstar/apis/byallaccounts-api-07302024.md) - [All operations](https://skmtc.dev/morningstar/apis/byallaccounts-api-07302024/llms.txt) - [OpenAPI document](https://skmtc.dev/morningstar/apis/byallaccounts-api-07302024/revisions/475f167d1874?raw)
