younifyd
Menu

Get User

Get user

GET/v1/users/{userId}

Use it in a workflow

  1. Add a step and choose the Talon.One connector.
  2. Pick the Get User action (under management).
  3. Fill in the fields below, then reference the result from later steps as {{getUser.response.data}}.

Request

Path parameters

userIdinteger (int64)required

The ID of the user.

Response

Returns 200 with an object. Read it in later steps with {{getUser.response.data.<field>}}.

idinteger (int64)

The internal ID of this entity.

createdstring (date-time)

The time this entity was created.

modifiedstring (date-time)

The time this entity was last modified.

emailstring (email)

The email address associated with the user profile.

accountIdinteger (int64)

The ID of the account that owns this entity.

namestring

Name of the user.

statestring

State of the user.

One ofinvitedactivedeactivated

inviteTokenstring

Invitation token of the user. **Note**: If the user has already accepted their invitation, this is `null`.

isAdminboolean

Indicates whether the user is an `admin`.

policyobject

Access level of the user.

rolesarray<integer (int64)>

A list of the IDs of the roles assigned to the user.

authMethodstring

Authentication method for this user.

applicationNotificationSubscriptionsobject

Application notifications that the user is subscribed to.

lastSignedInstring (date-time)

Timestamp when the user last signed in to Talon.One.

lastAccessedstring (date-time)

Timestamp of the user's last activity after signing in to Talon.One.

latestFeedTimestampstring (date-time)

Timestamp when the user was notified for feed.

additionalAttributesobject

Additional user attributes, created and used by external identity providers.

json
{
  "id": 6,
  "created": {},
  "modified": {},
  "email": "john.doe@example.com",
  "accountId": 3886,
  "name": "John Doe",
  "state": "invited",
  "inviteToken": "Gy9b8w1irmQtEPo5RmbMmSPheL5h4",
  "policy": {
    "Role": 127
  },
  "isAdmin": false,
  "roles": [
    71
  ],
  "authMethod": "basic_auth"
}

Need more? See the Talon.One guide for connection setup and behaviour shared by every action.

Was this page helpful?