Identity API
Reference for the 1 Identity operation in the Intuidy API.
Responses are JSON. A successful response is { "success": true, "data": …, "meta": … }, and each operation below documents its data. Errors use the error envelope described in Errors, pagination and limits.
| Operation | Method and path | Authorization |
|---|---|---|
| Who this credential acts as | GET /me | Any credential |
Who this credential acts as
GET /me
The person, company and organization the credential acts as, and the
credential itself: its kind, scopes, scope level and name (the OAuth
client's for a sign-in, the key's own and its prefix for a pasted
key). For a company key, or a connection bound to another person's
key, user is the key owner and credential.acts_as_person is
false. Any valid credential, no scope. Never returns key material.
Authorization: Works with any valid API key or OAuth access token. It returns only the caller's own identity.
Response 200 OK
data fields:
| Field | Type | Description |
|---|---|---|
user | object | — |
user.id | integer | — |
user.name | string | — |
user.first_name | string | — |
user.last_name | string | — |
user.email | string | — |
company | object | — |
company.id | integer | — |
company.name | string | — |
organization | object | — |
organization.id | integer | — |
organization.name | string | — |
organization.single_company | boolean | The one-company organization every company gets; hide organization chrome |
credential | object | — |
credential.kind | "oauth" or "key" | — |
credential.bound_to_key | boolean | — |
credential.acts_as_person | boolean | — |
credential.scopes | array of string | — |
credential.scope_level | string | — |
credential.client_name | string | — |
credential.key_name | string | — |
credential.key_prefix | string | — |
Errors 401. See Errors, pagination and limits.
Example request
curl -X GET "https://vantage.intuidy.com/api/v1/me" \
-H "Authorization: Bearer $INTUIDY_API_KEY"