AltDentifier API
  • AltDentifier
  • API Terms of Service
  • API
    • HTTP API
    • OAuth2 API
    • Webhooks
    • Public Clients
Powered by GitBook
On this page
  • Get User Trust Factor
  • Get Logged In User
  1. API

HTTP API

On this page you will find AltDentifier's HTTP API

AltDentifier API requires all connections to be made over HTTP/2 or newer. Libraries that only support HTTP/1.1 will fail to connect.

Get User Trust Factor

GET https://altdentifier.com/api/v2/user/:id/trustfactor

This endpoint allows you to see the Trust Factor of a Discord user!

Path Parameters

Name
Type
Description

id

string

The ID of the user you want to look up

{
    "id": "66166172835385344",
    "name": "Auxim#0001",
    "username": "Auxim",
    "discriminator": 0001,
    "avatar": "a_597ce0b9020bebc69d92613a240ff7f3",
    "avatar_url": "https://cdn.discordapp.com/avatars/66166172835385344/a_597ce0b9020bebc69d92613a240ff7f3.gif?size=1024",
    "ksoft_ban": null,
    "trustfactor": 3,
    "formatted_trustfactor": "Very Trusted"
}

Get Logged In User

GET https://altdentifier.com/api/users/@me

Get information about the logged in user

Headers

Name
Type
Description

Authorization

string

Bearer <token>

{
 "avatar": "a_597ce0b9020bebc69d92613a240ff7f3",
 "avatar_url": "https://cdn.discordapp.com/avatars/66166172835385344/a_597ce0b9020bebc69d92613a240ff7f3.gif?size=1024",
 "discriminator": "0001", "formatted_trust_factor": "Very Trusted",
 "id": "66166172835385344", "ksoft_ban": None, "trust_factor": 3,
 "username": "Auxim" 
 }
{"error": "No token provided"}
{"error": "You need read:user to access this resource"}
PreviousAPI Terms of ServiceNextOAuth2 API

Last updated 3 years ago