List the current identity's linked accounts

List the provider accounts the current identity can sign in with, e.g. for an "connected accounts" section in your app's settings page. See signing in with a provider.

The API token needs the update-self permission for the identity's group, as for fetching the identity itself.

GET https://api.jsonpad.io/identities/self/providers

Example

cURL
1234curl https://api.jsonpad.io/identities/self/providers \ -H "x-api-token: <YOUR TOKEN>" \ -H "x-identity-group: players" \ -H "x-identity-token: <IDENTITY TOKEN>"

Parameters

No parameters

Request headers

  • required
    x-api-tokenstringYour API token.
  • required
    x-identity-tokenstringAn identity token.
  • required
    x-identity-groupstringAn identity group.

Request body

No request body

Response body

200 OK

One entry per linked account, oldest first. The email address and name are whatever the provider said at the last sign-in, and aren't necessarily the identity's own.

[
0: {
provider: "google"
email: "ada@example.com"
name: "Ada Lovelace"
avatarUrl: "https://lh3.googleusercontent.com/a/..."
createdAt: "2026-09-18T20:32:05.920Z"
lastLoginAt: "2026-09-18T20:32:05.920Z"
}
]

Response headers

No response headers

2026-09-17