In this guide

Get Authenticated User

The profile the token belongs to.

Action referenceRead

What this action does #

First, connect GitHub in Services. Then open Actions → + → GitHub and choose Get Authenticated User.

More about this action

The cheapest way to prove a token works. It answers for any fine-grained token, even one with no repository selected, which is exactly why a 200 here does not promise that anything else in this list will work.

Inputs to fill in #

This action has no input fields. You can name and save it after choosing the action.

What comes back #

In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.

Returned fieldTypeMeaning
loginstringThe account's username.
idintegerWhole-number value.
namestringDisplay name. Null if unset.
emailstringOnly the public address, if one is set.
companystringText value.
locationstringText value.
biostringText value.
html_urlstringThe profile page.
avatar_urlstringText value.
public_reposintegerWhole-number value.
followersintegerWhole-number value.
followingintegerWhole-number value.
created_atstringISO 8601.

Run it from Shortcuts #

  1. Give the action a recognizable name and tap Save.
  2. In Apple Shortcuts, add Shortcutify’s Execute Action and select the saved action.
  3. Supply any Param or File slots you bound in the inputs, then run the shortcut.

If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.

Advanced reference #

Request, permissions, and identifiers

Request: GET https://api.github.com/user

Action identifier: github.user.get.v1

No additional per-action permissions are declared in the app’s catalog. The integration’s connection and account access rules still apply.

GitHub API reference