New! You can now access secrets from 1Password Environments on your device with a new local .env file destination.
cURL
curl --request GET \ --url http://localhost:8080/v1/vaults/{vaultUuid}/items/{itemUuid}/files/{fileUuid}/content \ --header 'Authorization: Bearer <token>'
200
Example
"<string>"
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The UUID of the Vault the item is in
The UUID of the Item the File is in
UUID of the file to get content from
Success
The response is of type file.
file
Was this page helpful?