Skip to content

List Linked Accounts

GET
/api/v1/auth/web/social/accounts

Get all social accounts linked to the authenticated user.

object
accounts
Array<object>
object
id
integer
1
provider
string
google
provider_email
string
john@gmail.com
name
string
John Doe
avatar
string
https://...
created_at
string
2024-01-01T00:00:00.000000Z
[
{
"id": 1,
"provider": "google",
"provider_email": "john@gmail.com",
"name": "John Doe",
"avatar": "https://...",
"created_at": "2024-01-01T00:00:00.000000Z"
}
]
{
"accounts": [
{
"id": 1,
"provider": "google",
"provider_email": "john@gmail.com",
"name": "John Doe",
"avatar": "https://...",
"created_at": "2024-01-01T00:00:00.000000Z"
}
]
}

Unauthenticated

object
message
string
Unauthenticated.
{
"message": "Unauthenticated."
}