cURL
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
vault:write
Your OFAuth API key for authenticating requests.
Requires a connection via the x-connection-id header.
Media IDs to add to the list
1 - 100
OnlyFans media ID
x > 0
Successful response
custom
messages
posts
stories
streams
media_stickers
Show child attributes
Was this page helpful?