Get Specific User's Presence
    • Dark
      Light
    • PDF

    Get Specific User's Presence

    • Dark
      Light
    • PDF

    Article summary

    Get
    /api/v1/users.getPresence

    Changelog

    VersionDescription
    0.49.0Updated to support userId or username
    0.48.0Renamed to users.getPresence
    0.35.0Added
    Header parameters
    X-User-Id
    stringRequired

    The authenticated user ID.

    ExamplerbAXPnMktTFbNpwtJ
    X-Auth-Token
    stringRequired

    The authenticated user token.

    ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
    Query parameters
    userId
    string

    The user ID. Alternatively, you can enter the username parameter. If not provided, the user who sending the request is retrieved.

    ExampleBsNr28znDkG8aeo7W
    Responses
    200
    Success Example
    {
      "presence": "offline",
      "success": true
    }
    object
    presence
    string
    success
    boolean
    401

    Unauthorized

    Authorization Error
    {
      "status": "error",
      "message": "You must be logged in to do this."
    }
    object
    status
    string
    message
    string

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.