In this guide
Get Authenticated User
The profile the token belongs to.
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 field | Type | Meaning |
|---|---|---|
login | string | The account's username. |
id | integer | Whole-number value. |
name | string | Display name. Null if unset. |
email | string | Only the public address, if one is set. |
company | string | Text value. |
location | string | Text value. |
bio | string | Text value. |
html_url | string | The profile page. |
avatar_url | string | Text value. |
public_repos | integer | Whole-number value. |
followers | integer | Whole-number value. |
following | integer | Whole-number value. |
created_at | string | ISO 8601. |
Run it from Shortcuts #
- Give the action a recognizable name and tap Save.
- In Apple Shortcuts, add Shortcutify’s Execute Action and select the saved action.
- 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.