Additionally, paste this code immediately after the opening tag:

List Vaults

This endpoint allows users to retrieve information about their vaults and provides details about each vault's ID, name, backup status, and type (whether it's a test or main vault).

key.singleItemTitle GET /vaults

Query Paramaters

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Optional
    limit integer

    Defines how many items should be returned in the response per page basis.

    Default : 50
    Example : 50
  • Optional
    startingAfter string

    Defines the id of the previous listed record id from which the current list should start from.

    Example : 5ca21f92cf5431000105d1a7

Response Schema

200 400 401 402 403 409 415 422 429 500
Http Status Code: 200
Content Type: application/json

The request has been successful.

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2024-05-09
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Vaultody and it's unique for every request.

    Example : 601c1710034ed6d407996b30
  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      limit integer

      Defines how many items should be returned in the response per page basis.

      Example : 50
    • Optional
      startingAfter string

      Defines the id of the previous listed record id from which the current list should start from.

      Example : 5ca21f92cf5431000105d1a7
    • Required
      hasMore boolean

      Defines whether or not there are more elements available after this set.

      Example : true
    • Required
      items array
      Example : Array ( )
      • Required
        backuped boolean

        Represents whether the Vault is backuped.

        Example : true
      • Required
        changeAddressesCount integer

        The number of change addresses associated with the Vault.

        Example : 3
      • Required
        color string

        Represents the color of the Vault.

        Example : #2684FF
      • Required
        createdTimestamp integer

        Defines the specific UNIX time when the Vault was created.

        Example : 1704881727
      • Required
        depositAddressesCount integer

        The number of deposit addresses associated with the Vault.

        Example : 1
      • Required
        id string

        Defines the unique ID of the Vault.

        Example : 64d0d39df6762400071440c3
      • Required
        name string

        Defines the name of the Vault.

        Example : Vault name
      • Required
        type string

        Represents the type of the Vault - main/test.

        Example : test
        Possible Values : main test

Request Example

GET
https://rest.vaultody.com/vaults?context=yourExampleString&limit=50&startingAfter=5ca21f92cf5431000105d1a7
Headers
Content-Type: application/json
x-api-key: cb233681a8ee35665296c1824c1f67bc46691788
x-api-sign: PSqeqRLap8rBc/wogNU1DeGGUPb2VyVtg6GiBOaBnYQ=
x-api-timestamp: 1681885776
x-api-passphrase: zYgKeueoOq

Response Example

{
    "apiVersion": "2024-05-09",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "limit": 50,
        "startingAfter": "5ca21f92cf5431000105d1a7",
        "hasMore": true,
        "items": [
            {
                "backuped": true,
                "changeAddressesCount": 3,
                "color": "#2684FF",
                "createdTimestamp": 1704881727,
                "depositAddressesCount": 1,
                "id": "64d0d39df6762400071440c3",
                "name": "Vault name",
                "type": "test"
            }
        ]
    }
}