TERMINAL 3 API
- Getting Started
- User
- User Credential
- Sub Client
- DID
SIGN IN WITH TERMINAL 3
- Getting Started
- Authorization
- User
- User Credential
NOTIFICATION
VERIFIABLE CREDENTIAL SDK
- Getting Started
- Issuer SDK
- Verifier SDK
User
Get Social Data
This API is used for retrieving the social data of a user.
GET
/
v1
/
user
/
{user_id}
/
social_data
cURL
Copy
curl --request GET \
--url https://staging.terminal3.io/v1/user/{user_id}/social_data \
--header 'x-api-token: <x-api-token>'
Copy
{
"steam": {
"steamid": "<string>",
"personaname": "<string>",
"profileurl": "<string>",
"avatar": "<string>",
"personastate": 123,
"timecreated": 123
},
"owned_games": {
"game_count": 0,
"games": [
{
"appid": "<string>",
"name": "<string>",
"playtime_2weeks": 0,
"playtime_forever": 0
}
]
},
"recent_played_games": {
"total_count": 0,
"games": [
{
"appid": "<string>",
"name": "<string>",
"playtime_2weeks": 0,
"playtime_forever": 0
}
]
},
"discord": {
"email_verified": true,
"guilds": [
{
"id": "<string>",
"name": "<string>",
"owner": true
}
]
},
"twitch": {
"username": "<string>",
"view_count": 0,
"follower_count": 0,
"followed_channels": {
"total": 0,
"broadcasters": [
{
"broadcaster_login": "<string>",
"broadcaster_name": "<string>",
"followed_at": "<string>"
}
]
}
}
}
Supported social connections:
- Steam
- Discord
- Twitch
- Twitter (X)
Path Parameters
Required range:
x > 0
Response
200
application/json
Success
The response is of type object
.
cURL
Copy
curl --request GET \
--url https://staging.terminal3.io/v1/user/{user_id}/social_data \
--header 'x-api-token: <x-api-token>'
Copy
{
"steam": {
"steamid": "<string>",
"personaname": "<string>",
"profileurl": "<string>",
"avatar": "<string>",
"personastate": 123,
"timecreated": 123
},
"owned_games": {
"game_count": 0,
"games": [
{
"appid": "<string>",
"name": "<string>",
"playtime_2weeks": 0,
"playtime_forever": 0
}
]
},
"recent_played_games": {
"total_count": 0,
"games": [
{
"appid": "<string>",
"name": "<string>",
"playtime_2weeks": 0,
"playtime_forever": 0
}
]
},
"discord": {
"email_verified": true,
"guilds": [
{
"id": "<string>",
"name": "<string>",
"owner": true
}
]
},
"twitch": {
"username": "<string>",
"view_count": 0,
"follower_count": 0,
"followed_channels": {
"total": 0,
"broadcasters": [
{
"broadcaster_login": "<string>",
"broadcaster_name": "<string>",
"followed_at": "<string>"
}
]
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.