Skip to main content

Get user details

GET 

/api/user

Returns details about the authenticated user

Request

Responses

Successful operation

Schema
    data object
    cid string

    VATSIM ID

    personal object

    Personal details

    name_first string

    First name

    name_last string

    Last name

    name_full string

    Full name

    email string

    Email address

    country object

    Country of residence

    id string

    Country code

    name string

    Country name

    vatsim object
    rating object

    Controller rating

    id integer

    Controller Rating ID

    short string

    Possible values: Value must match regular expression /[A-Z0-9]{2,4}/

    Short identifier

    long string

    Human-readable name

    pilotrating object

    Pilot rating

    id integer

    Pilot Rating ID

    short string

    Possible values: Value must match regular expression /[A-Z0-9]{2,4}/

    Short identifier

    long string

    Human-readable name

    region object

    Region

    id string

    Region ID

    name string

    Region name

    division object

    Division

    id string

    Division ID

    name string

    Division name

    subdivision object

    Subdivision

    id string

    Subdivision ID

    name string

    Subdivision name

    oauth object
    token_valid string

    Possible values: [true, false]

    Whether the access token is valid

Loading...