Skip to main content
GET
/
v2
/
access
/
vault
/
lists
List vault folders
curl --request GET \
  --url https://api-next.ofauth.com/v2/access/vault/lists \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <api-key>'
{
  "list": [
    {
      "id": 123,
      "type": "custom",
      "name": "<string>",
      "hasMedia": true,
      "canUpdate": true,
      "canDelete": true,
      "medias": [
        {
          "type": "photo",
          "url": "<string>"
        }
      ]
    }
  ],
  "all": {
    "videosCount": 123,
    "photosCount": 123,
    "gifsCount": 123,
    "audiosCount": 123,
    "medias": [
      {
        "type": "<unknown>"
      }
    ]
  },
  "hasMore": true,
  "canCreateVaultLists": true,
  "order": "<string>",
  "sort": "<string>"
}

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

x-connection-id
string
header
required

Requires a connection via the x-connection-id header.

Query Parameters

limit
integer
default:24

Number of items to return (1-40, default: 24)

Required range: 1 <= x <= 40
offset
integer | null
default:0

Number of items to skip (default: 0)

Required range: x >= 0
query
string

Search/filter text

Maximum string length: 100

Response

Successful response

list
object[]
required
all
object
required
hasMore
boolean
required
canCreateVaultLists
boolean
required
order
string
required
sort
string
required