List Connected Accounts
GET
/api/v1/system/integrations/accounts
const url = 'https://example.com/api/v1/system/integrations/accounts';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/system/integrations/accounts \ --header 'Authorization: Bearer <token>'Return the caller’s Connected Accounts with the provider, email, and enabled services. The server never returns saved credentials. A signed-in User with data scope is required. Requests can return 401 if the session is missing or 403 if the User lacks data scope. Route: /api/v1/system/integrations/accounts. Inputs: . Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
Array<object>
Public account metadata that never includes its saved credential (#407, DESIGN §49).
object
calendar_enabled
required
boolean
calendar_supported
required
boolean
created_ms
required
integer format: int64
email
required
string
id
required
string
mail_enabled
required
boolean
provider
required
Providers supported by the shared account setup flow (#407, DESIGN §49).
string
Example
[ { "provider": "icloud" }]Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}