Skip to main content
GET
/
v2
/
vault
/
list
List cached media for a connection
curl --request GET \
  --url https://api-next.ofauth.com/v2/vault/list \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <x-connection-id>'
{
  "items": [
    {
      "id": "<string>",
      "type": "image",
      "duration": 123,
      "media": {}
    }
  ],
  "nextCursor": "<string>"
}

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

Headers

x-connection-id
string
required
Minimum string length: 1

Query Parameters

status
enum<string>
Available options:
edge_only,
pending,
caching,
cached,
purged
source
enum<string>
Available options:
vault,
messages,
posts,
stories
contentType
string
limit
number | null
cursor
string

Response

List of media items

items
object[]
required
nextCursor
string