accs v2

Get existing account.

Changed on

Retrieves the details of an existing account.

Supply the unique account ID and Openfort will return the corresponding account information.

get/v2/accounts/{id}

Request

  • Base URL: https://api.openfort.io
  • URL: https://api.openfort.io/v2/accounts/{id}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required

The account ID (starts with acc_).

Response

Successful response.

idstring required
walletstring required
accountTypestring required
addressstring required
ownerAddressstring
chainTypestring required
chainIdnumber double
createdAtnumber double required
updatedAtnumber double required
recoveryMethodstring
custody'Developer' | 'User' required

Indicates key custody: "Developer" for TEE managed keys, "User" for user-managed keys.

Example response

{
  "custody": "Developer"
}

Changes

    • info

      the endpoint scheme security auth_token was added to the API

    • info

      the endpoint scheme security better_auth was removed from the API

    • info

      the security scope accounts:read was added to the endpoint's security scheme sk

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status