Skip to main content
POST
/
v2
/
access
/
vault
/
lists
Create vault list
curl --request POST \
  --url https://api-next.ofauth.com/v2/access/vault/lists \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": 123,
  "type": "custom",
  "name": "<string>",
  "hasMedia": true,
  "canUpdate": true,
  "canDelete": true,
  "medias": [
    {
      "type": "photo",
      "url": "<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.

Body

application/json
name
string
required

Response

Successful response

id
number
required
type
enum<string>
required
Available options:
custom,
messages,
posts,
stories,
streams,
media_stickers
name
string
required
hasMedia
boolean
required
canUpdate
boolean
required
canDelete
boolean
required
medias
object[]
required