Accounts

In Cerby, accounts are digital records that contain user login information for a particular app or service provider. An account object contains information about the account label, the app to which the account belongs, the password, the dates when the account was created and last updated, and the user who created and last updated the account. Additionally, an account_secret object contains information about the account’s password.

The account and account_secret objects are created in Cerby when you perform any of the following actions:

  • Add an account manually through the Cerby web app or mobile app.

  • Autosave an account at login or signup through the Cerby browser extension

  • Import items from your password manager.

With the Cerby API, you can retrieve all accounts or specific accounts by providing its ID. To learn more about accounts, refer to the Accountsarrow-up-right article collection on the Cerby Help Center.

Important: You can only retrieve accounts to which you have the Owner role. Your permissions are determined by your API key based on Cerby’s RBAC system.

Retrieve the list of all accounts

get

With a GET request to the /accounts endpoint, you can retrieve the list of all your accounts in Cerby.

Important: The API scope required to use this endpoint is Read accounts.

Query parameters
page[number]integer · min: 1Optional

The page number to retrieve in a paginated list.

Default: 1
page[size]integer · min: 1 · max: 100Optional

The number of items to display per page.

Default: 25
filter[application]string[]Optional

A comma-separated list of applications.

Responses
chevron-right
200

OK — The JSON array with the account objects requested on the specified page.

application/json
get
/accounts

Retrieve an account by ID

get

With a GET request to the /accounts/{id} endpoint, you can retrieve the information of an account by providing its ID.

Important: The API scope required to use this endpoint is Read accounts.

Path parameters
idstringRequired

The unique identifier of the account.

Responses
chevron-right
200

OK — The requested account JSON object.

application/json
get
/accounts/{id}

Retrieve an account’s password

get

With a GET request to the /accounts/{id}/secrets endpoint, you can retrieve the password of an account by providing the account ID.

Important:

  • The API scope required to use this endpoint is Read accounts.

  • This endpoint retrieves the password for accounts stored in an AWS KMS vault only.

Path parameters
idstringRequired

The unique identifier of the account.

Query parameters
filter[secretType]stringRequired

The type of secret you want to retrieve from the account. The secret type value is always password.

page[number]integer · min: 1Optional

The page number to retrieve in a paginated list.

Default: 1
page[size]integer · min: 1 · max: 100Optional

The number of items to display per page.

Default: 20
Responses
chevron-right
200

OK — The requested account secret JSON object.

application/json
get
/accounts/{id}/secrets

Last updated