Skip to content

The browsers of a connected user

OpenAPI JSON
GET
/v1/users/{user_ref}/installs
curl --request GET \
--url https://api.eu.apigami.com/v1/users/example/installs \
--header 'Authorization: Bearer <token>'

Every browser attached to the user that your app can reach, by the references your team sees, in one answer. For an optional sub-app, a user who accepted it is known too, with the browsers the applications they accepted it under can reach. A user_ref of another team, or of a user not connected to this app, answers the same 404. Your API key works here, and so does the production version’s APIGAMI_KEY in code Apigami hosts.

user_ref
required
string

The user’s browsers, most recently seen first. next is always null: one person’s browsers fit one answer.

Media typeapplication/json
object
installs
required
Array<object>
object
user_ref

The person this browser is attached to.

string
install_ref
string
label

The name the user gave that browser.

string | null
flavor
string
Allowed values: standard devtools
online

Holds a live connection right now.

boolean
presence

The status extension.online and extension.offline announce, which ignores brief interruptions.

string
Allowed values: online offline
presence_changed_at
string format: date-time
last_seen_at
string format: date-time
granted_domains

Among the sites this browser lets Apigami access, those the user approved for your app. Null for an older install that does not report them.

Array<string> | null
connected_at

When the person connected to your app.

string format: date-time
next
required
null
Example
{
"installs": [
{
"user_ref": "usr_3f9c1a0e7b2d4c58a61e9f0b2d7c4e13",
"install_ref": "ins_8b1e4f2a9c3d4e5f8a7b6c5d4e3f2a1b",
"label": "Work laptop",
"flavor": "standard",
"online": true,
"presence": "online",
"presence_changed_at": "2026-09-27T08:02:11.000Z",
"last_seen_at": "2026-09-27T09:41:05.000Z",
"granted_domains": [
"example.com"
],
"connected_at": "2026-09-01T08:00:00.000Z"
}
],
"next": null
}

Missing, malformed or revoked API key, or the key of a version that is not in production.

Media typeapplication/json
object
error
required
string
consentPending

Present and true when the approval window is open and the user has not answered within 45 s.

boolean
permission

On consent requested and no grant from emails.send or ai.generate: the permission the user never decided, or refused. Absent for a site.

string
Allowed values: emails ai
settings_url

On no grant: the page of the user’s Apigami space where they allow it again; send them there.

string format: uri
terms

On consent requested, in place of permission: the bare app_id of each application whose terms or subprocessors the user has yet to agree to, unlike the boxes of GET /apps/{app_id}. Only the connect page asks it: send them to connect_url, or to one of your pages.

Array<string>
connect_url

With terms, when the user agrees under your application: your install link, where they tick the boxes still to tick.

string format: uri
Example
{
"error": "bad client credentials"
}

Your app is disabled, or no longer reaches this user: the account was disabled, or the user left the team of your private app.

Media typeapplication/json
object
error
required
string
consentPending

Present and true when the approval window is open and the user has not answered within 45 s.

boolean
permission

On consent requested and no grant from emails.send or ai.generate: the permission the user never decided, or refused. Absent for a site.

string
Allowed values: emails ai
settings_url

On no grant: the page of the user’s Apigami space where they allow it again; send them there.

string format: uri
terms

On consent requested, in place of permission: the bare app_id of each application whose terms or subprocessors the user has yet to agree to, unlike the boxes of GET /apps/{app_id}. Only the connect page asks it: send them to connect_url, or to one of your pages.

Array<string>
connect_url

With terms, when the user agrees under your application: your install link, where they tick the boxes still to tick.

string format: uri
Examples
{
"error": "client disabled"
}

Not a user connected to this app.

Media typeapplication/json
object
error
required
string
consentPending

Present and true when the approval window is open and the user has not answered within 45 s.

boolean
permission

On consent requested and no grant from emails.send or ai.generate: the permission the user never decided, or refused. Absent for a site.

string
Allowed values: emails ai
settings_url

On no grant: the page of the user’s Apigami space where they allow it again; send them there.

string format: uri
terms

On consent requested, in place of permission: the bare app_id of each application whose terms or subprocessors the user has yet to agree to, unlike the boxes of GET /apps/{app_id}. Only the connect page asks it: send them to connect_url, or to one of your pages.

Array<string>
connect_url

With terms, when the user agrees under your application: your install link, where they tick the boxes still to tick.

string format: uri
Example
{
"error": "unknown user_ref"
}