Skip to content

One person your app reaches

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

One person your app reaches, connected to it or served through an application that declares yours, for an app that kept nothing of the exchange: their language and, under identity, their name and email, judged on your production for your API key, on its version for APIGAMI_KEY. Read it again when app_user.updated says change: { identity }. unreached is a word of its own, never a user_ref.

user_ref
required
string

The person.

Media typeapplication/json
object
user_ref
required
string
connected_at
required

When the person connected to your app; null for a person your app serves without being connected to it.

string | null format: date-time
locale
required

The language the person reads Apigami in, which they choose in their account: en, fr, es or de. Write to them in it.

string
Allowed values: en fr es de
identity
required

The person’s name and email, when the version judging declares identity and the person granted it to an application of your group that reaches yours through applications of your group only; or, your application declared optional by an application of another group, once the person authorized its own line there, reached through the two groups only, their email verified, read with your key or from your own page, never in a call from that application; null otherwise. Never in an event.

object
name
required

The name the person gave, null while they have none: never their email in its place.

string | null
email
required
string format: email
Example
{
"user_ref": "usr_3f9c1a0e7b2d4c58a61e9f0b2d7c4e13",
"connected_at": "2026-09-01T08:00:00.000Z",
"locale": "fr",
"identity": {
"name": "Ana López",
"email": "ana@contoso.com"
}
}

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 the person has yet to agree to terms it asks.

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": "client disabled"
}

A user_ref of another team, of a person your app does not reach, or of a disabled account.

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"
}