Get Photos preferences
GET
/api/v1/photos/preferences
const url = 'https://example.com/api/v1/photos/preferences';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/photos/preferences \ --header 'Authorization: Bearer <token>'Requires a signed-in User. It returns whether screenshots are saved in Photos or Documents. Route: /api/v1/photos/preferences. Inputs: . Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
object
screenshot_destination
required
string
Example
{ "screenshot_destination": "photos"}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}