curl --request POST \
--url https://api-next.ofauth.com/v2/access/vault/lists/:listId/media \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>' \
--data '
{
"mediaIds": [
1
]
}
'{
"id": 123,
"type": "custom",
"name": "<string>",
"hasMedia": true,
"canUpdate": true,
"canDelete": true,
"medias": [
{
"type": "photo",
"url": "<string>"
}
]
}Add media to vault list
Permission Required: vault:write
curl --request POST \
--url https://api-next.ofauth.com/v2/access/vault/lists/:listId/media \
--header 'Content-Type: application/json' \
--header 'apiKey: <api-key>' \
--header 'x-connection-id: <api-key>' \
--data '
{
"mediaIds": [
1
]
}
'{
"id": 123,
"type": "custom",
"name": "<string>",
"hasMedia": true,
"canUpdate": true,
"canDelete": true,
"medias": [
{
"type": "photo",
"url": "<string>"
}
]
}Requires a connection via the x-connection-id header.
Media IDs to add to the list
1 - 100 elementsOnlyFans media ID
x > 0Was this page helpful?