Ranking

This endpoint is used for promoting and demoting users.

POST/ranking/promote

Promote

Promotes the specified user.

Required attributes

  • Name
    token
    Type
    string
    Description

    The token of the key, found on our dashboard.

  • Name
    userId
    Type
    integer
    Description

    The ID of the Roblox user being promoted.

  • Name
    modId
    Type
    integer
    Description

    The ID of the Roblox user who initiated this request.

  • Name
    scaleCode
    Type
    string
    Description

    The shortcode of the scale to promote the user to (only required if on minimum rank).

Response

  • Name
    success
    Type
    boolean
    Description

    Whether the request was successful.

  • Name
    oldRank
    Type
    string?
    Description

    The old rank of the user.

  • Name
    newRank
    Type
    string?
    Description

    The new rank of the user.

Request

POST
/ranking/promote
curl -G https://papi.easypos.lol/ranking/promote \
  -H "Content-Type: application/json" \
  -d token="..." \
  -d userId=123 \
  -d modId=123 \
  -d scaleCode="SC"

Response

{
  "success" (boolean),
  "oldRank" (string?),
  "newRank" (string?)
}



POST/ranking/demote

Demote

Demotes the specified user.

Required attributes

  • Name
    token
    Type
    string
    Description

    The token of the key, found on our dashboard.

  • Name
    userId
    Type
    integer
    Description

    The ID of the Roblox user being demoted.

  • Name
    modId
    Type
    integer
    Description

    The ID of the Roblox user who initiated this request.

Response

  • Name
    success
    Type
    boolean
    Description

    Whether the request was successful.

  • Name
    oldRank
    Type
    string?
    Description

    The old rank of the user.

  • Name
    newRank
    Type
    string?
    Description

    The new rank of the user.

Request

POST
/ranking/demote
curl -G https://papi.easypos.lol/ranking/demote \
  -H "Content-Type: application/json" \
  -d token="..." \
  -d userId=123 \
  -d modId=123

Response

{
  "success" (boolean),
  "oldRank" (string?),
  "newRank" (string?)
}