List OAuth Identities
curl --request GET \
--url https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities \
--header 'Authorization: <authorization>'import requests
url = "https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"identities": [
{
"id": "<string>",
"provider": "<string>",
"providerAccountId": "<string>",
"email": {},
"name": {},
"avatar": {},
"isVerified": true,
"createdAt": "<string>"
}
]
}OAuth Endpoints
List OAuth Identities
List all OAuth identities linked to the current user
GET
/
:projectId
/
api
/
v7
/
oauth
/
identities
List OAuth Identities
curl --request GET \
--url https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities \
--header 'Authorization: <authorization>'import requests
url = "https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/api/v7/oauth/identities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"identities": [
{
"id": "<string>",
"provider": "<string>",
"providerAccountId": "<string>",
"email": {},
"name": {},
"avatar": {},
"isVerified": true,
"createdAt": "<string>"
}
]
}Returns all OAuth identities linked to the authenticated user’s account, ordered by creation date. Use this to display connected accounts on a settings page.
Requires a valid access token.
Headers
string
required
Bearer {accessToken} — a valid access token for the authenticated user.Response
OAuthIdentity[]
Array of linked identities, ordered oldest first.
Show properties
Show properties
string
Unique identity ID (UUID).
string
OAuth provider name (e.g.,
"google", "github", "external").string
The user’s account ID at the provider.
string | null
Email address returned by the provider.
string | null
Name returned by the provider.
string | null
Avatar URL returned by the provider.
boolean
Whether the provider marked the email as verified.
string
ISO timestamp of when the identity was linked.
See Also
⌘I

